Detectionmediumtest

User Added To Admin Group Via DseditGroup

Detects attempts to create and/or add an account to the admin group, thus granting admin privileges.

Convert In Phoenix Studio

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

Launch
Sohan G (D4rkCiph3r)Created Tue Aug 225d0fdb62-f225-42fb-8402-3dfe64da468amacos
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 Logic1 selector
detection:
    selection:
        Image|endswith: '/dseditgroup'
        CommandLine|contains|all:
            - ' -o edit ' # edit operation
            - ' -a ' # username
            - ' -t user'
            - 'admin' # Group name
    condition: selection
False Positives

Legitimate administration activities

Rule Metadata
Rule ID
5d0fdb62-f225-42fb-8402-3dfe64da468a
Status
test
Level
medium
Type
Detection
Created
Tue Aug 22
Path
rules/macos/process_creation/proc_creation_macos_dseditgroup_add_to_admin_group.yml
Raw Tags
attack.persistenceattack.defense-evasionattack.initial-accessattack.privilege-escalationattack.t1078.003
View on GitHub