Sigma rule: User Added To Admin Group Via Sysadminctl

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3c4d012a5fdd, updated 2023-03-19T00:00:00.000Z.

Rule

Title
User Added To Admin Group Via Sysadminctl
Status
test
Level
medium
Author
Sohan G (D4rkCiph3r)
Date
2023-03-19
File
rules/macos/process_creation/proc_creation_macos_sysadminctl_add_user_to_admin_group.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempts to create and add an account to the admin group via "sysadminctl"

Log source

product
macos
category
process_creation

Detection

selection:
    # Creates and adds new user to admin group
    Image|endswith: '/sysadminctl'
    CommandLine|contains|all:
        - ' -addUser '
        - ' -admin '
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

Related rules

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

Sources and licences

  • SigmaHQ

    "User Added To Admin Group Via Sysadminctl" by Sohan G (D4rkCiph3r) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_sysadminctl_add_user_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 Sysadminctl",
entity page, dataset version ref-3c4d012a5fdd, updated 2023-03-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/652c098d-dc11-4ba6-8566-c20e89042f2b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 652c098d-dc11-4ba6-8566-c20e89042f2b, 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.