Hardware and firmware testing

From 0dayInc/pwn · View interactive version

Hardware and firmware testing is an AI agent skill from the GitHub repository 0dayInc/pwn. Test firmware and hardware with OWASP FSTM/ISTG and PWN serial plugins.

How to use this skill

Skill file

Hardware and Firmware Testing

Use when the target is a device, PCB, UART/JTAG, RF dongle, or a firmware

image. Hand unpacked binaries to reverse-engineering-binaries and

crashes to deep-exploitation.

When to use

Methodologies

OWASP Firmware Security Testing Methodology (FSTM) - 9 stages:

  1. Information gathering
  2. Obtaining firmware
  3. Analyzing firmware
  4. Extracting the filesystem
  5. Analyzing filesystem contents
  6. Emulating firmware
  7. Dynamic analysis
  8. Runtime analysis
  9. Binary exploitation

Also:

| Catalog | Role |

|---|---|

| OWASP ISTG | IoT device test cases (firmware chapter cites FSTM) |

| OSSTMM | physical + wireless + telecom channels |

| NIST SP 800-115 | evidence and reporting |

| CWE | 119, 798, 1278, 1326 for embedded flaws |

Tooling

MSR206 when magstripe is in the ask

present

Procedure

  1. FSTM-1: chip markings, FCC ID, model, debug headers. Photograph or

note.

  1. Obtain the image (vendor download, dump via UART/flash). Hash it.
  2. binwalk -e, list filesystems, creds, keys, init scripts.
  3. Emulate or boot if possible. Dynamic: default creds, open ports,

update channel.

  1. Runtime: attach serial, check root shell, busybox, leftover test

hooks.

  1. Binary: pick one sink, then reverse-engineering-binaries /

deep-exploitation.

  1. Report per FSTM stage with artefact paths.

Pitfalls

Verification

Image hash + extract dir exist, at least two FSTM stages have evidence

beyond notes, and leftover secrets or sinks are cited from files that

were read back.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.