Detectionhightest
PowerShell Scripts Installed as Services
Detects powershell script installed as a Service
oscd.community, Natalia ShornikovaCreated 2020-10-06Updated 2022-12-25a2e5019d-a658-4c6a-92bf-7197b54e2caewindows
Log Source
Windowssystem
ProductWindows← raw: windows
Servicesystem← raw: system
Detection Logic
Detection Logic1 selector
detection:
selection:
Provider_Name: 'Service Control Manager'
EventID: 7045
ImagePath|contains:
- 'powershell'
- 'pwsh'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
a2e5019d-a658-4c6a-92bf-7197b54e2cae
Status
test
Level
high
Type
Detection
Created
2020-10-06
Modified
2022-12-25
Author
Path
rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml
Raw Tags
attack.executionattack.t1569.002