Skip to content
Andrew Paolucci edited this page Nov 27, 2026 · 4 revisions

chrome2rust Project Wiki

Welcome to the official documentation hub for chrome2rust (v0.2.2) — a 100% pure-Rust Chromium-family HTTP cache inspector, read-only User Data forensic workstation, dual desktop console (WinSafe Win32 + Iced 0.14), CLI orchestrator, and Model Context Protocol (MCP) server.


Core Design Goals

  1. Read-Only Forensic Integrity: Inspects Chrome User Data, profiles, SQLite databases (History, Cookies, Login Data, Web Data, Favicons), LevelDB/IndexedDB storage, SNSS Sessions, and HTTP caches without mutating live browser state (sqlite_util safe snapshot / read-only opens).
  2. Dual Pure-Rust Desktop Consoles:
    • chrome2rust-win32 (WinSafe 0.0.29): Zero-GPU authentic Win32 Common Controls GUI for Windows Desktops, Windows Server RDP triage, and Hyper-V/VMware VMs.
    • chrome2rust-iced (Iced 0.14): Retained-mode cross-platform GUI (wgpu + tiny-skia CPU fallback) shipping across Linux, macOS, and Windows (chrome2rust gui --iced).
  3. Complete Cache & Artifact Coverage: Parses both Chromium Simple Cache (*_0 / *_1 entries with gzip, brotli, zstd, deflate decompression and HTTP response/X.509 certificate pickle decoding) and Blockfile Cache (index, data_0..3, f_xxxxxx), plus magic-byte MIME mismatch detection.
  4. Tamper-Evident Chain of Custody: Computes deterministic per-artifact SHA-256 hashes and a balanced Merkle root (chrome2rust custody / chrome2rust_custody).

Shipped Binaries (Workspace v0.2.2)

Binary Role Platforms
chrome2rust (.exe) Unified CLI, cache/User Data forensic orchestrator, MCP subcommand, & GUI launcher Windows, Linux, macOS
chrome2rust-win32.exe Native zero-GPU Win32 Common Controls GUI via WinSafe 0.0.29 Windows (default GUI)
chrome2rust-iced (.exe) Cross-platform Iced 0.14 desktop GUI (wgpu + tiny-skia fallback) Linux, macOS, Windows (--iced)
chrome2rust-mcp (.exe) Standalone JSON-RPC 2.0 stdio Model Context Protocol (MCP) server (29 tools) Windows, Linux, macOS

Quick Start

# Launch the default GUI (chrome2rust-win32 on Windows; chrome2rust-iced on Linux/macOS)
chrome2rust

# Launch the cross-platform Iced UI explicitly
chrome2rust gui --iced

# Discover local Chromium-family browsers, profiles, and cache directories
chrome2rust profiles

# List HTTP cache entries with SHA-256 hashes as a table or JSON
chrome2rust cache list --hashes --format table

# Extract decompressed payloads into website directories with detected extensions
chrome2rust cache extract -o ./extracted_cache --website-dirs --use-detected-ext

# Run comprehensive read-only User Data forensics and generate an HTML report
chrome2rust report -o ./forensic_report.html --format html --decrypt

# Compute deterministic SHA-256 Merkle chain-of-custody manifest
chrome2rust custody -o ./custody_manifest.json

# Start the stdio MCP server (8 tools)
chrome2rust mcp

Wiki Directory

Getting Started & Architecture

  • Workspace Architecture — 8-crate dependency graph, discovery engine, Simple Cache / Blockfile backends, and User Data forensic pipeline.
  • Building, Testing & CI/CD — Rust 1.88+ (2024 edition) toolchain setup, Linux/Windows/macOS dependencies, GitHub Actions CI, cargo-deny, Release workflows, and packaging/ WinGet/Homebrew manifests.

Desktop GUIs, Decisions & Hardening

Forensics, Reporting & Automation

  • Chrome Cache & Artifact Forensics — Deep dive into Simple Cache (*_0/*_1), Blockfile (index/data_N/f_xxxxxx), Chromium SQLite tables, SNSS sessions, LevelDB, and OS decryption (--decrypt).
  • Multi-Browser & Media Carving — Pure-Rust Firefox (fx), Opera (opera), Safari (safari), cross-browser unified correlation, search-queries extraction, and EXIF/GPS + video carving (carve).
  • Reports & Forensic Exports — Air-gapped HTML, JSON, Markdown, guap-export 7-format tables (CSV/TSV/JSON/JSONL/HTML/HTML-Vertical/Markdown), and Merkle custody manifests.
  • Validation Rules & Status Codes — ChromeError diagnostics, WarningSeverity (info, warn, error), MIME mismatch flags, and deterministic CLI exit codes.
  • CLI Reference — Global flags (--pick, --audit-manifest, --log-level) and all 15 subcommands (profiles, sniff, cache, analyze, report, custody, pick, gui, mcp, fx, opera, safari, unified, search-queries, carve).
  • MCP Server Guide — JSON-RPC 2.0 stdio setup (mcp.json, Smithery) and all 29 read-only MCP forensic tools.

Clone this wiki locally