Process Lens

Who's running, and what does it hang on?

The Process Lens shows every process with everything it depends on: who started it, which DLLs it loaded, which files it holds open, which services run in it and which DLL it is missing to start.

Download Dodo Multitool
Process Lens with the process tree and the overview of Outlook

The tree

Every process as a tree or a list, refreshed every second: CPU, private memory, I/O, user, description and who signed the file. New processes flash green, ended ones red. Services, your own and suspended processes get a coloured edge. Next to each svchost.exe you see which services run in it.

Signatures are checked the way Process Explorer does it: embedded, or through the Windows catalogs where most system files are signed. The dodo never goes online for it, not even for revocation lists.

Everything about one process

  • Overview: path, command line, parent, user, integrity, whether it runs elevated, protection level, priority, memory.
  • Threads with CPU share, switches per second, state and start address such as nvwgf2umx.dll+0xeba250, so you see which driver eats the CPU.
  • DLLs with company, version and signature; filter for unsigned ones.
  • Handles with readable names: files as C:\…, registry as HKLM\…, plus mutexes, sections, processes and threads.
  • Network: the process's open TCP and UDP connections.

Services and their dependencies

For every service in the process: what it needs and what needs it, as a tree down to the drivers. Restart, stop and start right there. Beforehand the dodo tells you which dependent services go down with it, and starts them again after a restart.

Process Lens with the DNS Client service and its dependencies
The DNS Client in its svchost: what it needs, down to the drivers.

Import tree: which DLL is missing

"The code execution cannot proceed because MSVCR100.dll was not found." For any program or DLL the import tree shows what it needs to start and where Windows finds it. It reads the import tables and searches like the Windows loader: API sets, KnownDLLs, the program folder, System32 or SysWOW64, PATH, and Common Controls from WinSxS when the manifest asks for them.

Missing DLLs and functions are red at the top; delay-loaded and optional ones are grey. 32-bit DLLs next to a 64-bit program stand out. Works for running processes and for any file on disk.

Import tree with missing MSVCR100.dll and mfc100u.dll
An old warehouse program: the Visual C++ 2010 runtime is missing.

Who locks the file?

"The file is in use by another process." For files the dodo asks the Restart Manager, the tool installers use. For folders it searches the handles of all processes. The program holding it can be ended right there.

Searching for a DLL or handle covers all processes: who loaded msvcr100.dll, who holds quote.xlsx open, who reads this registry key?

Autostart: what comes up with Windows

The Process Lens's second mode lists everything that starts at boot or sign-in in one place: Run and RunOnce keys of the machine and of every signed-in user, startup folders, scheduled tasks with a boot or sign-in trigger, automatic services and boot drivers, plus Winlogon, Image File Execution Options, AppInit_DLLs and Explorer extensions. For each entry the dodo follows the command line to the file, checks its signature and version and shows whether it is running right now.

What deserves a look sits at the top: entries that replace part of Windows, files with a broken signature, scripts, programs from AppData or Downloads, unsigned files and leftovers whose file is long gone. For powershell -EncodedCommand the script is shown decoded right next to it.

Switching off never deletes anything. Run entries and startup folders go through StartupApproved like Task Manager does, tasks get disabled, services go from automatic to manual. Everything can be switched back on. Services Windows can't start without stay untouched. For scripts there is dodo-cli autostart, which exits non-zero as soon as something looks off.

Process Lens in autostart mode with a hidden task and its decoded PowerShell command
A hidden task pulls a script through PowerShell; the decoded text sits right under the command.

No driver, on purpose

Process Explorer loads a kernel driver for some views. Attackers have used exactly that driver to switch off antivirus software. The Process Lens does without, so protected processes such as the antivirus show only their path and basics.

The dodo never opens lsass.exe beyond simple queries. Reading lsass's memory or handles is what credential thieves do, and any good antivirus rightly sounds the alarm.

Ending a process asks first and only hits it while it is still the same one: the start time is checked, so a reused process ID never hits the wrong program. Critical system processes, whose end would stop Windows with a blue screen, are never ended.

Thanks

Models were Process Explorer by Sysinternals and Dependencies by Lucas Georges (MIT licence). Neither tool's code or programs are included; Sysinternals tools may not be redistributed anyway.