UEFI Firmware Attacks and Vulnerabilities
What You'll Learn
You'll understand the major classes of attacks targeting UEFI firmware and why they're particularly dangerous to system security.
The Threat Landscape Below the Operating System
Now that you know how Secure Boot protects the boot chain, it's critical to understand what happens when attackers compromise the firmware itself. UEFI firmware sits below your operating system—meaning traditional antivirus and security tools often can't detect or remove malware at this level. This makes firmware the ultimate high-ground for persistent attacks.
Common UEFI Threats
Bootkits
Bootkits are malware that infects the boot process itself, executing before the operating system loads. Unlike legacy BIOS bootkits, UEFI bootkits exploit vulnerabilities in UEFI firmware or modules. Think of them as hijacking the keys to your house before you even walk through the door—they control everything that comes after.
Firmware Rootkits
Firmware rootkits embed themselves directly in the UEFI firmware storage (flash memory). They survive OS reinstallations and disk replacements because they live on the motherboard itself. Examples include LoJax and MosaicRegressor. These are the nightmare scenario: invisible, persistent, and nearly impossible to remove without specialized tools or hardware replacement.
Firmware Update Vulnerabilities
The firmware update mechanism itself can be a weak point. Attackers exploit:
- Unsigned or weakly-signed updates that bypass integrity checks
- Downgrade attacks where older, vulnerable firmware versions are forcibly installed
- Update process race conditions allowing malicious code injection during flashing
Even with Secure Boot enabled, vulnerabilities in the update process can completely undermine your security posture.
Key Takeaway: UEFI firmware attacks—including bootkits, firmware rootkits, and update mechanism exploits—operate below the OS level, making them extremely persistent and difficult to detect, which is why protecting the firmware layer through Secure Boot and verified updates is critical.