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

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

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

TargetEvidence
Unknown blobs and directoriesContainers, compressed members, high-entropy regions, MCU signals, candidate firmware files
Firmware imagesHeaders, update envelopes, partitions, bootloaders, image-to-image differences
BMC flashFIT hash/signature metadata, OpenBMC/MegaRAC markers, CRC-valid U-Boot environments, JFFS2 recovery
Extracted Linux filesystemsInventory, startup intent, trust-bearing binaries, crypto material, string evidence
ELF binariesImports, exports, handler tables, stripped-code sinks, decompilation, source-to-sink taint
Bare-metal and MCU imagesVector tables, memory maps, peripheral hints, flash-write authority, boot handoff evidence
Edge AI artifactsMAGIK/JZDL, TFLite, ONNX, Qualcomm DLC, and visible inference runtimes
Android applicationsAPK inventory, discovery leads, locality, capability chains, handoff boundaries
Source repositoriesInvariant 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.