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.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Alejandro Ortuno, oscd.communityCreated Tue Oct 06Updated Sat Feb 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
Rule Metadata
Rule ID
51719bf5-e4fd-4e44-8ba8-b830e7ac0731
Status
test
Level
low
Type
Detection
Created
Tue Oct 06
Modified
Sat Feb 18
Path
rules/macos/process_creation/proc_creation_macos_create_account.yml
Raw Tags
attack.t1136.001attack.persistence
View on GitHub