User Added To Admin Group Via Dscl
Detects attempts to create and add an account to the admin group via "dscl"
Detection logic
Detection requirements
- Platform
- ContainersESXiLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- macos
- Log source category
- process_creation
Known benign triggers
- Legitimate administration activities
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1078.003/T1078.003.md#atomic-test-2---create-local-account-with-admin-privileges---macos | 3 |
| ss64.com/osx/dscl.html | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- b743623c-2776-40e0-87b1-682b975d0ca5
- Tagged by the source as
- attack.initial-accessattack.persistenceattack.privilege-escalationattack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1