Lesson 11 of 13 · 15m
The Firmware Supply Chain
Your UEFI was assembled from silicon blobs, IBV frameworks, and EDK II reference code — a bug in any layer lands everywhere below it.
Nobody wrote your firmware
The logo on the laptop did not write the BIOS. The silicon vendor supplied binary blobs — Intel's FSP and CSME firmware, AMD's AGESA — that bring up memory and security processors. An independent BIOS vendor supplied the framework: AMI's Aptio, InsydeH2O, or Phoenix, all built on the EDK II (TianoCore) reference implementation. An ODM integrated it onto the board. The OEM put their logo on the capsule. A vulnerability in any layer propagates to every product below it, which is why firmware advisories arrive in waves across vendors that share nothing but EDK II.
PixieFail is the clean example (Quarkslab, January 2024): nine CVEs in EDK II's NetworkPkg — its PXE-over-IPv6 code — including CVE-2023-45230, a buffer overflow handling long DHCPv6 Advertise messages that lands remote code execution during network boot. The same vulnerable parser shipped in Tianocore and from there into AMI, Insyde, and Phoenix products. PXE boot on an untrusted network was an unauthenticated, pre-boot, pre-OS RCE — and it existed in the reference implementation everyone copied. Patch latency is the compounding problem: EDK II fixes land upstream, but each IBV and OEM re-spins firmware on its own schedule, so the same CVE lives for quarters downstream of the fix.
LogoFAIL (Binarly, December 2023) generalized differently: boot-logo image parsers in DXE drivers across all three IBVs, CVE-2023-40238 the flagship, reached by a crafted BMP/PNG on the ESP. Secure Boot did not fire because the image was file content read as data, not a loaded executable — a mechanism gap, not a signing failure.
PKfail: the keys were left in
Binarly's August 2024 disclosure is the most instructive because the bug is a process failure. Devices from multiple vendors shipped with their Platform Key set to AMI's test keys — certificates literally labelled 'DO NOT TRUST' / 'DO NOT SHIP' (CVE-2024-8105). Whoever holds the test key's private half is the platform owner of Secure Boot on those devices: they can sign KEK, db, dbx updates, whitelist anything, revoke anything. Not a parser bug, not crypto — a key-management leak baked into shipping hardware for years. The mechanics are embarrassingly mundane: AMI's reference code ships with test keys intended to be replaced in integration, and ODMs shipped units without replacing them. Supply-chain failures are usually like this — boring handoffs, not intrigue.
The wrong mental model
"The vendor vetted the firmware." The vendor assembled it, and vetting extends as far as the least careful contributor. Conversely, 'supply chain' does not mean spy-movie silicon implants — the plausible attack surface is code and keys, not hardware pixie dust. Bloomberg's 2018 'tiny chip on the Supermicro board' story described a mechanism that is physically possible but was never corroborated, while the verified implants of the era — the NSA ANT catalog's JTAG taps and firmware interposers like FIREWALK and COTTONMOUTH — worked through exactly the debug and firmware paths this course covers — COTTONMOUTH was an RF bridge hidden inside a USB plug, FIREWALK the same idea behind an Ethernet jack, both built on commodity buses under the assumption of physical access. Weight the evidence accordingly: spend defense on the layers that demonstrably get used.
What to actually do
Track advisories at the layer where the code lives — EDK II's security advisories and the IBVs' own pages, not just your OEM's support site, since the OEM notice usually lands last. When a vendor firmware update exists, the question is which upstream component it actually contains — a fixed NetworkPkg rebuild or a rebrand of the same vulnerable drop. Keep dbx/SBAT revocation data current via fwupdmgr or Windows Update. Verify the PK on hardware you buy: efi-readvar -v pk should show a real vendor certificate, not a test one — a ten-second check that belongs in acquisition QA as much as in incident response. And treat PXE/network boot as an opt-in on untrusted networks — the parsers run before any OS defense exists.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Januscape: A 16-Year-Old Linux KVM Escape Bug
CVE-2026-53359 lets a guest VM crash or potentially root your Proxmox host, and it hid in KVM's shared code for 16 years. What to patch and how to check.
The CPU-ocalypse Is Here, and the AI Industry Walked Right Into It
For three years the AI industry watched GPUs. Nobody was watching the CPU. Now Intel is warning of six-month lead times, AMD has blown past expectations, and the chip everyone assumed would always be available has become the new bottleneck in the biggest infrastructure buildout since the internet.
The RAMpocalypse! How AI Companies Are Destroying the Hosting Industry and Your Wallet
How AI infrastructure demand is driving up VPS and dedicated server costs — and why your hosting bill is going up even though you haven't changed anything.
Getting Started with Embedded C
The Goal By the end of this tutorial, you will be able to compile a binary written for the avr instruction set targeting the AtMega328P microcontroller on an Arduino Nano or Arduino Uno R3 form factor. Needed Documentation * Arduino Nano PCB design * Atmega328P datasheet Materials used * Arduino Nano * Arduino Uno R3 * Relevant cable * Computer Software Used * make (for easy of compiling and building) * avr-gcc (our compiler for avr ISA) * binutils-avr * avr-libc * avrdude (