Process Explorer
Cheat sheet · https://pcornel.dk/topic.php?topic=3012
Answer
Process Explorer is a Sysinternals process-inspection tool that goes beyond basic Task Manager views. It can show process trees, owning accounts, open handles and loaded DLLs/memory-mapped files and can search for processes holding particular handles or modules.
Remember
- Process Explorer is an inspection/control tool, not a packet capture or complete event recorder.
- Handle mode and DLL mode answer different questions.
- The process tree is provenance context, not automatic trust.
- Closing handles or terminating processes from the tool is state-changing and potentially disruptive.
- Symbols/signature/context can improve interpretation but do not replace application evidence.
First checks
Get-Process | Sort CPU -Desc | Select -First 10 Name,Id,CPU,WS— top processesGet-CimInstance Win32_Process -Filter "ProcessId=<pid>" | Select Name,ParentProcessId,CommandLine— command line and parenttasklist /v— processes with user and statustaskkill /PID <pid> /T— stop a process tree
Verify in this order
Process Explorer queries the kernel → shows tree, handles, DLLs, threads
Where it usually breaks
First mismatch in definition/configuration → security context → service/task/process creation → runtime state → output/side effect → event/performance evidence; preserve identity/native error/pre-state before mutation.
Processes → Process Explorer reference map
| Item | Meaning | Evidence boundary |
|---|---|---|
| Process tree | Runtime ancestry view | creation/provenance context |
| Handle view | Open object references | who currently references an object |
| DLL view | Loaded DLLs/mapped files | module presence, not execution correctness |
| Search | Handle/DLL lookup | fast ownership discovery |
| Security/runtime data | Process properties | identity/integrity/context for selected PID |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3012