Repository navigation
CLI Reference
Andrew Paolucci edited this page Nov 26, 2026
·
2 revisions
Invoking forensics2rust launches the CLI or, via forensics2rust gui, the native desktop UI (forensics2rust-win32 on Windows, forensics2rust-iced on Linux/macOS or via --iced).
--log-level <LOG_LEVEL> Logging level written strictly to stderr (error, warn, info, debug, trace) [default: warn]
--log-file <FILE> Optional log file path (non-ANSI structured logs)
--source <PATH> Offline forensic artifact file or directory (omit for live Windows OS collection) [alias: --offline]
-f, --format <FORMAT> table, csv, tsv, json, jsonl, html, html-vertical, markdown [default: table]
-o, --out <PATH> Destination file or directory path for output / exports [alias: --output]
--custody <PATH> Write SHA-256/SHA-512 custody manifest JSON to PATH (or enable sidecar beside --out)
--filter <EXPR> Tabular filter expression
--query <EXPR> Alias for tabular filter expression
--sort <SPEC> Comma-separated sort specification (e.g. "timestamp:desc,event_id:asc" or "-timestamp")
--columns <COLS> Comma-separated column IDs to project
--limit <LIMIT> Maximum number of table rows to return
--offset <OFFSET> Starting row offset for pagination
-
list— List all 45 registered read-only DFIR tools. -
diag— Inspect platform, elevation, and artifact readiness diagnostics. -
export(alias:report) — Export single tool or category/suite bundle with SHA-256/SHA-512 custody manifest. -
diff— Compare two offline forensic runs for any tool usingTableTextCompare. -
mcp— Run the strictly read-only JSON-RPC 2.0stdioMCP server or print the 45-tool schema (mcp --tools). -
gui— Launch the native Win32 (forensics2rust-win32) or Iced (forensics2rust-iced) GUI. -
evtx— 14 Windows Event Log (EVTX) DFIR views (all,legacy,channels,sources,logon,uptime,wifi,defender,timeline,rdp,powershell,process,tasks,usb). -
hive— 6 Registry Hive tools (scan,diff,offline,find,export,watch). -
srum— 4 Pure-Rust ESESRUDB.dattelemetry views (db,net,app,energy). -
artifacts— 14 Windows execution, shell, USB, profile, and VSS artifact tools (activity,prefetch,jumplists,shellbags,userassist,muicache,opensave,recent,executed,usb-devices,usb-log,vss,previous,profiles). -
crash— 3 Minidump (MDMP) and WER crash views (bsod,wer,report). -
posture— 4 Windows Updates, Defender, and SecurityCenter2 posture views (updates,full-updates,defender-status,security-center).
# Offline Security EVTX logon & process triage filtered via GuapQuery
forensics2rust evtx logon --source .\evidence\evtx --filter "event_id == 4624" --format json
forensics2rust evtx process --source .\evidence\evtx --sort "timestamp:desc" --limit 50
# Pure-Rust offline Registry browser & snapshot diff
forensics2rust hive offline --source .\evidence\hive\SOFTWARE --format csv --out .\out\software.csv --custody .\out\custody.json
# Parse compressed Prefetch (.pf) and SRUDB.dat offline
forensics2rust artifacts prefetch --source .\evidence\artifacts --format table
forensics2rust srum net --source .\evidence\srum\SRUDB.dat --format markdownforensics2rust (v0.1.0) • GUAP Ecosystem (guap.ca) • 12 Crates • 45 Read-Only DFIR Tools • guap-kit Powered • Rust 2024 Edition • Apache-2.0 License • Repository