Firmware Extraction & Emulation
Unpacking router/IoT flash dumps to find hardcoded credentials, vulnerable CGI binaries, or backdoors.
Key Techniques: binwalk -e, SquashFS extraction, QEMU user-mode emulation for MIPS/ARM binaries.
Hardware, IoT, and Radio Frequency (RF) challenges bridge the physical and digital worlds. Even in online CTFs, you receive real logic-analyzer traces, raw flash dumps, simulated microcontrollers, or IQ radio captures to dissect and unlock.
Unpacking router/IoT flash dumps to find hardcoded credentials, vulnerable CGI binaries, or backdoors.
Key Techniques: binwalk -e, SquashFS extraction, QEMU user-mode emulation for MIPS/ARM binaries.
Decoding UART, SPI, I2C, JTAG, and CAN bus captures from logic analyzers or hardware badges.
Key Techniques: PulseView / sigrok protocol decoders, baud-rate calculation, and SPI flash dump reconstruction.
Demodulating OOK, FSK, ASK, or LoRa transmissions from raw IQ files.
Key Techniques: Universal Radio Hacker (URH), GNU Radio flowgraphs, and waterfall spectrogram inspection.
Recovering secret keys from timing differences, power traces (DPA/CPA), or voltage glitching.
Key Techniques: Correlation Power Analysis (CPA) against AES S-box operations and ChipWhisperer traces.
Inspect capture metadata and file headers: determine sample rate (RF/logic) or architecture/endianness (firmware).
Visualize signals before writing code—PulseView for digital traces and Inspectrum/URH for RF waterfalls.
For firmware blobs, run binwalk and entropy graphs to separate compressed filesystems from encrypted regions.
Emulate extracted ARM/MIPS services under QEMU to inspect behavior dynamically without owning the physical device.
# Scan entropy and embedded filesystems, then extract cleanly
binwalk -E router_dump.bin
binwalk -eM router_dump.bin
file _router_dump.bin.extracted/squashfs-root/bin/busyboxEntropy scans immediately reveal whether a firmware image is plaintext, compressed, or encrypted.
| Challenge / Track | Platform | Level | Focus |
|---|---|---|---|
| Hardware Category Track | Hack The Box | Beginner | Logic captures, firmware extraction, and simulated IoT |
| Embedded Security CTF (Microcorruption) | Microcorruption | Intermediate | MSP430 assembly lock-picking and embedded memory bugs |
| DEF CON Hardware & Badge Challenges | DEF CON Villages | Advanced | Physical PCB, UART/JTAG, and RF puzzles |
Disable debug interfaces (JTAG/UART) in production silicon, enforce signed Secure Boot with rollback protection, and never ship shared default credentials inside firmware images.