Pcornel
Windows · Processes

Process Explorer

Cheat sheet · https://pcornel.dk/topic.php?topic=3012

Back to the Topic

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 processes
  • Get-CimInstance Win32_Process -Filter "ProcessId=<pid>" | Select Name,ParentProcessId,CommandLine — command line and parent
  • tasklist /v — processes with user and status
  • taskkill /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

ItemMeaningEvidence boundary
Process treeRuntime ancestry viewcreation/provenance context
Handle viewOpen object referenceswho currently references an object
DLL viewLoaded DLLs/mapped filesmodule presence, not execution correctness
SearchHandle/DLL lookupfast ownership discovery
Security/runtime dataProcess propertiesidentity/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

Confirmation

Confirm action

Continue?