Sigma rule: Potential Persistence Via Logon Scripts - Registry
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-67d4e48b144d, updated 2025-10-26T00:00:00.000Z.
Rule
- Title
- Potential Persistence Via Logon Scripts - Registry
- Status
- test
- Level
- medium
- Author
- Tom Ueltschi (@c_APT_ure)
- Date
- 2019-01-12
- Modified
- 2025-10-26
- File
- rules/windows/registry/registry_set/registry_set_persistence_logon_scripts_userinitmprlogonscript.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects creation of "UserInitMprLogonScript" registry value which can be used as a persistence method by malicious actors
Log source
- product
- windows
- category
- registry_set
Detection
selection:
TargetObject|contains: 'UserInitMprLogonScript'
condition: selectionFalse positives (as the rule lists them)
- Investigate the contents of the "UserInitMprLogonScript" value to determine of the added script is legitimate
Tags
- attack.privilege-escalation
- attack.t1037.001
- attack.persistence
- attack.lateral-movement
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_persistence_logon_scripts_userinitmprlogonscript.yml
Sources and licences
SigmaHQ
"Potential Persistence Via Logon Scripts - Registry" by Tom Ueltschi (@c_APT_ure) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_persistence_logon_scripts_userinitmprlogonscript.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potential Persistence Via Logon Scripts - Registry",
entity page, dataset version ref-67d4e48b144d, updated 2025-10-26T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9ace0707-b560-49b8-b6ca-5148b42f39fb (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9ace0707-b560-49b8-b6ca-5148b42f39fb, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.