Windows Defender (MpEngine) - Arbitrary File Drop / Privilege Abuse via Symlink Racing (SigDrop / Karate)

2026.11.27
Credit: nu11secur1ty
Risk: Medium
Local: Yes
Remote: No
CVE: N/A
CWE: N/A

# Title: Windows Defender (MpEngine) - Arbitrary File Drop / Privilege Abuse via Symlink Racing (SigDrop / Karate) # Author: nu11secur1ty # Date: November 17, 2026 # Vendor: Microsoft # Software: Windows Defender / MpEngine # Reference: https://odysee.com/@nu11secur1ty:b/SigDrop-Karate-LPE:2b1651e72c ## Description: Overview of the Current Stage At this critical milestone, the karate.exe exploit successfully achieves an arbitrary file drop directly inside the protected C:\Windows\ directory from a standard unprivileged context. By leveraging the Microsoft Defender engine update mechanism as a high-integrity proxy, the exploit completely bypasses standard Access Control Lists (ACLs) and mandatory integrity controls that normally block low-integrity users. What We Leave Behind in C:\Windows\ Examining the final phase of the implementation reveals precisely what is being deposited into the protected system root: Target Artifact Creation (win.ini_hack): Instead of a traditional executable or library, the exploit creates a file named win.ini_hack directly within C:\\Windows\\. Payload Content & Intent: The file contains structured configuration-style text payloads (specifically designed with custom batch/INI formatting such as [DefenderError] headers and diagnostic messages). This serves as physical proof that arbitrary data can be written into locked directories where standard user write operations yield an immediate Access is denied. error. Security Context & Persistence: Following the file drop, the exploit attempts to secure the newly placed artifact by applying explicit access control adjustments (SetSecurityInfo with protected DACLs) to restrict deletion rights. Simultaneously, system-level command execution (system()) triggers immediate administrative side-effects (such as appending lines into C:\Windows\win.ini), demonstrating active modification of critical system state files under the hood. The Exploit Workflow: Step-by-Step Breakdown Without looking at the source implementation, the mechanics of how this state is achieved rely on a precise orchestration of native Windows subsystems: Stage 1: Preparation & Environment Initialization The process elevates its scheduling priority to ensure minimal latency during race conditions. It generates unique GUIDs to construct isolated temporary working directories under %TEMP% and prepares object paths. Stage 2: Baiting and Transactional Setup A bait file (MpEngine.dll) is created within the temporary workspace. A transactional NTFS context (ktmw32.lib) is initialized to handle file states safely and atomically. Stage 3: Opportunistic Locking (Oplock) & Monitoring An oplock (FSCTL_REQUEST_OPLOCK) is placed on the bait file. Simultaneously, directory change notifications (ReadDirectoryChangesW) are armed to monitor the system root for incoming activity. Stage 4: RPC Trigger & Object Manager Redirection A worker thread initiates an RPC call (Proc42_ServerMpUpdateEngineSignature) to the local Microsoft Defender service (MsMpEng.exe), forcing it to process signature updates using its SYSTEM privileges. The moment the service attempts to interact with the expected container paths, the exploit intercepts the operation via an object manager symbolic link (NtCreateSymbolicLinkObject) rooted in \BaseNamedObjects\Restricted\. Stage 5: The Proxy Write & Race Resolution Fooled by the symbolic link redirection, the high-integrity SYSTEM service follows the path into the protected C:\Windows\ directory, believing it is writing a legitimate container file. The oplock breaks, the transactional handle finalizes the write, and the file win.ini_hack successfully lands on disk. Why This Represents a Major Paradigm Shift The significance of this stage is profound: The Death of Traditional ACL Assumptions: Standard operating system design assumes that file system boundaries (C:\Windows\) are impenetrable to low-integrity users. This exploit proves that permission boundaries can be bypassed entirely by utilizing trusted system services as unwitting proxies. Functional File Dropping Without Direct Rights: By delegating the physical I/O operation to a privileged component, the user successfully populates restricted system paths, turning an architectural trust feature into a powerful privilege abuse primitive. STATUS: PoC / Working [+]Payload and Exploits: ```cpp // Refer to the main repository code implementation for karate.exe (SigDrop) // Utilizes NtCreateSymbolicLinkObject, CLFS logging, DeviceIoControl oplocks, // and Proc42_ServerMpUpdateEngineSignature RPC routines. ``` # Reproduce: [https://github.com/nu11secur1ty/Windows11-Exploits/tree/main/SigDrop-Karate](https://github.com/nu11secur1ty/Windows11Exploits/tree/main/2026/SigDrop-Karate) # Demo: [https://odysee.com/@nu11secur1ty:b/SigDrop-Karate-LPE:2b1651e72c](https://odysee.com/@nu11secur1ty:b/SigDrop-Karate-LPE:2b1651e72c) # Time spent: 03:45: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/>


Vote for this issue:
100%
0%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2026, cxsecurity.com

 

Back to Top