LevelBlue SpiderLabs analyzed RoguePlanet, a multi-stage Windows exploit chain that abuses Microsoft Defender, NTFS reparse points, VSS, and Windows Error Reporting to achieve SYSTEM execution on fully patched Windows systems. The article also covers GreatXML, which abuses WinRE answer-file processing and offline-scan state to access BitLocker-protected data through the recovery partition. #RoguePlanet #GreatXML #MicrosoftDefender #BitLocker #WinRE #wermgr.exe #ReAgent.xml
Keypoints
- RoguePlanet is a local privilege escalation technique that can turn a standard user into SYSTEM on patched Windows 10 and Windows 11 systems.
- The exploit chain abuses legitimate Windows components, including Microsoft Defender, NTFS reparse points, opportunistic locks, Windows Error Reporting, and shadow copy behavior.
- A highly reliable detection clue is the creation of a fake System32 directory under %TEMP% and the deterministic wermgr.exe:WDFOO alternate data stream.
- Telemetry can also reveal abnormal file churn, raw device path usage, mount point activity, and SYSTEM processes operating on attacker-controlled temporary paths.
- GreatXML does not provide initial access; instead, it abuses WinRE processing of unattend.xml to access BitLocker-protected volumes during an offline-scan boot state.
- The most important GreatXML detection point is the planting of files on the recovery partition, since later trigger stages occur outside normal Windows telemetry context.
- The research emphasizes behavioral correlation over signature matching because the techniques rely on trusted components and survive recompilation.
MITRE Techniques
- [T1546.012] Event Triggered Execution: Image File Execution Options Injection â The chain abuses Windows Error Reporting and scheduled-task-driven execution to launch attacker-controlled code under SYSTEM (âtrigger the QueueReporting scheduled task⌠The task executes wermgr.exe⌠and spawns a shellâ).
- [T1098] Account Manipulation â GreatXML uses an answer file and recovery-partition changes to persistently alter system recovery behavior (âpersistent, hidden modificationâ and âwrite unattend.xml + RecoveryWindowsRE to recovery partitionâ).
- [T1053.005] Scheduled Task/Job: Scheduled Task â RoguePlanet triggers the Windows Error Reporting QueueReporting scheduled task to execute its payload (âThe Windows Task Scheduler COM interface is used to trigger the QueueReporting scheduled taskâ).
- [T1027] Obfuscated Files or Information â The exploit hides malicious behavior inside legitimate-looking system binaries and directories, including a fake System32 path and reused wermgr.exe naming (âstructurally identical to⌠C:WindowsSystem32wermgr.exeâ).
- [T1036] Masquerading â The payload is made to resemble a trusted Windows binary and path to mislead defenders (âwermgr.exe⌠resides in %TEMP%⌠structurally identical to the legitimate system binaryâ).
- [T1091] Replication Through Removable Media â The malicious ISO is mounted as part of the exploit workflow, introducing external media-style execution context (âmounts an embedded ISO imageâ).
- [T1543] Create or Modify System Process â The chain abuses trusted system services and remediation workflows to run attacker content as SYSTEM (âcause a SYSTEM-level scheduled task to execute an attacker-controlled binaryâ).
- [T1112] Modify Registry â GreatXML relies on WinRE and offline-scan state handling tied to system configuration changes (âthe offline-scan boot state changes that processing contextâ).
- [T1003] OS Credential Dumping â Not directly evidenced as dumping, but the article references SYSTEM shell and LSASS-related noise only as incidental; no clear primary use is described, so this technique is not strongly supported and should be treated as absent.
- [T1211] Exploitation for Defense Evasion â RoguePlanet manipulates Defenderâs own workflow to alter remediation behavior (âactively manipulating Defenderâs workflowâ).
- [T1055] Process Injection â Not described in the article; no confirmed process injection behavior is present, so this technique is not supported.
- [T1021] Remote Services â The article mentions remote access revocation and physical/console trigger paths, but not remote-service abuse; no direct evidence supports this technique.
- [T1218] System Binary Proxy Execution â The exploit uses trusted Windows binaries and workflows such as wermgr.exe and conhost.exe to execute attacker-controlled content (âlaunches a console shell⌠with SYSTEM privilegesâ).
- [T1564.001] Hide Artifacts: Hidden Files and Directories â GreatXML places files on a hidden recovery partition and RoguePlanet uses hidden temp-based structures (âhidden partitionâ and âfake System32 in user-writable pathâ).
- [T1070.004] File Deletion â RoguePlanet performs rapid create/modify/rename/delete cycles across temporary directories (âhigh-frequency file churn⌠create, modify, rename, and delete cyclesâ).
- [T1074.001] Local Data Staging â GreatXML stages files on the recovery partition for later use (âthe artifacts⌠survive credential rotationâ).
- [T1106] Native API â RoguePlanet uses low-level Windows APIs like NtSetInformationFile and NT file APIs (âusing low-level NT file APIsâ and âNtSetInformationFile with FileRenameInformationExâ).
- [T1021.006] Windows Remote Management â Not mentioned in the article; no evidence supports this technique.
- [T1548] Abuse Elevation Control Mechanism â RoguePlanet achieves privilege escalation by abusing trusted system behavior rather than kernel exploitation (âstandard user to obtain SYSTEM-level executionâ).
Indicators of Compromise
- [File path] RoguePlanet staging artifacts â %TEMP%RP_System32wermgr.exe, %TEMP%RP_System32wermgr.exe:WDFOO
- [Directory path] Fake system directories â %TEMP%RP_System32, %TEMP%RP_wdtest_temp
- [Named pipe] Optional inter-process channel â .pipeRoguePlanet
- [Filesystem/VSS object] Shadow copy discovery â HarddiskVolumeShadowCopy*, DeviceCDROMX
- [Scheduled task] Execution trigger â MicrosoftWindowsWindows Error ReportingQueueReporting
- [File name] Malicious recovery and WinRE files â unattend.xml, ReAgent.xml
- [Directory / partition] Recovery partition tampering â RecoveryWindowsRE, WindowsRE created or modified on the recovery partition
- [Process name] System binaries involved in the chain â wermgr.exe, WerFault.exe, MsMpEng.exe, conhost.exe
- [Commanding artifact] Low-level file operations â repeated 4,096-byte writes, UUID-named temp files, and high-frequency file churn
- [Mount/device reference] Raw device path activity â Device* references and mounted ISO device paths
- [Tooling artifact] Proof-of-concept names â RoguePlanet.exe, Schneegans unattend-generator