Windows Mandatory User Profiles Abused for Persistence and EDR Evasion
Attack Tradecraft · 3 sources · Updated 4mo ago · First seen Aug 11, 2026

Security researchers described a Windows persistence technique that abuses Mandatory User Profiles by planting a modified NTUSER.MAN registry hive in a user profile directory, causing attacker-controlled settings to load into HKEY_CURRENT_USER at logon. Because the hive is prepared offline and then consumed by the normal profile-loading process, the method can evade security products that primarily monitor registry API activity such as RegCreateKey and RegSetValue. The approach is particularly relevant to kiosks, shared workstations, and other environments where mandatory profiles may already be in use.
The reporting highlighted proof-of-concept tooling including Praetorian Swarmer and HiveSwarming, which can transform exported HKCU data into an NTUSER.MAN hive and add startup persistence such as a Run key. Defenders were advised to monitor creation of NTUSER.MAN files in user profile paths, correlate those events with Microsoft-Windows-User Profile Service Operational events 5 and 67, and watch for suspicious Offreg.dll loads. Researchers characterized the technique as uncommon but stealthy, expanding attention on Windows registry attack surface and profile-handling mechanisms as a path for persistence.
Why it matters
Impact assessment
This technique affects Windows endpoints and servers, with elevated relevance for kiosks, shared workstations, and any environment using or permitting Mandatory User Profiles. The impact is primarily stealthy persistence and reduced EDR visibility rather than direct exploitation of a software flaw, enabling attackers to re-establish execution at user logon while bypassing detections focused on standard registry API activity.
The exposure is targeted rather than internet-scale, but it is operationally significant because it abuses legitimate Windows profile-loading behavior. No in-the-wild exploitation is cited in the provided references; the reporting describes researcher proof-of-concept tradecraft that defenders should treat as a realistic persistence and defense-evasion method.
Affected populations
- Windows endpoints
- Windows servers with interactive logon profiles
- Kiosks
- Shared workstations
- Environments that legitimately use Mandatory User Profiles
Severity and business risk
- Enables persistent execution at user logon
- Reduces visibility for EDR tools that emphasize
RegCreateKeyandRegSetValuemonitoring - Can support follow-on malware execution, credential theft, or lateral movement after persistence is established
- May complicate incident response because malicious registry state is prepared offline and loaded by normal OS mechanisms
Scope and exploitation status
- Scope is targeted and environment-dependent
- Most relevant where attackers can write to user profile directories or stage profile artifacts
- No CVE or vendor patch context is provided because this is an abuse of intended Windows functionality
- No confirmed in-the-wild incidents are stated in the references


