Sigma rule: User Added To Admin Group Via DseditGroup

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-831525b30e5c, updated 2023-08-22T00:00:00.000Z.

Rule

Title
User Added To Admin Group Via DseditGroup
Status
test
Level
medium
Author
Sohan G (D4rkCiph3r)
Date
2023-08-22
File
rules/macos/process_creation/proc_creation_macos_dseditgroup_add_to_admin_group.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
macos
category
process_creation

Detection

selection:
    Image|endswith: '/dseditgroup'
    CommandLine|contains|all:
        - ' -o edit ' # edit operation
        - ' -a ' # username
        - ' -t user'
        - 'admin' # Group name
condition: selection

False positives (as the rule lists them)

  • Legitimate administration activities

Tags

  • attack.persistence
  • attack.initial-access
  • attack.privilege-escalation
  • attack.stealth
  • attack.t1078.003

MITRE ATT&CK ids this rule names

References

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_dseditgroup_add_to_admin_group.yml

Sources and licences

  • SigmaHQ

    "User Added To Admin Group Via DseditGroup" by Sohan G (D4rkCiph3r) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_dseditgroup_add_to_admin_group.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: User Added To Admin Group Via DseditGroup",
entity page, dataset version ref-831525b30e5c, updated 2023-08-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5d0fdb62-f225-42fb-8402-3dfe64da468a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5d0fdb62-f225-42fb-8402-3dfe64da468a, 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.