Skip to main content
Mallory
MediumExploited in the wildPublic exploit

Baton Drop Secure Boot Bypass in Windows Boot Manager

IdentifiersCVE-2022-21894CWE-358Also known asblacklotus

CVE-2022-21894, also referred to as "Baton Drop," is a Windows Secure Boot bypass vulnerability affecting older Microsoft-signed Windows boot loaders / boot managers. The issue allows an attacker to use a legitimate but vulnerable boot component that remains cryptographically trusted by UEFI Secure Boot to circumvent Secure Boot policy enforcement during early boot. The provided content indicates the flaw was fixed by Microsoft in January 2022, but exploitation remained viable until vulnerable boot binaries were added to the UEFI revocation database (dbx). Public reporting tied the vulnerability to BlackLotus, which brought its own copies of vulnerable signed boot binaries, manipulated boot configuration data, and achieved arbitrary code execution in early boot phases on systems with Secure Boot enabled. The weakness is described in the supplied material as an improperly implemented security check during loaded image verification / Secure Boot policy enforcement.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits bypass of UEFI Secure Boot on affected Windows systems, including fully patched systems where the vulnerable signed boot binaries are still trusted because dbx is outdated or revocations have not been applied. In the BlackLotus use case described in the content, this enabled pre-OS code execution, installation of a persistent UEFI bootkit in the EFI System Partition, and tampering with security controls before Windows fully loaded. Reported downstream effects included disabling or impairing BitLocker, Hypervisor-Protected Code Integrity / VBS features, and Windows Defender, as well as establishing durable persistence that can survive OS reinstall and support follow-on payload delivery.

Mitigation

If you can’t patch tonight, do this now.

If full remediation is not yet in place, harden Secure Boot policy to block older pre-January 2022 signed Windows boot loaders, ensure dbx is current across the fleet, and monitor for EFI System Partition modifications, suspicious bootloader changes, Secure Boot state changes, and HVCI disablement. The content also supports using TPM / Measured Boot and remote attestation to detect boot-chain deviations, and validating dbx freshness rather than only checking whether Secure Boot is enabled. Additional defensive measures include monitoring for deployment of older Windows bootloader binaries onto the boot partition and for registry changes disabling HVCI.

Remediation

Patch, then assume compromise.

Apply Microsoft's security updates for CVE-2022-21894 and, critically, deploy the Secure Boot revocation updates that add the affected vulnerable boot binaries to the UEFI dbx. The supplied content specifically notes Microsoft revoked vulnerable bootloaders through dbx in May 2023 via KB5025885. Because patching the OS alone was insufficient while the old signed boot managers remained trusted, remediation requires both updated boot components and revocation of vulnerable signed binaries. Organizations should also update bootable / recovery media as needed so they remain compatible with the revocation state.
PUBLIC EXPLOITS

Exploits

4 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 4 / 4 TOTALView more in app
CVE-2022-21894-PayloadMaturityPoCVerified exploit

This repository contains a proof-of-concept (PoC) exploit payload for CVE-2022-21894, a Windows vulnerability that allows attackers to execute arbitrary code in the firmware context during the boot process. The main code file, 'main.c', implements a DLL entry point (McUpdateEntry) that, when loaded as a malicious mcupdate_*.dll, locates the Windows boot loader in memory, allocates a buffer for a custom EFI application, copies the application into memory, and executes it in the firmware context. The payload is minimal (just a stub EFI application), but the structure demonstrates how an attacker could leverage the vulnerability to run arbitrary EFI code and call EFI services. The repository is structured as a Visual Studio C/C++ project, with supporting solution and project files, and a readme describing its purpose. No network or remote endpoints are present; the attack is local and requires the ability to place a malicious DLL on the target system.

ASkyeyeDisclosed Aug 18, 2022clocal
CVE-2022-21894MaturityPoCVerified exploit

This repository provides a proof-of-concept (POC) exploit for CVE-2022-21894 ("Baton Drop"), a Secure Boot security feature bypass vulnerability in Microsoft Windows. The exploit leverages manipulation of boot configuration data (BCD) elements such as 'truncatememory' and 'avoidlowmemory' to remove the serialized Secure Boot policy from memory, allowing the use of dangerous boot options and the loading of self-signed payloads during the boot process. The included payload (mcupdate.c) is a simple DLL that demonstrates code execution by entering an infinite wait state, but the mechanism allows for more advanced payloads, such as those that could extract BitLocker keys. The repository also includes a tool (FveAddMetadataForPolicy.c) for manipulating BitLocker metadata, which can assist in setting up the attack. The exploit targets Windows systems with Secure Boot enabled and requires the attacker to supply custom boot applications and payloads. The code is written in C and batch scripts, and the repository is structured with separate directories for payloads and tools. No network endpoints are present; the attack is local and requires physical or privileged access to the target system.

Wack0Disclosed Aug 9, 2022cbatchlocal
batondrop_armv7MaturityPoCVerified exploit

This repository contains a multi-stage exploit chain ('baton drop') targeting ARMv7-based Windows RT devices (specifically MSM8960, e.g., Dell XPS 10). The exploit enables execution of unsigned EFI boot applications by bypassing Secure Boot and code integrity mechanisms. The structure includes C source files for three main components: boot.c (a simple EFI application), mcupdate.c (the initial loader and orchestrator), and stage2.c (the second-stage loader that prepares the environment and executes the payload). Several batch scripts automate building and signing the components. The exploit works by patching the boot process to load mcupdate.dll, which then loads stage2.dll and a user-supplied boot.efi from the EFI system partition. The README provides detailed exploitation steps and device requirements. The attack vector is local, requiring physical access and a prepared USB device. The main fingerprintable endpoints are the file paths used for loading the payload and stage2 components. The exploit is operational, providing a working method to run arbitrary code at boot on affected devices.

Wack0Disclosed Mar 11, 2023cbatchlocal
CVE-2022-21894-Payload-NewMaturityPoCVerified exploit

This repository contains an operational exploit payload for CVE-2022-21894, a Secure Boot Security Feature Bypass vulnerability affecting Microsoft Windows. The main exploit logic is implemented in 'main.c', which contains code to map and execute a custom EFI application (embedded as a byte array) in the firmware context. The build process (via 'build.bat') signs the malicious DLL and EFI binaries and renames them to mimic legitimate system files (e.g., 'mcupdate_GenuineIntel.dll', 'mcupdate_AuthenticAMD.dll', 'hello.efi'). The exploit demonstrates how an attacker can bypass Secure Boot and execute arbitrary code at the firmware level, enabling further attacks such as persistence or disabling security features. The repository is structured as a Visual Studio C/C++ project, with supporting solution and project files, and a batch script for building and signing the payloads. The exploit is not part of a framework and is a standalone operational PoC with a real payload.

nova-masterDisclosed Sep 26, 2023cbatchlocal
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10operating_system
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 1909operating_system
Microsoft CorporationWindows 10 20h2operating_system
Microsoft CorporationWindows 10 21h1operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 11operating_system
Microsoft CorporationWindows 11 21h2operating_system
Microsoft CorporationWindows 8.1operating_system
Microsoft CorporationWindows Serveroperating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 20h2operating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware16

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.