How arj141/process-hider works
Process Hider is a Windows executable with two runtime modes: external launch locates Task Manager and injects a manually mapped image; execution inside Task Manager installs a system-information hook that filters process entries. The graph also captures the custom no-CRT support layer. The branch and injection relationships are supported by the entry-point and external excerpts; the README documents the filtering behavior. Several implementation details are unsampled, so their internal connections are not expanded.
Main entry points: external.cpp External injector · entry_point.cpp Mode entry · internal.cpp Process filtering · handler.cpp Heap management
Components 19
Runtime Modes
- Mode entry
Process-Hider/entry_point.cpp
External Mapping
- External injector
Process-Hider/process_hider/external/external.cpp - Task Manager
- Process discovery
Process-Hider/process_hider/external/external.cpp - PE image mapping
Process-Hider/process_hider/external/external.cpp - Loader parameters
Process-Hider/process_hider/external/external.cpp - Remote execution
Process-Hider/process_hider/external/external.cpp
Process Filtering
- Hook lifecycle
Process-Hider/process_hider/internal/internal.cpp - Trampoline patching
Process-Hider/process_hider/internal/internal.cpp - Process filtering
Process-Hider/process_hider/internal/internal.cpp
Custom SDK
- Windows API wrappers
Process-Hider/sdk/source/windows.cpp - Heap management
Process-Hider/sdk/source/handler.cpp - Memory primitives
Process-Hider/sdk/source/memory.cpp - String utilities
Process-Hider/sdk/source/string.cpp - Wide strings
Process-Hider/sdk/source/wstring.cpp - SDK types
Process-Hider/sdk/sdk.hpp - Literal obfuscation
Process-Hider/sdk/util/xorstr.hpp
Other components
- Program launch
- Windows native APIs
Connections 24
- Program launch → Mode entry: starts
Process-Hider/entry_point.cpp - Mode entry → External injector: runs external mode
Process-Hider/entry_point.cpp - Mode entry → Hook lifecycle: runs internal mode
Process-Hider/entry_point.cpp - External injector → Process discovery: finds target
Process-Hider/process_hider/external/external.cpp - Process discovery → Task Manager: locates process
Process-Hider/process_hider/external/external.cpp - External injector → PE image mapping: maps image
Process-Hider/process_hider/external/external.cpp - External injector → Loader parameters: prepares parameters
Process-Hider/process_hider/external/external.cpp - External injector → Remote execution: starts remote thread
Process-Hider/process_hider/external/external.cpp - Remote execution → Task Manager: executes in
Process-Hider/process_hider/external/external.cpp - Mode entry → Loader parameters: passes loader
README.md - Hook lifecycle → Trampoline patching: installs or restores
Process-Hider/process_hider/internal/internal.cpp - Trampoline patching → Windows native APIs: patches native query
README.md - Windows native APIs → Process filtering: invokes callback
Process-Hider/process_hider/internal/internal.cpp - Process filtering → Windows native APIs: calls original trampoline
Process-Hider/process_hider/internal/internal.cpp - Process filtering → Loader parameters: reads hidden names
Process-Hider/process_hider/internal/internal.cpp - External injector → Windows API wrappers: uses API wrappers
Process-Hider/process_hider/external/external.cpp - Hook lifecycle → Windows API wrappers: uses API wrappers
Process-Hider/process_hider/internal/internal.cpp - Windows API wrappers → Windows native APIs: resolves native APIs
Process-Hider/sdk/source/windows.cpp - Heap management → Windows API wrappers: resolves heap routines
Process-Hider/sdk/source/handler.cpp - Heap management → Memory primitives: clears fallback
Process-Hider/sdk/source/handler.cpp - String utilities → Heap management: allocates buffers
Process-Hider/sdk/source/string.cpp - Wide strings → Heap management: allocates buffers
- Process filtering → Wide strings: matches names
Process-Hider/process_hider/internal/internal.cpp - SDK types → Literal obfuscation: includes utility
Process-Hider/sdk/sdk.hpp