REDSUN
NT AUTHORITY\SYSTEM
CLOUD FILES
ZERO-DAY
Zero-DayPrivilege EscalationUnpatchedTLP:GREENApril 23, 2026·16 min read

Microsoft Defender RedSun

When the protector becomes the attacker. An unpatched local privilege escalation that turns Windows Defender into a SYSTEM-level arbitrary-write primitive.

Scroll

RedSun is an unpatched vulnerability in Microsoft Defender's cloud-file remediation pipeline that allows any standard (non-admin) user to escalate to NT AUTHORITY\SYSTEM with approximately 100% reliability on fully patched Windows 10, Windows 11, and Windows Server systems. No CVE has been assigned. The flaw is being actively paired in the wild with two companion Defender zero-days: BlueHammer (CVE-2026-33825, patched April 2026) and UnDefend (unpatched), creating a triple-threat chain that blinds, elevates, and persists -- all through the security product itself.

HIGH
Severity -- Unpatched Zero-Day
SYSTEM
NT AUTHORITY\SYSTEM via LPE
No Patch
No Fix Available from Microsoft
TLP:GREEN -- Approved for Community Distribution

This advisory is classified TLP:GREEN. Recipients may share this information with peers and partner organizations within their community. It should not be posted on publicly accessible websites or shared outside the recipient's community without authorization.

Threat Metadata

FieldDetail
DesignationRedSun
Vulnerability ClassLocal Privilege Escalation (LPE)
CVENone assigned
OutcomeNT AUTHORITY\SYSTEM -- arbitrary write primitive
Affected ComponentWindows Defender (MsMpEng.exe) -- Cloud Files Remediation
Patch StatusNone available
Exploitation StatusObserved in the wild
Reliability~100% on fully patched Windows 10 / 11 / Server
Companion FlawsBlueHammer (CVE-2026-33825, patched) / UnDefend (unpatched)
Attack VectorLocal -- standard user, no admin required
User InteractionNone
Key Insight

Organizations running Defender as their sole endpoint protection -- including Microsoft 365 E5 environments relying exclusively on Defender for Endpoint -- face systemic risk. The same product that detects threats is the attack surface. RedSun does not bypass Defender; it weaponizes Defender's own remediation engine to write attacker-controlled content to privileged locations as SYSTEM.

How the Attack Works

RedSun exploits a time-of-check-time-of-use (TOCTOU) race condition in the way Windows Defender remediates malicious files staged through the Windows Cloud Files API. The attack chain consists of six steps, each requiring only standard-user privileges.

1 Register a Fake Cloud Sync Provider

The attacker registers a user-mode cloud sync provider using the Cloud Files API (CfRegisterSyncRoot). This requires no elevation. The proof-of-concept uses a provider named SERIOUSLYMSFT, registering it under the user's AppData directory.

