Sigma rule: PowerShell Scripts Installed as Services
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d4c681d9c1c6, updated 2022-12-25T00:00:00.000Z.
Rule
- Title
- PowerShell Scripts Installed as Services
- Status
- test
- Level
- high
- Author
- oscd.community, Natalia Shornikova
- Date
- 2020-10-06
- Modified
- 2022-12-25
- File
- rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects powershell script installed as a Service
Log source
- product
- windows
- service
- system
Detection
selection:
Provider_Name: 'Service Control Manager'
EventID: 7045
ImagePath|contains:
- 'powershell'
- 'pwsh'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1569.002
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml
Sources and licences
SigmaHQ
"PowerShell Scripts Installed as Services" by oscd.community, Natalia Shornikova (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: PowerShell Scripts Installed as Services",
entity page, dataset version ref-d4c681d9c1c6, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a2e5019d-a658-4c6a-92bf-7197b54e2cae (accessed 2026-11-03).
Underlying source: SigmaHQ rule a2e5019d-a658-4c6a-92bf-7197b54e2cae, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.