Detectionlowtest
Creation Of A Local User Account
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.
Alejandro Ortuno, oscd.communityCreated 2020-10-06Updated 2023-02-1851719bf5-e4fd-4e44-8ba8-b830e7ac0731macos
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
selection_dscl:
Image|endswith: '/dscl'
CommandLine|contains: 'create'
selection_sysadminctl:
Image|endswith: '/sysadminctl'
CommandLine|contains: 'addUser'
condition: 1 of selection_*False Positives
Legitimate administration activities
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
51719bf5-e4fd-4e44-8ba8-b830e7ac0731
Status
test
Level
low
Type
Detection
Created
2020-10-06
Modified
2023-02-18
Author
Path
rules/macos/process_creation/proc_creation_macos_create_account.yml
Raw Tags
attack.t1136.001attack.persistence