Firmware security research
FATFirmware Analysis Toolkit
Classify unknown images, extract filesystems, map trust-relevant code and data flow, and coordinate emulation — from one CLI, with structured evidence at every step.
Start where you are
New to FAT
Install the CLI and runtime data, then walk through a first investigation.
02Unknown image
Identify containers, filesystems, MCU images, update envelopes, and BMC flash.
03Extracted rootfs
Inventory startup, credentials, crypto material, trust paths, and Edge AI artifacts.
04Binary or script
Triage, decompile, and trace source-to-sink flow through binaries and shell.
05BMC flash
Read FIT metadata and U-Boot environments, then boot supported images.
06Automation
JSON, SARIF, exit gates, and pinned external campaign replays.
Quick start
Download the archive for your platform from FAT Releases, verify its .sha256, and keep fat and share/ together. Or install with Cargo and fetch the matching runtime data:
cargo binstall firmware-analysis-toolkit
fat data install --release
fat doctor
Then point FAT at a file:
fat ./firmware.bin # identify: compact overview
fat ./firmware.bin --details # supporting tables
fat new ./firmware.bin # create a project under .fat-projects/
fat extract .fat-projects/firmware
fat analyze .fat-projects/firmware
fat ./firmware.bin is shorthand for fat identify --file ./firmware.bin. See First contact for how to read the result and choose the next command.
What FAT analyzes
| Target | Evidence |
|---|---|
| Unknown blobs and directories | Containers, compressed members, high-entropy regions, MCU signals, candidate firmware files |
| Firmware images | Headers, update envelopes, partitions, bootloaders, image-to-image differences |
| BMC flash | FIT hash/signature metadata, OpenBMC/MegaRAC markers, CRC-valid U-Boot environments, JFFS2 recovery |
| Extracted Linux filesystems | Inventory, startup intent, trust-bearing binaries, crypto material, string evidence |
| ELF binaries | Imports, exports, handler tables, stripped-code sinks, decompilation, source-to-sink taint |
| Bare-metal and MCU images | Vector tables, memory maps, peripheral hints, flash-write authority, boot handoff evidence |
| Edge AI artifacts | MAGIK/JZDL, TFLite, ONNX, Qualcomm DLC, and visible inference runtimes |
| Android applications | APK inventory, discovery leads, locality, capability chains, handoff boundaries |
| Source repositories | Invariant queries, patch guidance, nearby variant searches |
Evidence, not verdicts
FAT reports observations: offsets, counts, hashes, confidence, validation state, provenance, and next probes. A structurally valid key is not proof of runtime use; a startup entry is not proof of reachability; an emulation validator proves only what it checked during that run. Read How to read FAT output before treating a finding as a conclusion.
Project and license
FAT is developed by adi0x90 and maintained under Attify. Version 2.x is source available under FSL-1.1-ALv2, converting to Apache-2.0 two years after each release. See Security before processing untrusted images or exposing an emulated service.