Skip to content

System Diagnostics PE and 48 Tool Matrix

Andrew Paolucci edited this page Nov 26, 2026 · 2 revisions

System Diagnostics, PE & 48-Tool Matrix

sys2rust ships 48 read-only diagnostic tools (proc 13, hw 10, shell 19, pe 6) plus 22 policy-gated mutating ActionCommands.


1. Processes, Threads, Handles & ETW (sys2rust proc — 13 Tools)

Subcommand / MCP ID Description
proc threads (proc_threads) Running threads, start addresses, priorities, states, and wait reasons
proc dlls (proc_dlls) Loaded DLL modules across processes with version metadata
proc handles (proc_handles) Open kernel handles per process with synchronous pipe deadlock guard
proc open-files (proc_open_files) Open file handles across processes with FILE_TYPE_PIPE timeout guard
proc activity (proc_activity) Per-file I/O activity via passive ETW Microsoft-Windows-Kernel-File
proc heap (proc_heap) Process heap blocks and ASCII/hex previews via ToolHelp + ReadProcessMemory
proc gdi (proc_gdi) Per-process GDI and USER object handle counters
proc hang (proc_hang) Hung windows via Wait Chain Traversal (WCT) and StackWalk64
proc debug (proc_debug) Passive debug/module events without DLL injection
proc list (proc_list) Running processes, command lines, memory counters, CPU time, integrity levels
proc mem (proc_mem) Virtual address space regions via VirtualQueryEx and GetMappedFileNameW
proc env (proc_env) Process PEB RTL_USER_PROCESS_PARAMETERS cwd and environment variables
proc etw-life (proc_etw_life) Process start/stop and image loads via passive ETW Microsoft-Windows-Kernel-Process

2. Hardware, Services, WMI & Firmware (sys2rust hw — 10 Tools)

Subcommand / MCP ID Description
hw services (hw_services) Services, status, startup type, binary path, and account
hw drivers (hw_drivers) Loaded kernel-mode device drivers and base addresses
hw devices (hw_devices) PnP devices, status, problem codes, hardware IDs, and drivers
hw tasks (hw_tasks) Windows Scheduled Tasks via TaskScheduler COM and Task XML parser
hw wmi (hw_wmi) WQL queries against WMI namespaces with SAFEARRAY & DMTF handling
hw firmware (hw_firmware) Decode SMBIOS and ACPI firmware tables with checksum validation
hw battery (hw_battery) Smart battery capacities, wear level, voltage, charge rate via IOCTL_BATTERY
hw codecs (hw_codecs) Installed MFT, Drivers32, and SYSTEM.INI audio/video codecs
hw timezones (hw_timezones) Windows time zones, REG_TZI_FORMAT biases, and DST rules
hw special-folders (hw_special_folders) Known Folders (FOLDERID_*) and CSIDL path resolution

3. Shell, Registry, Uninstall, COM & Privacy (sys2rust shell — 19 Tools)

Subcommand / MCP ID Description
shell startup (shell_startup) Run keys, StartupApproved binary states, Startup folders
shell uninstall (shell_uninstall) Installed programs across HKLM/WOW6432Node/HKCU Uninstall keys
shell msi (shell_msi) MSI products via MsiEnumProductsExW / MsiGetProductInfoExW
shell appx (shell_appx) UWP/MSIX Appx packages via WinRT PackageManager & AppxManifest.xml
shell legacy-uninst (shell_legacy_uninst) Compact installed software uninstaller inventory
shell shellex (shell_shellex) Registered Explorer Shell Extensions and Approved/Blocked status
shell menu (shell_menu) Static Explorer context menu verbs under HKCR
shell menu-new (shell_menu_new) Explorer 'New' submenu ShellNew templates
shell filetypes (shell_filetypes) File extensions, ProgIDs, MIME types, icons, open commands
shell openwith (shell_openwith) Applications registered in Explorer 'Open With' dialog
shell com (shell_com) Registered COM/OLE DLLs and missing orphan registrations
shell url-proto (shell_url_proto) Custom Windows URI/URL protocol handlers
shell appcompat (shell_appcompat) AppCompatFlags\Layers compatibility shims per executable
shell mui-ver (shell_mui_ver) Shell MuiCache enriched with executable VS_VERSION_INFO
shell ext-view (shell_ext_view) Per-extension ShellEx handlers (Thumbnail/Preview providers)
shell env-vars (shell_env_vars) User and System environment variables with expanded values
shell desktop-icons (shell_desktop_icons) Desktop SysListView32 icon coordinates & INI backup
shell taskmgr-ext (shell_taskmgr_ext) TrayNotify ROT13 IconStreams/PastIconsStream & Win11 NotifyIconSettings
shell privacy-audit (shell_privacy_audit) Read-only audit of RunMRU, TypedPaths, WordWheelQuery, Recent, Temp

4. Pure-Rust PE32 / PE32+ / .NET Inspection (sys2rust pe — 6 Tools, #![forbid(unsafe_code)])

Subcommand / MCP ID Description
pe exports (pe_exports) Named, ordinal-only, and forwarded DLL exports in pure Rust
pe resources (pe_resources) Embedded .rsrc Win32 resources with MIME detection and SHA-256
pe icons (pe_icons) Reassemble RT_GROUP_ICON / RT_GROUP_CURSOR payloads
pe dotnet (pe_dotnet) ECMA-335 .NET assembly metadata (BSJB #~) and ManifestResource streams
pe info (pe_info) PE32/PE32+ headers, version strings, Authenticode signature presence, compiler hints
pe gac (pe_gac) .NET Global Assembly Cache (GAC) assemblies and versions

Clone this wiki locally