Skip to content

Course

Firmware & Hardware Security

UEFI internals, SPI flash dumps, UART/JTAG debug ports, embedded Linux bootchains, and the vendor layers that decide what your silicon trusts before the OS ever runs.

13 lessons

Course Q&A

Keep reading

Related articles from the SudoSecurity blog.

Reviews

Enrolled members can rate this course.

No reviews yet.

The Boot Chain

What actually executes between the power button and your kernel, and how to read it.

  1. 01What Boots Before Your OSThe CPU that runs your bootloader is the third or fourth processor to start; the flash layout and execution order determine who really owns the machine.15mOpen
  2. 02UEFI and Secure Boot, MechanicallySecure Boot is an Authenticode signature check on PE32+ binaries enforced by four NVRAM variables; its failure modes are revocation gaps, not broken crypto.20mOpen
  3. 03Dumping Firmware: SPI Flash and Physical AccessA $10 programmer, a Pomona clip, and flashrom read the real firmware off the board — which is the only copy of it you can actually verify.20mOpen
  4. 04Anatomy of a UEFI ImageA BIOS region is a filesystem of GUID-named executable volumes — learn to list it, and an implant has nowhere to hide.18mOpen

Talking to the Board

UART, JTAG/SWD, and bus sniffing — the ports and wires that hand you console, CPU, and secrets.

  1. 01UART: The Console They Forgot to DisableNearly every embedded board still exposes a TTL serial console; finding it takes a multimeter, and what it prints decides the rest of the audit.15mOpen
  2. 02JTAG and SWD: Owning the DieJTAG halts cores and reads memory through a debug state machine; readout protection slows a patient attacker by hours, not forever.18mOpen
  3. 03Sniffing SPI, I2C, and LPCSecrets cross exposed buses in plaintext — the discrete-TPM BitLocker attacks are a protocol property, not a trick.15mOpen

Embedded Linux on Real Devices

U-Boot, rootfs teardown, and update mechanisms — the layer where firmware meets a filesystem you can finally ls.

  1. 01U-Boot and the Boot EnvironmentU-Boot is an interactive shell that decides what your kernel is; its environment, its countdown, and its parser bugs are the attack surface.16mOpen
  2. 02Tearing Down the RootfsVendor update files are archives; binwalk, unsquashfs, and ubi_reader turn them into a credential and misconfiguration hunt.15mOpen
  3. 03Update Mechanisms and RollbackEvery OTA path already contains an installer for attacker code; signature placement and monotonic counters are what stand in front of it.18mOpen

Supply Chain and the Invisible Computers

IBV reference code, PKfail, BMC/AMT out-of-band machines, and the measured-boot practices that keep the floor honest.

  1. 01The Firmware Supply ChainYour UEFI was assembled from silicon blobs, IBV frameworks, and EDK II reference code — a bug in any layer lands everywhere below it.15mOpen
  2. 02BMCs, AMT, and the Machine UnderneathA separate ARM computer manages each server while it is 'off'; IPMI cipher 0, AMT's empty-digest auth, and virtual-media abuse are the standing risks.15mOpen
  3. 03Defensive Practice: Measuring and LockingFirmware defense is inventory, measured boot, revocation hygiene, and a small set of fused and configured bits — done before an incident, not after.15mOpen