CfRegisterSyncRoot( syncRootPath, // e.g., %APPDATA%\CloudProvider syncRootInfo, // Provider name: "SERIOUSLYMSFT" CF_REGISTER_FLAG_NONE );

2 Stage a Detectable Payload as a Cloud Placeholder

A file containing a known-malicious signature -- such as the EICAR test string -- is created as a cloud file placeholder. Defender's real-time protection is guaranteed to flag and attempt remediation of this file, which is precisely what the attacker wants.

// Create placeholder with EICAR content CfCreatePlaceholders(syncRootPath, &placeholderInfo, 1, ...); // EICAR: X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

3 Opportunistic Lock Pauses Defender Mid-Remediation

Before Defender completes its remediation (quarantine/delete), the attacker places an opportunistic lock (oplock) on the staged file. When Defender opens the file for remediation, the oplock callback fires, pausing MsMpEng.exe mid-operation. The file handle is now held open by Defender, but the attacker controls what happens next.

// Request oplock on the staged malicious file DeviceIoControl(hFile, FSCTL_REQUEST_OPLOCK, ...);

4 Swap Target for NTFS Junction to System32

While Defender is paused on the oplock, the attacker deletes the original file and replaces the containing directory with an NTFS junction point (directory symlink) aimed at C:\Windows\System32. Creating junctions does not require administrator privileges.

// Replace directory with junction to System32 // No admin privileges required for junction creation mklink /J "%APPDATA%\CloudProvider\target" "C:\Windows\System32"
TOCTOU Race Condition

This is the critical vulnerability. Between the time Defender checks the file location (time-of-check) and the time it writes its remediation action (time-of-use), the attacker redirects the file path via NTFS junction. Defender's remediation engine does not re-validate the target path after the oplock is released. It follows the junction and writes into System32 as NT AUTHORITY\SYSTEM.

5 Release Lock -- Defender Writes into System32 as SYSTEM

The attacker releases the oplock. Defender resumes its remediation and attempts to write/overwrite the file at the original path -- but the path now resolves through the junction to C:\Windows\System32. Because MsMpEng.exe runs as NT AUTHORITY\SYSTEM, it has full write access to the target directory. The attacker controls the content that gets written.

6 Trigger the Overwritten Service Binary

The attacker targets a known service binary -- the proof-of-concept overwrites TieringEngineService.exe (Storage Tiers Management service). Upon service restart or system reboot, the attacker's payload executes as SYSTEM. The entire chain -- from standard user to SYSTEM -- completes without any administrator interaction, UAC prompts, or credential harvesting.

Why It Matters

RedSun represents a foothold-to-kingdom attack in a single step. Any low-privilege foothold -- phishing, drive-by download, compromised service account -- can be immediately escalated to full SYSTEM control. There is no patch. There is no workaround that fully eliminates the risk without disabling Defender functionality.

The Triple-Zero-Day Chain

RedSun does not exist in isolation. It is part of a trio of Defender-targeting vulnerabilities disclosed in April 2026:

Adversaries are pairing these flaws in sequence: UnDefend first (go blind -- Defender stops updating signatures), then RedSun (go SYSTEM -- escalate to full control). The result is an endpoint where the security product is simultaneously degraded and weaponized. Threat intelligence reporting from The Hacker News, Vectra AI, and Help Net Security confirms active exploitation chains using this combination.

Defender-Exclusive Environments at Systemic Risk

The majority of enterprise Windows deployments use Defender as their primary or sole endpoint protection. Microsoft 365 E5 customers often rely exclusively on Defender for Endpoint. RedSun converts the most widely deployed security control on the planet into an attack primitive. This is not a bypass -- it is a weaponization of the defender itself.

MITRE ATT&CK Mapping

Technique IDNameTacticRelevance
T1068Exploitation for Privilege EscalationPrivilege EscalationCore technique -- exploiting Defender's SYSTEM-level remediation to escalate from standard user
T1211Exploitation for Defense EvasionDefense EvasionAbusing a security product's own functionality to evade detection while escalating
T1574.010Hijack Execution Flow: Services File Permissions WeaknessPersistence / Privilege EscalationOverwriting service binaries (TieringEngineService.exe) in System32 via arbitrary write
T1562.001Impair Defenses: Disable or Modify ToolsDefense EvasionUnDefend companion flaw blocks Defender signature updates; combined with RedSun for full chain
T1003.001OS Credential Dumping: LSASS MemoryCredential AccessPost-exploitation -- SYSTEM access enables direct LSASS memory dumping for credential harvesting
T1055Process InjectionDefense Evasion / Privilege EscalationPost-exploitation -- SYSTEM context enables injection into any process for stealth and persistence

Indicators of Compromise

Strings & Provider Names

Known PoC Provider Names & Binaries
  • SERIOUSLYMSFT -- Cloud sync provider name used in public PoC
  • Nightmare-Eclipse -- Alternative provider name observed in wild
  • Chaotic Eclipse -- Alternative provider name observed in wild
  • TieringEngineService.exe -- Targeted service binary for overwrite

API Surface & System Calls

Cloud Files API & NTFS Primitives
  • CfRegisterSyncRoot -- Registers fake cloud provider (triggers attack chain)
  • CfConnectSyncRoot -- Connects to registered sync root for file operations
  • FSCTL_REQUEST_OPLOCK -- Opportunistic lock to pause Defender remediation
  • FSCTL_SET_REPARSE_POINT -- Sets NTFS junction/reparse point to redirect writes

Behavioural Indicators

Detection Telemetry
  • cldapi.dll loaded from %APPDATA% or %TEMP% directories
  • mklink /J junction creation targeting C:\Windows\System32
  • MsMpEng.exe writing .exe or .dll files to System32
  • New SyncRootManager registry key creation under HKCU
  • Failed outbound connections to definitionupdates.microsoft.com (UnDefend indicator)

Mjolnir Client Protection

HEIMDALL -- Network / DLP

Mjolnir's HEIMDALL managed detection and response platform has been updated with signatures targeting the RedSun attack chain at the network layer:

Scope Caveat

RedSun is fundamentally a local privilege escalation. HEIMDALL's network-layer visibility catches the payload-in-transit (staging), C2 communications (post-exploitation), and lateral movement -- but the core exploitation occurs entirely on-host. Endpoint-level detection is essential.

AISOC -- Autonomous SOC

Mjolnir’s AISOC is an AI-run autonomous Security Operations Centre that provides continuous endpoint detection and response:

Recommendations

P1 -- Immediate (Within 24 Hours)
P2 -- Short-Term (48-72 Hours)
P3 -- Ongoing

References

  1. "Analysis: RedSun Local Privilege Escalation -- Defender Remediation Abuse," Core Security. coresecurity.com
  2. "RedSun Windows 0-Day: When Defender Becomes the Attacker," CloudSEK. cloudsek.com
  3. "CSA Research Note: Defender Triple Zero-Day -- BlueHammer, RedSun," Cloud Security Alliance Labs. labs.cloudsecurityalliance.org
  4. "BlueHammer, RedSun, UnDefend: Windows Defender 0-Days," SOCRadar. socradar.io
  5. "New Microsoft Defender RedSun Zero-Day PoC Grants System Privileges," BleepingComputer. bleepingcomputer.com
  6. "Caught, Quarantined, Re-installed: RedSun Turns Microsoft Defender on Itself," CSO Online. csoonline.com
  7. "Defender 0-Day RedSun," CybersecurityNews. cybersecuritynews.com
  8. "BlueHammer, RedSun: Windows Defender CVE-2026-33825 Zero-Day Vulnerability Explained," Picus Security. picussecurity.com
  9. "Three Microsoft Defender Zero-Days," The Hacker News. thehackernews.com

Not Currently Protected? Let's Talk.

Mjolnir Security provides HEIMDALL MDR and AISOC -- purpose-built to detect and respond to zero-day exploitation chains like RedSun before they reach SYSTEM. Our detection engineering team has deployed RedSun-specific rules across all managed clients. If you are not yet a Mjolnir client, contact us to discuss coverage.

HEIMDALL MDRAISOCThreat HuntingDetection EngineeringIncident ResponseRed Team

"There is no problem that cannot be solved by a hammer!"

Written by: Mjolnir Security  |  Published: April 23, 2026