Detectionhightest

PowerShell Scripts Installed as Services

Detects powershell script installed as a Service

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
oscd.community, Natalia ShornikovaCreated Tue Oct 06Updated Sun Dec 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: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

MITRE ATT&CK
Rule Metadata
Rule ID
a2e5019d-a658-4c6a-92bf-7197b54e2cae
Status
test
Level
high
Type
Detection
Created
Tue Oct 06
Modified
Sun Dec 25
Path
rules/windows/builtin/system/service_control_manager/win_system_powershell_script_installed_as_service.yml
Raw Tags
attack.executionattack.t1569.002
View on GitHub