← Back to Blog
BitLocker YellowKey Exploit: Bypassing Encryption via USB
News

BitLocker YellowKey Exploit: Bypassing Encryption via USB

Published

cybersecuritybitlockerwindows-11zero-dayencryption

Physical security for Windows devices just hit a breaking point. If an attacker gains physical access to a Windows 11 laptop, BitLocker—the gold standard for full disk encryption (FDE)—is no longer a guaranteed barrier. A newly released zero-day exploit dubbed YellowKey demonstrates that a specifically prepared USB stick and a simple key combination can drop any user into an elevated command prompt with full read/write access to encrypted data, bypassing the Windows login wall entirely.

This isn't a complex cryptographic attack or a multi-day brute force. It is a logic bypass that targets the inherent trust relationship between the Trusted Platform Module (TPM) and the Windows Recovery Environment (WinRE). By exploiting how Windows 11 handles system repairs, the researcher known as Chaotic Eclipse (or Nightmare-Eclipse) has effectively turned the recovery process into a skeleton key.

Key Takeaways

  • YellowKey targets Windows 11 and Windows Server 2022/2025; Windows 10 is currently unaffected.
  • The exploit leverages the Windows Recovery Environment (WinRE) to trick the TPM into releasing encryption keys.
  • Public PoCs are mitigated by a BitLocker PIN and a BIOS/UEFI password, though the researcher claims a private variant exists that bypasses PINs.
  • The exploit's behavior—specifically self-deleting files—has led to allegations of a deliberate "backdoor" within the Windows recovery image.

The Mechanism: Why the TPM Complies

To understand YellowKey, you must understand the default BitLocker implementation on most consumer and enterprise laptops. Most systems use TPM-only authentication.

Under normal circumstances, when you power on your machine, the BIOS/UEFI hands over control to the Windows Boot Manager. The TPM checks the integrity of the boot files (via PCR registers). If the system looks "authentic"—meaning no one has tampered with the kernel or bootloader—the TPM releases the BitLocker decryption key to memory. The drive unlocks, and you proceed to the Windows login screen.

YellowKey interrupts this flow by utilizing the Windows Recovery Environment (WinRE). Because WinRE is a signed, trusted component of the Windows ecosystem, the TPM views a boot into recovery as a "normal" and "safe" path. It releases the keys so that Windows can perform automated repairs. YellowKey hijacks this transition. By placing crafted files in the System Volume Information directory of a USB drive and holding the Control key during a reboot, the exploit prevents the standard recovery UI from loading. Instead, it forces the system to execute a shell (cmd.exe) with SYSTEM privileges before the user is ever prompted for a password.

The Anatomy of the Attack

The simplicity of the execution is what makes YellowKey particularly dangerous for field-deployed hardware. The researcher noted that the process requires zero specialized hardware beyond a standard thumb drive.

Implementation Steps

  1. Preparation: An attacker gains write access to a USB drive's hidden System Volume Information folder. They copy a folder named FsTx containing specific exploit payloads.
  2. Triggering WinRE: On the target's lock screen, the attacker holds Shift while clicking Restart. This signals Windows to boot into the recovery environment.
  3. The Intercept: As the machine reboots, the attacker holds the Control key.
  4. The Payload: The crafted files on the USB stick manipulate a configuration file within the recovery image. Instead of launching the blue "Choose an option" menu, the system drops directly into an elevated command prompt.
  5. Data Access: Because the TPM has already released the BitLocker key to allow "recovery," the drive is mounted and unencrypted. The attacker has full access to the file system.

One of the most alarming technical details reported by Tom's Hardware and independent testers is that the exploit files on the USB stick disappear after a single successful use. This "self-destruct" mechanism is atypical for standard software bugs and aligns more closely with sophisticated malware or forensic tools designed to leave no trace.

The "Backdoor" Controversy

Chaotic Eclipse has claimed that YellowKey isn't just a bug, but evidence of a deliberate backdoor. The primary argument is that the bypass component exists exclusively within the recovery image and nowhere else in the Windows OS.

While Microsoft has not yet officially acknowledged the zero-day, the security community is split. Some researchers, like Kevin Beaumont, have confirmed the exploit's efficacy while remaining cautious about the "backdoor" label. Others suggest this may be an unintended consequence of Microsoft's efforts to make system recovery as frictionless as possible for non-technical users.

Regardless of intent, the result is the same: the "Recovery" feature is now a primary attack vector for physical data theft.

Practical Defense: Hardening Your Fleet

If you are managing Windows 11 devices, the default configuration is insufficient against a physical adversary. Based on current research and community testing, here is how you should secure your systems immediately.

1. Enable BitLocker PIN (Pre-Boot Authentication)

While the researcher claims a variant exists that can bypass a PIN, the currently public Proof-of-Concept (PoC) is stopped by it. When a PIN is required, the TPM will not release the decryption key to the recovery environment—or any environment—until the PIN is entered.

To enable this via Group Policy: Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives > Require additional authentication at startup.

2. Set a BIOS/UEFI Password

The YellowKey attack requires the ability to boot from or interact with USB devices and trigger specific boot paths. A BIOS/UEFI password prevents an attacker from changing boot orders or bypassing secondary security checks.

3. Disable WinRE (High-Security Only)

For devices containing extremely sensitive data, you can disable the Windows Recovery Environment entirely. This removes the primary path YellowKey uses to trick the TPM.

Run the following command in an elevated PowerShell:

reagentc /disable

Warning: This will make system repairs significantly more difficult, as you will need external bootable media to fix OS issues.

Comparison: Mitigation Effectiveness

Feature Standard (TPM Only) Enhanced (TPM + PIN) Lockdown (WinRE Disabled)
YellowKey Resistance Vulnerable Resistant (Current PoC) Highly Resistant
Physical Theft Protection Low High High
User Friction Low Medium High
Maintenance Ease High High Low

Frequently Asked Questions

Does YellowKey work on Windows 10?
No. Current research indicates the exploit is specific to the recovery environment architecture found in Windows 11 and Windows Server 2022/2025.
Will a BIOS password stop this attack?
It adds a significant layer of defense. A BIOS password can prevent the unauthorized use of USB devices during the boot process, which is a prerequisite for the YellowKey payload to execute.
Why does the TPM release the key if the system is being exploited?
The TPM is programmed to trust the Windows Recovery Environment (WinRE) because it is digitally signed by Microsoft. YellowKey doesn't break the signature; it exploits the logic of how WinRE starts up after the key is already released.
Is this fixed in the latest Windows Update?
As of mid-May 2026, Microsoft has not released a specific patch for YellowKey. Following the researcher's previous exploits (BlueHammer, RedSun), a fix may take several weeks or months to be fully integrated into the Windows kernel.

If you're managing a fleet of devices and need to automate these security remediations across your infrastructure, we can help. AImatic specializes in securing technical operations and building robust automation for small businesses. Reach out to us at hello@aimatic.dev to audit your physical security posture.

Microsoft BitLocker-protected drives can now be opened with just some files on a USB stick - Tom's Hardware Microsoft BitLocker-protected drives now vulnerable to YellowKey - Yahoo Tech Windows 11 BitLocker Bypass: YellowKey Zero-Day Exploit Breakdown

Related Posts