Full SigmaHQ catalog

Author
Florian Roth (Nextron Systems), Wojciech Lesicki
Rule ID
5a105d34-05fc-401e-8553-272b45c1522d
Collection
Core
Log source
windows / system
Severity
critical
Maturity
test
First published
2021-05-26
Updated
2022-11-27
MITRE ATT&CK
T1021.002, T1543.003, T1569.002

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    product: windows
    service: system
detection:
    selection_id:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
    selection1:
        ImagePath|contains|all:
            - 'ADMIN$'
            - '.exe'
    selection2:
        ImagePath|contains|all:
            - '%COMSPEC%'
            - 'start'
            - 'powershell'
    selection3:
        ImagePath|contains: 'powershell -nop -w hidden -encodedcommand'
    selection4:
        ImagePath|base64offset|contains: "IEX (New-Object Net.Webclient).DownloadString('http://127.0.0.1:"
    condition: selection_id and (selection1 or selection2 or selection3 or selection4)
falsepositives:
    - Unknown