48-Tool Pure-Rust Process, Firmware, Shell & PE Suite.
100% pure-Rust 48-tool Windows process/ETW inspector, SMBIOS/ACPI firmware & hardware inventory, shell/registry extension auditor, and #![forbid(unsafe_code)] PE32/PE32+/ECMA-335 .NET parser with 70-endpoint MCP server.
Zero-GPU Native Win32 & Cross-Platform Iced 0.14
Built on guap-kit (guap-gui-win32 & guap-gui-iced), sharing zero-copy binary parsers, GuapQuery expressions, and 7-format guap-export Merkle custody across two purpose-built desktop binaries.
Native Win32 Virtual Grid Console
Authentic Windows Common Controls v6 interface powered by LVS_OWNERDATA virtual SysListView32 rendering — handles tens of thousands of rows smoothly over Windows Server RDP and headless VMs.
- Zero Electron / WebView2: No Chromium processes, zero GPU/OpenGL crashes
- DPI & Accessibility: Per-Monitor DPI v2 aware with
Microsoft.Windows.Common-Controls6.0.0.0 manifest - Detail + Hex Inspector: Side-by-side record properties and raw byte dump
Cross-Platform Retained Workstation
Identical offline forensic & diagnostic inspection across Linux, macOS, and Windows (sys2rust gui --iced) with automatic tiny-skia CPU software rendering fallback.
- Cross-Platform Offline Triage: Analyze Windows binary artifacts natively on macOS/Linux
- Paginated Data Grid: Integrated
GuapQueryfilter bar, sorting, JSON tree, and hex pane - One-Click Audit Bundle: Exports 7 RFC-4180/CSP-safe formats with SHA-256/512 Merkle roots
Pure-Rust Binary Parsers & Chain-of-Custody Safety
Decoupled domain parsers verified against 79 deterministic fixtures, 360 E2E checks, and 52 automated R4 exclusion rules in guap-e2e.
Processes, Threads, Handles & ETW (13 Tools)
Inspect Toolhelp/NT threads, loaded DLLs, timeout-guarded NtQuerySystemInformation kernel handles, locked open files, passive Kernel-File & Kernel-Process ETW, heaps, GDI counters, hang chains, and PEB memory maps.
Services, Drivers, SMBIOS & Firmware (10 Tools)
Enumerate SCM services, signed kernel drivers (EnumDeviceDrivers), SetupDi PnP devices, Task Scheduler COM v2 / offline XML tasks, WMI queries, raw SMBIOS/ACPI firmware tables, smart battery IOCTLs, codecs, and timezones.
Startup, Shell Extensions & Desktop (19 Tools)
Audit Startup/StartupApproved, MSI/Appx packages, Explorer context menus/ShellNew, ProgIDs, COM CLSIDs, URL protocols, VS_VERSIONINFO, desktop icon layout, Win11 TrayNotify, and read-only privacy MRUs.
#![forbid(unsafe_code)] PE32 / PE32+ / .NET (6 Tools)
Cross-platform pure-Rust binary parsers for IMAGE_EXPORT_DIRECTORY exports, 3-level .rsrc resource trees, RT_GROUP_ICON/.ico extraction, ECMA-335 CLR BSJB/#~ .NET resources, PE headers, and GAC assemblies.
Deadlock Prevention & Policy Gates
Worker-thread timeouts prevent synchronous named-pipe hangs during kernel handle queries; all 22 mutating actions (proc_terminate, hw_service_control, shell_*) enforce ReadOnlyOnly -32003 by default.
Strict R4 Clean-Room Boundaries
Zero synthetic clock/time-override hooks, zero external DLL hooking, zero remote thread injection, zero DPAPI/LSA secret dumping, and zero retired legacy utilities.
sys2rust vs. Legacy Workflows
Comparing binary coverage, offline determinism, spreadsheet/XSS sanitization, chain-of-custody verification, and agent safety across common workflows.
| Capability / Metric | sys2rust (WinSafe + Iced) | Scattered System Utilities | Ad-Hoc PowerShell / WMI |
|---|---|---|---|
| Unified Suite Coverage | WIN 48 tools across proc, hw, shell & pe in 1 cohesive workspace | 48+ disparate standalone executables | Slow WMI / COM scripting |
| Pure-Rust PE/.NET Parsers | WIN sys2rust-pe (#![forbid(unsafe_code)]): PE32+, .rsrc, ICO & ECMA-335 | Windows-only GUI resource viewers | No raw PE/CLR binary parsers |
| Deadlock & Non-Admin Safety | WIN Named-pipe timeout guard on NtQueryObject + clean PERMISSION_DENIED | UI hangs on synchronous named pipes | Unhandled access-denied errors |
| Policy & R4 Compliance | WIN --dry-run + ReadOnlyOnly -32003 gate; zero DLL injection or hooking | Immediate unguarded OS edits | Manual confirmation prompts |
| Chain-of-Custody Exports | WIN 7 guap-export formats + CWE-1236 guard + SHA-256/512 Merkle root | Manual CSV / text copies | No Merkle chain verification |
Dual-GUI, CLI, Custody & MCP Workbench
Explore how sys2rust-win32, sys2rust-iced, pure-Rust CLI parsers, guap-export, and sys2rust-mcp operate across the workspace.
Zero-GPU Native Win32 Systems Console (sys2rust-win32.exe)
Renders massive kernel handle, service, startup, and PE export tables instantaneously using guap-gui-win32 (LVS_OWNERDATA virtual grid, zero GPU).
Cross-Platform PE32/.NET & Firmware Inspector (sys2rust gui --iced)
Inspect Windows PE32/PE32+ executables, ECMA-335 .NET metadata streams, SMBIOS firmware dumps, and Task Scheduler XML natively on Linux, macOS, or Windows.
Cross-Platform PE32/.NET & Process GuapQuery CLI
Query live processes sorted by working set or run pure-Rust PE/SMBIOS/privacy inspection cross-platform.
7-Format Sanitized Reports & SHA-256/512 Custody
Export PE analyses, firmware dumps, and shell extension inventories across 7 deterministic formats with Merkle verification.
Policy-Gated MCP Server (sys2rust-mcp, 70 Endpoints)
Exposes 48 read-only diagnostics alongside 22 policy-gated actions guarded by ReadOnlyOnly (-32003) and --dry-run previews.
The 10 Workspace Crates
Clean Rust 2024 Edition (MSRV 1.88) workspace powered by guap-kit and audited with cargo-deny (Apache-2.0).
SysError diagnostics, non-admin privilege probing, binary/FILETIME decoders, and 48-tool registry.
Threads, DLLs, timeout-guarded kernel handles, open files, ETW file/process I/O, heaps, GDI, wait-chains, PEB env & memory.
SCM services, signed drivers, SetupDi PnP devices, Task Scheduler v2/XML, WMI, raw SMBIOS/ACPI firmware, battery, codecs & TZ.
Startup, uninstall, MSI/Appx, ShellEx, Explorer New/context menus, ProgIDs, COM/ActiveX, URL protocols, Desktop Icons & Privacy.
Cross-platform pure-Rust PE32/PE32+ exports, 3-level .rsrc tree, RT_GROUP_ICON, ECMA-335 .NET BSJB/#~ & GAC inspection.
guap-export 7-format adapter (CSV/TSV/JSON/JSONL/HTML/HTML-V/Markdown) + SHA-256/512 Merkle CustodyManifest.
Policy-gated MCP JSON-RPC 2.0 stdio server (`2024-11-05`) with 48 read-only + 22 mutating tools.
Unified clap CLI (`proc`, `hw`, `shell`, `pe`, `action`, `mcp`, `gui`, `list`, `diag`) with --offline & GuapQuery.
Zero-GPU native Win32 virtual list console via WinSafe 0.0.29 & guap-gui-win32 with ComCtl v6 manifest.
Cross-platform Iced 0.14 GUI (`wgpu` + `tiny-skia`) for offline PE/.NET, firmware, and fixture analysis.
70-Endpoint Policy-Gated stdio MCP Server (48 RO + 22 Mutating)
Exposes 48 read-only diagnostic providers and 22 policy-gated mutating actions enforcing ReadOnlyOnly (-32003) by default.
Standard Client Configuration (mcp.json / Smithery Ready)
Invoke sys2rust-mcp directly or pass mcp to the unified CLI (all diagnostic logs route strictly to stderr so JSON-RPC stdout stays clean):
{
"mcpServers": {
"sys2rust": {
"command": "sys2rust-mcp",
"args": []
}
}
}
sys2rust-proc (13 Tools + 4 Mutating Actions) 13 tools
| CLI Subcommand | Diagnostic Scope | Mechanism | MCP Tool ID |
|---|---|---|---|
proc threads | Process Threads | Toolhelp/NT thread stack, start address & priority | proc_threads |
proc dlls | Loaded DLLs | EnumProcessModulesEx / Toolhelp32 module list | proc_dlls |
proc handles | Kernel Handles | NtQuerySystemInformation handles (timeout-guarded) | proc_handles |
proc open-files | Open File Handles | Locked file handle resolution | proc_open_files |
proc activity | Process File I/O | Passive ETW Microsoft-Windows-Kernel-File I/O | proc_activity |
proc heap | Process Heap Blocks | Heap32ListFirst / Heap32First heap blocks | proc_heap |
proc gdi | GDI / USER Counters | GetGuiResources & GDI object table telemetry | proc_gdi |
proc hang | Hung Window Diagnostics | Unresponsive window/thread wait-chain inspector | proc_hang |
proc debug | Program Debug Events | Read-only debug summary (+ gated proc_debug_attach) | proc_debug |
proc list | Process Snapshot | Process PID, PPID, memory, user & elevation | proc_list |
proc mem | Virtual Memory Map | VirtualQueryEx region & protection table | proc_mem |
proc env | Process Environment | PEB environment variables (read-only) | proc_env |
proc etw-life | ETW Process Lifecycle | Passive ETW Microsoft-Windows-Kernel-Process stream | proc_etw_life |
sys2rust-hw (10 Tools + 4 Mutating Actions) 10 tools
| CLI Subcommand | Diagnostic Scope | Mechanism | MCP Tool ID |
|---|---|---|---|
hw services | Windows Services | Service Control Manager service & binary inventory | hw_services |
hw drivers | Loaded Kernel Drivers | EnumDeviceDrivers & signed kernel module metadata | hw_drivers |
hw devices | PnP Device Manager | SetupDiGetClassDevsW PnP device tree & status | hw_devices |
hw tasks | Scheduled Tasks | Task Scheduler COM v2 & offline roxmltree XML parser | hw_tasks |
hw wmi | WMI Queries | COM WMI / offline wmi_posture.json query provider | hw_wmi |
hw firmware | Firmware Tables | GetSystemFirmwareTable raw SMBIOS/ACPI RSDP/FADT/MCFG | hw_firmware |
hw battery | Smart Battery Diagnostics | IOCTL_BATTERY_QUERY_INFORMATION health & capacity | hw_battery |
hw codecs | Installed Codecs | DirectShow/ACM/DMO codec registry enumerator | hw_codecs |
hw timezones | Windows Time Zones | REG_TZI_FORMAT timezone & DST rule decoder | hw_timezones |
hw special-folders | Known & Special Folders | Known Folder GUID & shell path inventory | hw_special_folders |
sys2rust-shell (19 Tools + 14 Mutating Actions) 19 tools
| CLI Subcommand | Diagnostic Scope | Scope | MCP Tool ID |
|---|---|---|---|
shell startup | Windows Startup Items | Run/RunOnce, StartupApproved, Startup folder & services | shell_startup |
shell uninstall | Installed Programs | MSI, Win32, NSIS & store uninstaller inventory | shell_uninstall |
shell msi | Windows Installer Packages | Windows Installer MsiEnumProductsExW database | shell_msi |
shell appx | Store / Appx Packages | UWP / MSIX Appx AppxManifest.xml (roxmltree) | shell_appx |
shell legacy-uninst | Uninstaller Entries | Classic ARP registry uninstall entries | shell_legacy_uninst |
shell shellex | Shell Extensions | ContextMenu, PropertySheet & IconOverlay shell extensions | shell_shellex |
shell menu | Explorer Context Menus | Static shell context-menu verbs | shell_menu |
shell menu-new | Explorer 'New' Menu | Explorer ShellNew file creation templates | shell_menu_new |
shell filetypes | Registered File Types | File extensions, ProgIDs & MIME associations | shell_filetypes |
shell openwith | 'Open With' Applications | OpenWithProgids / OpenWithList handler map | shell_openwith |
shell com | COM / ActiveX DLLs | Registered COM/ActiveX CLSIDs & InprocServer32 paths | shell_com |
shell url-proto | URL Protocol Handlers | Custom URI schemes & command handlers | shell_url_proto |
shell appcompat | App Compatibility Flags | Compatibility Assistant layers & shims | shell_appcompat |
shell mui-ver | MUI / Version Info | VS_VERSIONINFO string tables & language tags | shell_mui_ver |
shell ext-view | Per-Extension Handlers | Unified browser/explorer/shell extension registry view | shell_ext_view |
shell env-vars | Environment Variables | User, Machine & Process environment variables | shell_env_vars |
shell desktop-icons | Desktop Icon Layout | Desktop icon positions + Win11 NotifyIconSettings / ROT13 TrayNotify | shell_desktop_icons |
shell taskmgr-ext | Task Manager Startup/Ext | Startup impact & Explorer Shell/Taskbar extensions | shell_taskmgr_ext |
shell privacy-audit | Shell Privacy Audit | Read-only MRU, RecentDocs, Temp & cache footprint audit | shell_privacy_audit |
sys2rust-pe (6 Pure-Rust #![forbid(unsafe_code)] Tools) 6 tools
| CLI Subcommand | Diagnostic Scope | Scope / Binary Parser | MCP Tool ID |
|---|---|---|---|
pe exports | PE Exports | PE32/PE32+ Export Directory (IMAGE_EXPORT_DIRECTORY), ordinals & forwarders | pe_exports |
pe resources | PE Resources | 3-level .rsrc tree (RT_VERSION, RT_MANIFEST, RT_STRING, etc.) | pe_resources |
pe icons | PE Icons & Cursors | RT_GROUP_ICON + RT_ICON & .ico directory extraction | pe_icons |
pe dotnet | .NET Embedded Resources | CLR header, BSJB metadata root, #~ streams & .resources | pe_dotnet |
pe info | PE Executable Info | COFF/Optional header, subsystem, sections, characteristics & Authenticode | pe_info |
pe gac | .NET Global Assembly Cache | .NET GAC assembly version, public key token & processor architecture | pe_gac |
Command-Line Interface Generator
Build deterministic sys2rust CLI commands with GuapQuery expressions and Merkle custody manifests.
Pre-Compiled Standalone Binaries & Source Build
Self-contained executables compiled alongside SHA256SUMS.txt, SBOM-crates.txt, and ready-to-submit WinGet & Homebrew manifests under packaging/.
Windows (64-Bit)
MSVC
Ships sys2rust.exe, sys2rust-win32.exe, sys2rust-iced.exe, and sys2rust-mcp.exe with CFG & /CETCOMPAT.
Linux (64-Bit)
GNU
Native ELF binaries: sys2rust CLI, sys2rust-iced (wgpu + tiny-skia), and sys2rust-mcp.
macOS Apple Silicon
ARM64Native Mach-O ARM64 binaries for Apple Silicon workstations (offline binary parsers, Iced GUI & MCP).
macOS Intel (64-Bit)
x86_64
Intel Mac Mach-O binaries plus full compilation from source on Rust 1.88+ (Edition 2024).
Source Compilation & E2E Verification
Build all 10 crates offline alongside sibling guap-kit, and browse full WinGet/Homebrew manifests inside packaging/.
git clone https://github.com/adpaolucci/guap-kit.git git clone https://github.com/adpaolucci/sys2rust.git && cd sys2rust cargo test --workspace --offline cargo build --workspace --release --offline