{"id":"b22a5b36-2431-493a-8be1-0bae56c28ef3","title":"Hidden User Creation","description":"Detects creation of a hidden user account on macOS (UserID < 500) or with IsHidden option","author":"Daniil Yugoslavskiy, oscd.community","status":"test","level":"medium","date":"2020-10-10","modified":"2021-11-27","tags":["attack.stealth","attack.t1564.002"],"technique_ids":["T1564.002"],"logsource":{"category":"process_creation","product":"macos"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.002/T1564.002.md"],"source_path":"rules/macos/process_creation/proc_creation_macos_create_hidden_account.yml","source_sha256":"fdd4a79d1262a7dfe24923949c020151734a6d39f6e0b59e6adc50b9e31128f6","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/macos/process_creation/proc_creation_macos_create_hidden_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: Hidden User Creation\nid: b22a5b36-2431-493a-8be1-0bae56c28ef3\nstatus: test\ndescription: Detects creation of a hidden user account on macOS (UserID < 500) or with IsHidden option\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.002/T1564.002.md\nauthor: Daniil Yugoslavskiy, oscd.community\ndate: 2020-10-10\nmodified: 2021-11-27\ntags:\n    - attack.stealth\n    - attack.t1564.002\nlogsource:\n    category: process_creation\n    product: macos\ndetection:\n    dscl_create:\n        Image|endswith: '/dscl'\n        CommandLine|contains: 'create'\n    id_below_500:\n        CommandLine|contains: UniqueID\n        CommandLine|re: '([0-9]|[1-9][0-9]|[1-4][0-9]{2})'\n    ishidden_option_declaration:\n        CommandLine|contains: 'IsHidden'\n    ishidden_option_confirmation:\n        CommandLine|contains:\n            - 'true'\n            - 'yes'\n            - '1'\n    condition: dscl_create and id_below_500 or dscl_create and (ishidden_option_declaration and ishidden_option_confirmation)\nfalsepositives:\n    - Legitimate administration activities\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1564.002","id":"T1564.002","name":"Hidden Users","page":"techniques/enterprise/T1564.002/"}],"data_path":"data/detection-rules/b22a5b36-2431-493a-8be1-0bae56c28ef3.json","kind":"sigma"}
