{"id":"821bcf4d-46c7-4b87-bc57-9509d3ba7c11","title":"Root Account Enable Via Dsenableroot","description":"Detects attempts to enable the root account via \"dsenableroot\"","author":"Sohan G (D4rkCiph3r)","status":"test","level":"medium","date":"2023-08-22","modified":"","tags":["attack.privilege-escalation","attack.stealth","attack.t1078","attack.t1078.001","attack.t1078.003","attack.initial-access","attack.persistence"],"technique_ids":["T1078","T1078.001","T1078.003"],"logsource":{"category":"process_creation","product":"macos"},"falsepositives":["Unknown"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/b27a3cb25025161d49ac861cb216db68c46a3537/atomics/T1078.003/T1078.003.md","https://github.com/elastic/detection-rules/blob/4312d8c9583be524578a14fe6295c3370b9a9307/rules/macos/persistence_enable_root_account.toml","https://ss64.com/osx/dsenableroot.html"],"source_path":"rules/macos/process_creation/proc_creation_macos_dsenableroot_enable_root_account.yml","source_sha256":"57751d4d8ac649b376b64157a4e51da6ef1b9cbd8d0a2fec204d5a1212f87299","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/macos/process_creation/proc_creation_macos_dsenableroot_enable_root_account.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Root Account Enable Via Dsenableroot\nid: 821bcf4d-46c7-4b87-bc57-9509d3ba7c11\nstatus: test\ndescription: Detects attempts to enable the root account via \"dsenableroot\"\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/b27a3cb25025161d49ac861cb216db68c46a3537/atomics/T1078.003/T1078.003.md\n    - https://github.com/elastic/detection-rules/blob/4312d8c9583be524578a14fe6295c3370b9a9307/rules/macos/persistence_enable_root_account.toml\n    - https://ss64.com/osx/dsenableroot.html\nauthor: Sohan G (D4rkCiph3r)\ndate: 2023-08-22\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1078\n    - attack.t1078.001\n    - attack.t1078.003\n    - attack.initial-access\n    - attack.persistence\nlogsource:\n    category: process_creation\n    product: macos\ndetection:\n    selection:\n        Image|endswith: '/dsenableroot'\n    filter_main_disable:\n        CommandLine|contains: ' -d '\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1078","id":"T1078","name":"Valid Accounts","page":"techniques/enterprise/T1078/"},{"key":"enterprise/T1078.001","id":"T1078.001","name":"Default Accounts","page":"techniques/enterprise/T1078.001/"},{"key":"enterprise/T1078.003","id":"T1078.003","name":"Local Accounts","page":"techniques/enterprise/T1078.003/"}],"data_path":"data/detection-rules/821bcf4d-46c7-4b87-bc57-9509d3ba7c11.json","kind":"sigma"}
