Lucene search
K

Windows Defender (MsMpEng.exe) - Race Condition

🗓️ 06 Jul 2026 00:00:00Reported by nu11secur1tyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 79 Views

Defender MpCleanCallbackFunction race with Shadow Copy enables SYSTEM LPE and Defender crash.

Code
# Titles: Windows Defender (MsMpEng.exe) - Race Condition 
# Author: nu11secur1ty
# Date: 2026-06-11
# Vendor: Microsoft Corporation
# Software: Windows Defender Antivirus (MsMpEng.exe)
# Reference:
https://gitlab.com/nu11secur1ty/0/-/raw/main/README.md?ref_type=heads

## Description:
A race condition exists between Windows Defender's
`MpCleanCallbackFunction` (cleanup routine) and Volume Shadow Copy
creation. Successful exploitation results in:

1. LPE (Local Privilege Escalation) to NT AUTHORITY\SYSTEM via
`CreateProcessAsUser`
2. Use-after-free condition causing Windows Defender (`MsMpEng.exe`) to
crash
3. System remains without antivirus protection for the session

The exploit uses:
- Fake ISO mount via `OpenVirtualDisk` / `AttachVirtualDisk`
- Real-time priority escalation (`REALTIME_PRIORITY_CLASS` +
`THREAD_PRIORITY_TIME_CRITICAL`)
- Speed racing against Defender's cleanup routine

**STATUS: HIGH - Critical (0-Day / LPE)**

Exploit:
[url](https://gitlab.com/nu11secur1ty/0.git)

Demo:
[url](https://www.patreon.com/nu11secur1ty/posts/honda-exploit-160798929)

Time spent:
9:10:00

--
System Administrator - Infrastructure Engineer
Penetration Testing Engineer
Exploit developer at https://packetstormsecurity.com/
https://cve.mitre.org/index.html
https://cxsecurity.com/ and https://www.exploit-db.com/
home page: https://www.asc3t1c-nu11secur1ty.com/
hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E=
nu11secur1ty https://www.asc3t1c-nu11secur1ty.com/
-- 

System Administrator - Infrastructure Engineer
Penetration Testing Engineer
Exploit developer at https://packetstorm.news/
https://cve.mitre.org/index.html
https://cxsecurity.com/ and https://www.exploit-db.com/
0day Exploit DataBase https://0day.today/
home page: https://www.asc3t1c-nu11secur1ty.com/
hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E=
                          nu11secur1ty <http://nu11secur1ty.com/>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation