Skip to content

Course

Embedded & IoT Security

How UART/JTAG access, firmware extraction, hardcoded secrets, update mechanisms, and Zigbee/MQTT actually break on embedded devices — and the concrete controls that close each hole.

14 lessons

Course Q&A

Keep reading

Related articles from the SudoSecurity blog.

Reviews

Enrolled members can rate this course.

No reviews yet.

On the Board: Debug Interfaces

UART consoles, JTAG/SWD debug ports, and reading storage chips directly — the physical paths that bypass every software control.

  1. 01UART: The Console That Bypasses EverythingFind the serial pads, connect a USB-TTL adapter, and get the shell the firmware never asked your permission to give.15mOpen
  2. 02JTAG and SWD: When the CPU Itself Answers to YouHalt the processor, read live memory, and dump flash through the debug port — regardless of what the firmware wants.18mOpen
  3. 03Reading the Chip: SPI NOR, eMMC, and NANDClip a CH341A onto SPI NOR, dd an eMMC block device, and survive the OOB trap in NAND dumps.20mOpen

Firmware: Acquisition and Analysis

Getting real firmware images, carving filesystems out of them, and auditing what ships.

  1. 01Getting the Firmware ImageVendor downloads, intercepted updates, and on-device extraction — three paths to bytes you can verify.10mOpen
  2. 02Binwalk, SquashFS, and the Filesystem InsideEntropy first, signatures second, then per-filesystem extraction with unsquashfs, sasquatch, jefferson, and ubireader.15mOpen
  3. 03Reading the Image Like an AuditorA systematic pass over an extracted rootfs: secrets, accounts, listeners, web handlers, and emulation with FirmAE.20mOpen

Secrets and Backdoors in Firmware

Hardcoded credentials, reused private keys, and undocumented listeners — the Mirai/House of Keys/Sercomm evidence base.

  1. 01The Password Is Compiled InMirai spread on a sixty-pair credential list, not an exploit — hardcoded creds live in shadow files, config blobs, and binaries.12mOpen
  2. 02One Private Key in Every UnitSEC Consult's House of Keys, the Sercomm 32764 listener, and why a private key in firmware is a public key.15mOpen

Update Mechanisms

OTA anti-patterns, verified boot and anti-rollback, and the update pipeline as attack surface.

  1. 01The Anti-Patterns in OTAHTTP downloads, checksums over the same channel, verify-after-write — and why payload signing beats transport trust.12mOpen
  2. 02Verified Boot and the Rollback You ForgotA valid signature doesn't mean fresh firmware: anti-rollback counters, A/B slots, dm-verity, and ESP32 eFuses.18mOpen
  3. 03The Server Is Part of the Signing StoryShadowHammer shipped honestly-signed malware; pipelines, abandoned domains, and constrained-TLS tradeoffs are in scope.12mOpen

Protocol Surface and Hardening

MQTT brokers, Zigbee commissioning, and the concrete checklist for shipping constrained devices that resist.

  1. 01MQTT Is a Room With a MicrophoneAnonymous brokers, wildcard subscriptions, retained commands, and the ACLs that separate telemetry from control.15mOpen
  2. 02Zigbee: Whoever Joins Owns the MeshThe ZigBeeAlliance09 link key, install codes, ZLL touchlink, and the wormable Hue bridge bug.18mOpen
  3. 03Shipping Something That ResistsThe full ledger: per-device identity, fused debug ports, signed updates with rollback floors, and minimal listening surface.15mOpen