{"id":"a2e5019d-a658-4c6a-92bf-7197b54e2cae","title":"PowerShell Scripts Installed as Services","description":"Detects powershell script installed as a Service","author":"oscd.community, Natalia Shornikova","status":"test","level":"high","date":"2020-10-06","modified":"2022-12-25","tags":["attack.execution","attack.t1569.002"],"technique_ids":["T1569.002"],"logsource":{"product":"windows","service":"system"},"falsepositives":["Unknown"],"references":["https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse"],"source_path":"rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml","source_sha256":"db4e9b40abc87785cb924559de65de64b506cc2ac8a746522ce20d0d51737b6c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PowerShell Scripts Installed as Services\nid: a2e5019d-a658-4c6a-92bf-7197b54e2cae\nstatus: test\ndescription: Detects powershell script installed as a Service\nreferences:\n    - https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse\nauthor: oscd.community, Natalia Shornikova\ndate: 2020-10-06\nmodified: 2022-12-25\ntags:\n    - attack.execution\n    - attack.t1569.002\nlogsource:\n    product: windows\n    service: system\ndetection:\n    selection:\n        Provider_Name: 'Service Control Manager'\n        EventID: 7045\n        ImagePath|contains:\n            - 'powershell'\n            - 'pwsh'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1569.002","id":"T1569.002","name":"Service Execution","page":"techniques/enterprise/T1569.002/"}],"data_path":"data/detection-rules/a2e5019d-a658-4c6a-92bf-7197b54e2cae.json","kind":"sigma"}
