RedSun Abuses Windows Defender Rewrite for SYSTEM Access on Win10/11
RedSun technique leverages Defender's cloud-tagged file rewrite logic to overwrite system files granting SYSTEM access, connecting to documented patterns in Windows privilege escalation rather than treating it as a singular bug.
Windows Defender's cloud tag detection triggers a file rewrite to original location instead of removal, enabling overwrite of system files for privilege escalation to SYSTEM on current Windows 10, 11 and Server editions. The primary GitHub repository provides PoC code demonstrating the unexpected Defender behavior where flagged files are restored rather than quarantined, allowing substitution of protected binaries cited directly from https://github.com/Nightmare-Eclipse/RedSun. This matches patterns in prior elevation of privilege flaws including CVE-2021-34527 PrintSpooler exploits and multiple Patch Tuesday fixes documented by Microsoft Security Response Center. Related MITRE ATT&CK mappings under T1068 detail how such OS component interactions enable privilege escalation while Elastic Security Labs 2022 analysis of Defender tampering techniques exposed similar bypass vectors in antimalware self-protection. Coverage of individual incidents has overlooked the recurring architectural pattern of security products introducing writable paths to trusted locations. Synthesis of the RedSun source, MITRE framework and Elastic reports indicates these are not isolated coding errors but stem from fundamental Windows assumptions about file handling and AV remediation that persist across updates.
AXIOM: Microsoft will patch the Defender cloud-tag rewrite path in an upcoming update, but similar OS/AV interaction flaws are likely to reappear until core file protection models are redesigned.
Sources (3)
- [1]RedSun: System user access on Win 11/10 and Server with the April 2026 Update(https://github.com/Nightmare-Eclipse/RedSun)
- [2]Privilege Escalation(https://attack.mitre.org/techniques/T1068/)
- [3]Elastic Security Labs: Windows Defender Tampering(https://www.elastic.co/blog/elastic-protects-against-windows-defender-tampering)