Skip to content
Kitbay
Skill

firmware-pentest

MITUpdated on Nov 14, 202644,947GitHub stars

A Chinese-language skill in the reverse-skill collection for testing firmware and IoT devices, from a raw firmware image through extraction, emulation and exploitation, following the nine stages of OWASP's firmware security testing method.

What the skill teaches

A Chinese-language skill in the reverse-skill collection for testing firmware and IoT devices, from a raw firmware image through extraction, emulation and exploitation, following the nine stages of OWASP's firmware security testing method. It covers acquiring firmware by download, update capture or flash dumps over UART or SPI, entropy and signature scans with binwalk, extraction with binwalk, unblob and related tools, filesystem review with EMBA, emulation with QEMU or Firmadyne, debugging and fuzzing with gdb-multiarch and AFL++, and exploit building with pwntools. It includes an encrypted-firmware scenario and notes on endianness and missing NVRAM, and says the work suits the user's own devices, authorised programmes, CTFs and public test targets.

Capabilities

  • Extract file systems from firmware images
  • Emulate firmware services with QEMU
  • Fuzz emulated services with AFL++
  • Build exploits for embedded targets