Skip to main content
Mallory
← Back to News
persistence-methodendpoint-security-bypassdetection-content-updateoffensive-tooling-release

Windows Mandatory User Profiles Abused for Persistence and EDR Evasion

Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Aug 11, 2026

Windows Mandatory User Profiles Abused for Persistence and EDR Evasion

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.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · 2022 – Aug 11, 2026
  1. Aug 11, 20263mo ago

    Technique is shared on r/netsec

    A post by netbiosX on r/netsec highlighted Mandatory User Profiles as a persistence and EDR evasion technique on Windows, describing how NTUSER.MAN settings load into HKEY_CURRENT_USER at authentication.

    Mandatory User Profile for Persistence & EDR Evasion : r/netsec
  2. Aug 11, 20263mo ago

    Purple Team publishes Mandatory User Profile persistence research

    A Purple Team article described how attackers can abuse NTUSER.MAN to establish Windows persistence while bypassing common EDR visibility tied to standard registry APIs, and included detection guidance and proof-of-concept tooling references.

    Mandatory User Profile - Purple Team
  3. 2025

    Google Project Zero discusses the technique

    A 2025 Google Project Zero article later discussed the Mandatory User Profile abuse technique as part of Windows registry attack-surface analysis.

    Mandatory User Profile - Purple Team
  4. 2022

    Jonas Lyk discovers Mandatory User Profile abuse technique

    The Windows persistence technique that abuses Mandatory User Profiles by placing a tampered NTUSER.MAN hive in a user profile directory was discovered by Jonas Lyk in 2022.

    Mandatory User Profile - Purple Team
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Windows
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.