Firmware analysis
SkillFiles & storageExtract and analyze device firmware to find hardcoded secrets, backdoors, vulnerable services, and the real version behind an appliance. Load when you have a firmware image or can pull one. Signals: a .bin/.img firmware download, a router/IoT/appliance in scope, an OTA update file, a flash dump, "analyze this firmware", SquashFS/JFFS2/CramFS, U-Boot headers, hunting the code behind a CVE on FortiGate/Ivanti/etc.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Firmware analysis skill
What this skill tells your AI
The instructions your AI receives, as published by noorqureshi/sploitagent in skills/reverse-engineering/reverse-eng-firmware/SKILL.md and read by ahel’s review.
When it applies
You have a firmware image — a vendor download, an OTA update, or a flash dump — for a router, IoT
device, or network appliance in scope. Offline firmware analysis is the static counterpart to
network-appliance-attacks: it explains why a device is vulnerable and often yields the exact
version, hardcoded creds, or patched-function diff behind an edge CVE.
Why it works
Firmware ships the whole system: a packed filesystem, config, keys, and binaries. Vendors routinely leave hardcoded credentials, private keys, debug/backdoor accounts, and old vulnerable services in the image — all readable offline, with no traffic to the live device, once you carve the filesystem out of the container.
Method
- Recognize and carve.
binwalk <image>to identify the container and offsets (U-Boot header, compression, one or more filesystems). Extract withbinwalk -e(orunsquashfs/ firmware-mod-kit for SquashFS/JFFS2/CramFS). Encrypted images → find the bootloader/update routine that decrypts (often in a prior version's cleartext image). - Inventory the filesystem. Identify the OS/libc, the init scripts, the web root, and the
service binaries.
embaautomates a first-pass audit if you want breadth fast. - Hunt secrets & accounts.
/etc/passwd+/etc/shadow(crack weak hashes offline), hardcoded API keys/private keys/certs, backdoor accounts, and secrets in config and startup scripts (CWE-798,CWE-912). - Pin the version and diff. Read the real build/version from the filesystem (not a spoofable
banner) to drive CVE applicability. Diff the pre/post-patch image of a known CVE to locate the
vulnerable function, then analyze it with
reverse-eng-binary-triage. - Find the reachable attack surface. Network-listening binaries (the web UI CGI, telnet/SSH, custom daemons) are the ones that matter live — triage those for injection/overflow and map them back to a remote path on the running device.
Gotchas
binwalk -ecan fail silently on nested/obscure formats — check offsets manually and tryunsquashfs/sasquatchfor non-standard SquashFS; a partial carve looks like "nothing there".- Vendor keys are shared across a product line — a key in one image often unlocks the whole fleet; that's the finding, but handle it responsibly per RoE.
- Version from the filesystem, not the banner — appliances backport patches and keep old strings; the image is ground truth.
- Only analyze firmware you're authorized to — redistribution of vendor firmware may itself be
restricted; keep it in the git-ignored
engagements/tree.
Verify success
A concrete offline finding: a hardcoded credential/key, a backdoor account, the pinned build version, or a vulnerable network-facing binary and its remote entry point — each traceable to a file in the extracted image.
References
binwalk & firmware-mod-kit docs; emba firmware analyzer; OWASP IoT / firmware testing guidance;
CWE-798/912.
Signals
- GitHub stars
- 20
- Forks
- 7
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
reverse-eng-firmware- Source
- github.com/noorqureshi/sploitagent
github.com/noorqureshi/sploitagent
Related picks
Skill · naodeng
The pick for Secretssecrets-with-git-crypt
Skill · derailed-dash
The pick for Secretsowasp-security
Skill · davila7
The pick for Web (OWASP)owasp-web
Skill · nahid-sparktales
The pick for Web (OWASP)pptx
Skill · anthropics
More in Files & storagedocx
Skill · anthropics
More in Files & storage