Sigma rule: Hiding User Account Via SpecialAccounts Registry Key - CommandLine
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-912d6605ffcd, updated 2024-08-23T00:00:00.000Z.
Rule
- Title
- Hiding User Account Via SpecialAccounts Registry Key - CommandLine
- Status
- test
- Level
- medium
- Author
- @Kostastsale, TheDFIRReport
- Date
- 2022-05-14
- Modified
- 2024-08-23
- File
- rules/windows/process_creation/proc_creation_win_registry_special_accounts_hide_user.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects changes to the registry key "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\Userlist" where the value is set to "0" in order to hide user account from being listed on the logon screen.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\reg.exe'
CommandLine|contains|all:
- '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList'
- 'add'
- '/v'
- '/d 0'
condition: selectionFalse positives (as the rule lists them)
- System administrator activities
Tags
- attack.stealth
- attack.t1564.002
MITRE ATT&CK ids this rule names
Related rules
References
- https://thedfirreport.com/2024/01/29/buzzing-on-christmas-eve-trigona-ransomware-in-3-hours/
- https://thedfirreport.com/2024/04/01/from-onenote-to-ransomnote-an-ice-cold-intrusion/
- https://thedfirreport.com/2024/04/29/from-icedid-to-dagon-locker-ransomware-in-29-days/
- https://thedfirreport.com/2022/07/11/select-xmrig-from-sqlserver/
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/process_creation/proc_creation_win_registry_special_accounts_hide_user.yml
Sources and licences
SigmaHQ
"Hiding User Account Via SpecialAccounts Registry Key - CommandLine" by @Kostastsale, TheDFIRReport (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_registry_special_accounts_hide_user.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: Hiding User Account Via SpecialAccounts Registry Key - CommandLine",
entity page, dataset version ref-912d6605ffcd, updated 2024-08-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9ec9fb1b-e059-4489-9642-f270c207923d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9ec9fb1b-e059-4489-9642-f270c207923d, 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.