Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Changelog

[Unreleased]

Added

  • Native ESP-IDF partition-table discovery in identify, inspect headers, and inspect layout, including custom table locations, optional MD5 validation, legacy tables, and separate file offsets and flash addresses.

  • inspect symbols lists ELF symbols with byte sizes, section and region filters, batched name input, bounded hex previews, demangling, text/CSV/JSON output, and two-file symbol diffs.

[2.1.0]

See the release notes for installation and upgrade instructions.

Added

  • fat data install --release downloads the fat-data-<version>.zip and .sha256 assets for the running executable, verifies them, and activates the data, so a cargo install or cargo binstall setup needs one follow-up command. --archive still installs a local directory or ZIP for offline or pinned installs.

  • decompile --script applies repeatable r2 rename/comment scripts after analysis and before pdg, so afn, afvn, and CC names reach the emitted pseudocode. Missing scripts and failed script lines report their path and line.

  • experiment external validate checks pinned external campaign setup, replay inputs, evidence, timeouts, and cleanup declarations. experiment external run executes one exact argv replay and stores its input, logs, outcome, and cleanup result in the existing FAT session and artifact model.

  • debug redfish-session tests session creation, ReadOnly cross-account denial, an administrator positive control, target restoration and token revocation on an emulated BMC. debug process attaches userspace GDB over an owned temporary SSH forward and records process identity, detach and cleanup results.

  • Hash-pinned BMC profiles for native full-flash and vendor-kernel boot, including verified FIT kernel/DTB/initramfs assets, explicit DTB adaptations, private snapshot flash, and fresh loopback Redfish readiness observations.

  • inspect bmc reports raw flash layout, FIT authentication metadata, located BMC markers, and CRC-validated U-Boot environments with text, JSON, and SARIF output.

Changed

  • Expanded BMC inspection and native JFFS2 guidance in the command help and documentation, including extraction outcomes, case-sensitive storage, and source-build availability.
  • Replaced Binwalk with binwalk-ng 4.0.0 in the source installer, including upgrades of existing installations.
  • Added automatic installation of Sasquatch and lzop for SquashFS and LZO extraction.
  • Raised the minimum supported Rust version to 1.91.
  • Installation documentation now leads with the prebuilt release archives and cargo binstall; cargo install is documented as the source-build path, and the CLI carries cargo binstall metadata so the matching cargo-dist archive is fetched instead of compiling.
  • FAT publishes to crates.io as firmware-analysis-toolkit, so cargo install and cargo binstall firmware-analysis-toolkit install the CLI; the fat-toolkit-* crates are published as its dependencies. scripts/publish-crates.sh publishes them in dependency order, and the Publish to crates.io workflow exposes it as a maintainer dispatch.

Fixed

  • decompile reports r2ghidra’s install hint as an error instead of writing it to the raw C output as if it were pseudocode.

  • Native debug commands attach to recorded Unix serial/monitor sockets; inactive runs no longer advertise historical validated surfaces as current.

  • Gzip outputs use artifact-ID/format directories (for example, 0004-gzip) instead of implying that every compressed payload is a kernel.

  • Raw bootloader assignments are reported as raw_env_hints, separately from imported environment values and CRC-validated BMC environments. Raw strings no longer generate boot-policy findings or seed emulation settings.

  • Native JFFS2 extraction reconstructs fragmented and versioned files before decoding embedded gzip streams, preserving CRC checks and per-artifact failures.

[2.0.1]

See the release notes for installation and retry instructions.

Added

  • Native recursive ZIP, TAR, and gzip extraction with SquashFS 2/3/4 decoding, including both byte orders and legacy LZMA block layouts.
  • Extraction manifests include per-artifact lineage, decoder outcomes, limits, and recovery status.
  • An Arch Linux and Omarchy installation guide with tested prerequisites, optional tools, and extraction verification steps.

Fixed

  • Carved images and empty output directories no longer stop rootfs recovery attempts.
  • Healthy bootloader tmux sessions are reused on tmux versions that sanitize control characters in display formats.
  • Binwalk runs that exit without scanning any files are retried up to twice within the original timeout, preserving failed attempts and reporting a failure if scanning never starts.
  • Automatic native dependency installation recognizes Omarchy and other distributions declaring ID_LIKE=arch, while preserving explicitly supported distribution recipes.

[2.0.0]

First regular release of the Rust-based FAT CLI. See the release notes for capabilities, installation, and migration from FAT 1.x.

Added

  • A shared Rust CLI for firmware identification, extraction, binary and filesystem analysis, and emulation workflows.
  • Versioned runtime-data bundles with installation and integrity verification.
  • Portable archives with bundled runtime data for macOS Apple Silicon and Intel, Linux x86-64 and ARM64, and Windows x86-64.
  • A maintainer release workflow using cargo-release, git-cliff, cargo-dist, and GitHub CLI, with synchronized versions and release links in the README.
  • identify and inspect mcu show compact overviews by default. --details expands related findings into grouped reference tables; JSON stays unchanged.
  • inspect mcu reports bounded Thumb code and function candidates, referenced strings, recovered initialization descriptors, and decoded MMIO accesses. Literal address references remain separate from reads/writes. LPC13xx and Cortex-M3 register names carry documentation sources, alias conditions, and profile-selection provenance; unsupported control flow remains unresolved.

Fixed

  • Identification and MCU tables have outer borders and row separators. MCU hardware tables label register addresses and operations explicitly.
  • Report tables use a shared renderer; Unicode borders and section dividers remain visible when ANSI colors are disabled.
  • MCU terminal output omits the security-controls summary table.
  • MCU register descriptions retain chip and DLAB conditions without repetitive proof disclaimers; register metadata uses direct descriptions of observations.
  • Default identification and MCU inspection reports omit unmatched sections, absent-feature rows, and explanatory notes/limits footers, keeping matched findings and measurements prominent. JSON diagnostics are unchanged.
  • identify and inspect mcu share readable terminal reports with semantic colors, grouped evidence, wrapping tables, and narrow-terminal layouts. Confidence labels no longer display invented percentages; identity rows group repeated text while retaining every offset. Plain text and JSON remain usable without color, and analysis results are unchanged.
  • Fast and detailed MCU reports share vector bounds and populated-handler counts, distinguishing core exceptions, external IRQs, reserved slots, and unpopulated slots. Shared targets no longer imply default handlers or an interrupt-driven execution model. Vendor address/identity rules live in family profiles, and wide conditional Thumb branches use the correct encoding.
  • MCU identification retains vector evidence independently of family and load address, recognizes LPC13xx boot ROM mappings, and reports ASCII/UTF-16LE identity evidence with offsets. identify and inspect mcu share this assessment; explicit bases participate in startup addressing.
  • Repeated image copies and uniform fill are measured separately. Repeated blocks alone no longer imply ECB encryption or trigger encryption gates. Known containers are selected by format signatures rather than entropy; UTPK recognition requires its fixed-position TEA marker as well as its magic.