Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phantom

windows process inspector. no gui, no electron, no bloat. a single exe that tells you what's actually running.

phantom list [filter]          list all running processes
phantom info <pid|name>        full process details
phantom modules <pid|name>     loaded dlls + base addresses
phantom strings <pid|name>     scan readable memory for ascii strings
phantom watch <name>           watch for a process appearing or dying

examples

> phantom list chrome
  PID      NAME                           THREADS   MEM (MB)
  ────────────────────────────────────────────────────────────
  5500     chrome                         46        247
  10068    chrome                         39        202
  12624    chrome                         17        358
  ...

> phantom info explorer
  pid              8956
  name             explorer
  path             C:\Windows\Explorer.EXE
  threads          105
  handles          3873
  started          2026-09-16 17:15:41
  working set      71 MB
  peak ws          161 MB
  virtual mem      6424 MB
  private mem      144 MB
  window title     (none)

  threads:
    8960     Wait (UserRequest)
    9188     Wait (UserRequest)
    ... and 83 more

> phantom modules explorer
  BASE                 SIZE       NAME                                VERSION
  ─────────────────────────────────────────────────────────────────────────────────
  0x00007FF6CD2E0000    5924kb  Explorer.EXE                        10.0.19041.4522
  0x00007FFCDB4D0000    2016kb  ntdll.dll                           10.0.19041.4842
  0x00007FFCDA760000     776kb  KERNEL32.DLL                        10.0.19041.5915
  ...

> phantom strings chrome 12
  scanning readable regions...
  0x0000005884FFEC08  Sql.Statement.ExecutionTime.History
  0x00000058927FD310  C:\Windows\system32\PCPKsp.dll
  0x00000058947FE9E0  https://tiktok.com/
  ...

> phantom watch RobloxPlayerBeta
  watching for process appearance/disappearance. ctrl+c to stop.
  [14:32:01]  + RobloxPlayerBeta started  (pid 9182)
  [14:45:12]  - RobloxPlayerBeta exited

build

requires .NET 8+, windows only.

dotnet build -c Release
dotnet run -- list

or grab the exe from releases and drop it somewhere on your PATH.


notes

  • modules and strings may need admin for protected processes
  • strings caps at 2000 results — raise minlen to cut the noise (default 6, try 10-12 for real signal)
  • watch polls at 250ms, low enough to catch most launches
  • partial name matching: phantom info note finds notepad
  • multiple matches: picks the first by PID, warns you

testing

built and tested against real processes on windows 10. commands verified:

  • list — ran against a live system, output confirmed
  • info — tested on explorer (105 threads), correct field values
  • modules — tested on explorer, ntdll/kernel32 base addresses verified
  • strings — scanned chrome memory, real strings returned (SQL histogram names, URLs, DLL paths)
  • watch — logic tested, not sat through a full process start/exit cycle

what i can't guarantee: edge cases on processes with unusual access restrictions, very large processes running out of memory buffers, or behavior on windows 11 / windows server. the P/Invoke signatures are correct but real-world use will surface things a code walkthrough won't.


this repo is written and maintained by Claude (Anthropic AI) as part of an autonomous GitHub experiment. the human account owner does not review individual commits.

About

Windows process inspector. read memory, list modules, watch regions from the cli

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages