{"id":"5a105d34-05fc-401e-8553-272b45c1522d","title":"CobaltStrike Service Installations - System","description":"Detects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement","author":"Florian Roth (Nextron Systems), Wojciech Lesicki","status":"test","level":"critical","date":"2021-05-26","modified":"2022-11-27","tags":["attack.persistence","attack.execution","attack.privilege-escalation","attack.lateral-movement","attack.t1021.002","attack.t1543.003","attack.t1569.002"],"technique_ids":["T1021.002","T1543.003","T1569.002"],"logsource":{"product":"windows","service":"system"},"falsepositives":["Unknown"],"references":["https://www.sans.org/webcasts/119395","https://www.crowdstrike.com/blog/getting-the-bacon-from-cobalt-strike-beacon/","https://thedfirreport.com/2021/08/29/cobalt-strike-a-defenders-guide/"],"source_path":"rules/windows/builtin/system/service_control_manager/win_system_cobaltstrike_service_installs.yml","source_sha256":"72c28ec5eb960dea4598cc421487121b84b42b8a6a4842b94daa4f897b26624a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/system/service_control_manager/win_system_cobaltstrike_service_installs.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: CobaltStrike Service Installations - System\nid: 5a105d34-05fc-401e-8553-272b45c1522d\nstatus: test\ndescription: Detects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement\nreferences:\n    - https://www.sans.org/webcasts/119395\n    - https://www.crowdstrike.com/blog/getting-the-bacon-from-cobalt-strike-beacon/\n    - https://thedfirreport.com/2021/08/29/cobalt-strike-a-defenders-guide/\nauthor: Florian Roth (Nextron Systems), Wojciech Lesicki\ndate: 2021-05-26\nmodified: 2022-11-27\ntags:\n    - attack.persistence\n    - attack.execution\n    - attack.privilege-escalation\n    - attack.lateral-movement\n    - attack.t1021.002\n    - attack.t1543.003\n    - attack.t1569.002\nlogsource:\n    product: windows\n    service: system\ndetection:\n    selection_id:\n        Provider_Name: 'Service Control Manager'\n        EventID: 7045\n    selection1:\n        ImagePath|contains|all:\n            - 'ADMIN$'\n            - '.exe'\n    selection2:\n        ImagePath|contains|all:\n            - '%COMSPEC%'\n            - 'start'\n            - 'powershell'\n    selection3:\n        ImagePath|contains: 'powershell -nop -w hidden -encodedcommand'\n    selection4:\n        ImagePath|base64offset|contains: \"IEX (New-Object Net.Webclient).DownloadString('http://127.0.0.1:\"\n    condition: selection_id and (selection1 or selection2 or selection3 or selection4)\nfalsepositives:\n    - Unknown\nlevel: critical\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.002","id":"T1021.002","name":"SMB/Windows Admin Shares","page":"techniques/enterprise/T1021.002/"},{"key":"enterprise/T1543.003","id":"T1543.003","name":"Windows Service","page":"techniques/enterprise/T1543.003/"},{"key":"enterprise/T1569.002","id":"T1569.002","name":"Service Execution","page":"techniques/enterprise/T1569.002/"}],"data_path":"data/detection-rules/5a105d34-05fc-401e-8553-272b45c1522d.json","kind":"sigma"}
