Praetorian Releases Swarmer Tool to Evade EDR via Offline Windows Registry Hive Persistence
Attack Tradecraft · 3 sources · Updated 5mo ago · First seen Jan 29, 2026

Praetorian publicly released Swarmer, a Windows persistence tool that enables low-privilege attackers to establish startup execution while evading EDR visibility by avoiding standard registry-write APIs. The technique abuses mandatory user profiles by creating a NTUSER.MAN hive (derived from NTUSER.DAT) that overrides the normal per-user registry hive at next logon; because the modified hive is not loaded until the user signs in again, EDR products that rely on monitoring live registry modifications (e.g., hooks on RegSetValue* and related telemetry) may not observe the persistence being set.
Swarmer achieves this by using Microsoft’s Offline Registry Library (offreg.dll) to build and modify registry hives “offline” (e.g., via functions such as OROpenHive, ORCreateKey, ORSetValue, and ORSaveHive) rather than calling the typical Reg* APIs that many EDRs instrument. Reported operator workflow includes exporting HKCU, adding a startup entry (commonly under HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run), generating a modified NTUSER.MAN, and placing it in %USERPROFILE% so the persistence activates on the next login; the Reddit post links to the same research/tool release and reiterates the core evasion premise (no observable registry writes at the time persistence is staged).


