Malicious Logon Script Persistence via UserInitMprLogonScript

PremiumReviewedSigma · High · v1
Product
windows
Category
registry_set
Author
HuntRule
Published
2026-06-07
Updated
2026-08-28

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects the creation or modification of the UserInitMprLogonScript value under the user Environment key, a logon persistence technique observed in a martial-law-themed APT campaign that pointed this value at updater.exe to execute at each logon. It captures the abuse of a rarely used logon-script registry entry to survive reboots. Detecting this is important because UserInitMprLogonScript is almost never set by legitimate software and is a well-known persistence primitive.

Related detections4 linkedT1037.001 — drag to rearrange
Suspicious COLDRIVER Logon Script Persistence via UserInitMprLogonScript (via process_creation)
Windows userinit.exe Spawns Uncommon Child Processes
Windows Command Line Logon Script Persistence via UserInitMprLogonScript
Windows Registry Persistence via UserInitMprLogonScript Value
Malicious Logon Script Persistence via UserInitMprLogonScript
Pivot detection · T1037.001 · 4 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.