Filesystem analysis
After extraction, work from the recovered rootfs. FAT’s filesystem commands share one evidence model, so an inventory hit, a startup entry, and a trust-path label can be followed into binary and runtime analysis.
Set a shell variable to keep examples readable:
rootfs=.fat-projects/firmware/extracted
Inventory
fat ls --rootfs "$rootfs" --profile inventory --json
fat tree --rootfs "$rootfs" --profile inventory --summary
fat graph export --rootfs "$rootfs" --profile inventory --format json > inventory.json
inventory is the neutral graph profile: directories, files, kinds, SHA-256 hashes, and rabin2 import/export edges. It adds no research-specific labels. Use it as the baseline before applying a lens such as update-authority.
Strings and cross-references
fat search --rootfs "$rootfs" --profile credentials -I --context 2
fat search --rootfs "$rootfs" --profile urls --json
fat search --rootfs "$rootfs" --all-files --profile sinks
fat xref-search --rootfs "$rootfs" --help
By default search inspects ELF binaries under discovered filesystem candidates. Add --all-files for scripts and configuration, -I for case-insensitive matching, and --context N for nearby strings. Built-in profiles include credentials, urls, crypto, sinks, and debug. JSON uses search-report/v2.
xref-search resolves pointer or code references to the strings you found, which is usually the fastest route from a credential or URL to the binary that uses it.
Startup intent
fat startup-map --rootfs "$rootfs" --profile cloud-tls
fat startup-map --rootfs "$rootfs" --json
startup-map resolves init scripts, service definitions, and startup metadata to concrete binaries, then attaches profile evidence such as strings, imports, and linked libraries. Use it to choose the next target. Startup intent does not prove runtime reachability or exploitability.
Trust paths and update authority
fat trust-map --rootfs "$rootfs"
fat trust-boundary --rootfs "$rootfs"
fat graph export --rootfs "$rootfs" --profile update-authority --output update-graph.json
fat labels explain --rootfs "$rootfs" --profile update-authority --path /sbin/updater --json
update-authority is an optional lens that adds label assignments, rollups, update/decrypt path evidence, bounded assessments, negative evidence, and symbol metadata. Names such as UpdateCandidate and AuthorityVerdict are compatibility schema names for evidence groups, not final judgments.
Crypto material
fat crypto-census --rootfs "$rootfs"
fat crypto --file "$rootfs/usr/sbin/httpd" --json
fat crypto-extract --file "$rootfs/usr/sbin/httpd" --json
crypto-census finds reused artifacts across the filesystem and shows whether they appear on a governing update path. crypto-extract reports embedded keys, certificates, and blobs with offsets, confidence, validation state, and trust-path context. A valid key length or PEM header says something about bytes; confirm runtime use through disassembly or instrumentation.
Edge AI and Android
fat edge-ai scan --rootfs "$rootfs"
fat edge-ai scan --rootfs "$rootfs" --format magik,tflite --json
fat android inventory --apk app.apk
fat android discover --apk app.apk --json
See Edge AI and Android artifacts for formats and interpretation.
From filesystem evidence to runtime
The usual chain is:
searchorstartup-mapidentifies a binary and a reason to inspect it.r2-triage,sink-discovery, andtaintestablish candidate data flow.preflightandemulatetest the runtime hypothesis.instrument-hooks,trace-ingest, andprobe evaluatecompare runtime events with the static chain.
Each step retains its own evidence boundary; a runtime observation does not retroactively prove the static model.