Microsoft's Secure Boot Vulnerable to Bypass for Over a Decade, Researchers Reveal

Microsoft's Secure Boot Vulnerable to Bypass for Over a Decade, Researchers Reveal

A security standard developed by Microsoft to safeguard Windows and later Linux devices against firmware-based attacks has been susceptible to a straightforward bypass for 13 of its 14 years in operation, according to new findings from cybersecurity firm ESET.

Researchers identified 11 firmware images—known as shims—that contained known vulnerabilities yet remained digitally signed by Microsoft. At least one of these defective images dates back to 2013, meaning the weakness has been exploitable for over a decade without detection.

Shims were originally created to broaden Secure Boot compatibility to Linux distributions and utility software. They serve as intermediaries that extend the boot security mechanism beyond Microsoft's own ecosystem. However, the same tools designed to enhance security have inadvertently created a persistent backdoor.

How the Bypass Works

The technique required to circumvent Secure Boot through these old shims is remarkably simple. According to ESET researcher Martin Smolár, the attack does not require any novel vulnerability or sophisticated exploitation methods. Instead, an attacker needs only a copy of an old, still-trusted but unrevoked shim binary and a basic understanding of how UEFI shims function.

Secure Boot is embedded directly into the UEFI (Unified Extensible Firmware Interface) on a device's motherboard. Its purpose is to ensure that only digitally signed, trusted firmware loads during the boot process. By using one of the unrevoked shims, an attacker can completely sidestep this protection and install malicious firmware that executes before the operating system even starts.

The root of the problem lies in Microsoft's failure to revoke the compromised shim images after vulnerabilities were discovered in them. As the entity responsible for overseeing the signing of shims, Microsoft had the authority and ability to invalidate these defective images but did not do so.

Threat Extends Across Operating Systems

The vulnerability affects both Windows and Linux users, since the shim mechanism operates at the firmware level, beneath the operating system. Once a malicious actor installs a bootkit using the bypass technique, the malicious firmware loads early in the boot sequence and remains persistent even if the operating system is reinstalled or the hard drive is replaced.

This persistence makes the attack particularly dangerous. Traditional security measures, including OS reinstallation and hardware replacement of storage drives, are insufficient to remove the threat. The malware embeds itself at a level that predates and supersedes the operating system entirely.

Smolár emphasized that what makes these old shims dangerous is precisely the absence of any need for a new vulnerability. The existing, trusted but unrevoked binaries provide everything an attacker needs to defeat what should be an essential security feature.

A Decade of Bootkit Threats

Secure Boot was introduced in 2012 specifically to combat bootkits—malicious firmware that loads during the boot process before the operating system. Without this protection, attackers who gain even brief physical access to a device, including when it is powered off, can install persistent firmware-level malware.

The threat is not theoretical. Over the years, security researchers have documented numerous bootkits deployed in real-world attacks. In 2018, Russian state-sponsored hackers were identified using a bootkit called LoJax. Subsequent years saw the discovery of MosaicRegressor in 2020, CosmicStrand in 2022, and BlackLotus in 2023.

Additional bootkits tracked by researchers include ESpecter, FinSpy, and MoonBounce, among others. These tools represent a growing arsenal of firmware-level threats that Secure Boot was designed to neutralize.

The revelation that Secure Boot has been circumventable for the majority of its existence raises serious questions about the effectiveness of one of the computing industry's most fundamental security mechanisms. With the bypass technique simple enough for novice hackers to execute, and the affected shims still publicly available, the discovery underscores the importance of timely revocation of compromised security credentials.

As the industry digests these findings, users and organizations alike may need to reassess their assumptions about firmware-level security. Have you encountered firmware security concerns in your environment? Share this article with your network and join the conversation about what this discovery means for the future of device security.

Source: Ars Technica