{"id":"ddf36b67-e872-4507-ab2e-46bda21b842c","title":"Local System Accounts Discovery - MacOs","description":"Detects enumeration of local systeam accounts on MacOS","author":"Alejandro Ortuno, oscd.community","status":"test","level":"low","date":"2020-10-08","modified":"2022-11-27","tags":["attack.discovery","attack.t1087.001"],"technique_ids":["T1087.001"],"logsource":{"category":"process_creation","product":"macos"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1087.001/T1087.001.md"],"source_path":"rules/macos/process_creation/proc_creation_macos_local_account.yml","source_sha256":"05f99670aeab20412eabe48e44d73e3b0dc2bbc109e704cf4b80f9b368b105ce","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/macos/process_creation/proc_creation_macos_local_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: Local System Accounts Discovery - MacOs\nid: ddf36b67-e872-4507-ab2e-46bda21b842c\nstatus: test\ndescription: Detects enumeration of local systeam accounts on MacOS\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1087.001/T1087.001.md\nauthor: Alejandro Ortuno, oscd.community\ndate: 2020-10-08\nmodified: 2022-11-27\ntags:\n    - attack.discovery\n    - attack.t1087.001\nlogsource:\n    category: process_creation\n    product: macos\ndetection:\n    selection_1:\n        Image|endswith: '/dscl'\n        CommandLine|contains|all:\n            - 'list'\n            - '/users'\n    selection_2:\n        Image|endswith: '/dscacheutil'\n        CommandLine|contains|all:\n            - '-q'\n            - 'user'\n    selection_3:\n        CommandLine|contains: '''x:0:'''\n    selection_4:\n        Image|endswith: '/cat'\n        CommandLine|contains:\n            - '/etc/passwd'\n            - '/etc/sudoers'\n    selection_5:\n        Image|endswith: '/id'\n    selection_6:\n        Image|endswith: '/lsof'\n        CommandLine|contains: '-u'\n    condition: 1 of selection*\nfalsepositives:\n    - Legitimate administration activities\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1087.001","id":"T1087.001","name":"Local Account","page":"techniques/enterprise/T1087.001/"}],"data_path":"data/detection-rules/ddf36b67-e872-4507-ab2e-46bda21b842c.json","kind":"sigma"}
