Sigma rule: Creation Of A Local User Account
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-cc2d83d46737, updated 2023-02-18T00:00:00.000Z.
Rule
- Title
- Creation Of A Local User Account
- Status
- test
- Level
- low
- Author
- Alejandro Ortuno, oscd.community
- Date
- 2020-10-06
- Modified
- 2023-02-18
- File
- rules/macos/process_creation/proc_creation_macos_create_account.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation of a new user account. Such accounts may be used for persistence that do not require persistent remote access tools to be deployed on the system.
Log source
- product
- macos
- category
- process_creation
Detection
selection_dscl:
Image|endswith: '/dscl'
CommandLine|contains: 'create'
selection_sysadminctl:
Image|endswith: '/sysadminctl'
CommandLine|contains: 'addUser'
condition: 1 of selection_*False positives (as the rule lists them)
- Legitimate administration activities
Tags
- attack.t1136.001
- attack.persistence
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1136.001/T1136.001.md
- https://ss64.com/osx/sysadminctl.html
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_create_account.yml
Sources and licences
SigmaHQ
"Creation Of A Local User Account" by Alejandro Ortuno, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_create_account.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: Creation Of A Local User Account",
entity page, dataset version ref-cc2d83d46737, updated 2023-02-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/51719bf5-e4fd-4e44-8ba8-b830e7ac0731 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 51719bf5-e4fd-4e44-8ba8-b830e7ac0731, 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.