{"id":"652c098d-dc11-4ba6-8566-c20e89042f2b","title":"User Added To Admin Group Via Sysadminctl","description":"Detects attempts to create and add an account to the admin group via \"sysadminctl\"","author":"Sohan G (D4rkCiph3r)","status":"test","level":"medium","date":"2023-03-19","modified":"","tags":["attack.persistence","attack.initial-access","attack.privilege-escalation","attack.stealth","attack.t1078.003"],"technique_ids":["T1078.003"],"logsource":{"category":"process_creation","product":"macos"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1078.003/T1078.003.md#atomic-test-3---create-local-account-with-admin-privileges-using-sysadminctl-utility---macos","https://ss64.com/osx/sysadminctl.html"],"source_path":"rules/macos/process_creation/proc_creation_macos_sysadminctl_add_user_to_admin_group.yml","source_sha256":"b83edb6ae7fc5f353b7f503bd19de7c64b342e9690a06e4b410a711bb71f2c62","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/macos/process_creation/proc_creation_macos_sysadminctl_add_user_to_admin_group.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: User Added To Admin Group Via Sysadminctl\nid: 652c098d-dc11-4ba6-8566-c20e89042f2b\nrelated:\n    - id: 0c1ffcf9-efa9-436e-ab68-23a9496ebf5b\n      type: obsolete\nstatus: test\ndescription: Detects attempts to create and add an account to the admin group via \"sysadminctl\"\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1078.003/T1078.003.md#atomic-test-3---create-local-account-with-admin-privileges-using-sysadminctl-utility---macos\n    - https://ss64.com/osx/sysadminctl.html\nauthor: Sohan G (D4rkCiph3r)\ndate: 2023-03-19\ntags:\n    - attack.persistence\n    - attack.initial-access\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1078.003\nlogsource:\n    category: process_creation\n    product: macos\ndetection:\n    selection:\n        # Creates and adds new user to admin group\n        Image|endswith: '/sysadminctl'\n        CommandLine|contains|all:\n            - ' -addUser '\n            - ' -admin '\n    condition: selection\nfalsepositives:\n    - Legitimate administration activities\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1078.003","id":"T1078.003","name":"Local Accounts","page":"techniques/enterprise/T1078.003/"}],"data_path":"data/detection-rules/652c098d-dc11-4ba6-8566-c20e89042f2b.json","kind":"sigma"}
