Sigma rule: User Added to Local Administrators Group
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-976d35893874, updated 2023-03-02T00:00:00.000Z.
Rule
- Title
- User Added to Local Administrators Group
- Status
- test
- Level
- medium
- Author
- Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-08-12
- Modified
- 2023-03-02
- File
- rules/windows/process_creation/proc_creation_win_susp_add_user_local_admin_group.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects addition of users to the local administrator group via "Net" or "Add-LocalGroupMember".
Log source
- product
- windows
- category
- process_creation
Detection
selection_main:
- CommandLine|contains|all:
# net.exe
- 'localgroup '
- ' /add'
- CommandLine|contains|all:
# powershell.exe
- 'Add-LocalGroupMember '
- ' -Group '
selection_group:
CommandLine|contains:
- ' administrators '
- ' administrateur' # Typo without an 'S' so we catch both
condition: all of selection_*False positives (as the rule lists them)
- Administrative activity
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1098
MITRE ATT&CK ids this rule names
Related rules
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/process_creation/proc_creation_win_susp_add_user_local_admin_group.yml
Sources and licences
SigmaHQ
"User Added to Local Administrators Group" by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_add_user_local_admin_group.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: User Added to Local Administrators Group",
entity page, dataset version ref-976d35893874, updated 2023-03-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ad720b90-25ad-43ff-9b5e-5c841facc8e5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ad720b90-25ad-43ff-9b5e-5c841facc8e5, 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.