Files
hayabusa/rules/sigma/registry_event/sysmon_powershell_as_service.yml
DustInDark 0cfa806baf Feature/addruletype to sigma rule#230 (#235)
* added ruletype to SIGMA rule #230

* added ruletype to SIGMA rule converter tool #231
2021-11-28 18:14:51 +09:00

38 lines
881 B
YAML

title: PowerShell as a Service in Registry
author: oscd.community, Natalia Shornikova
date: 2020/10/06
description: Detects that a powershell code is written to the registry as a service.
detection:
SELECTION_1:
EventID: 12
SELECTION_2:
EventID: 13
SELECTION_3:
EventID: 14
SELECTION_4:
TargetObject: '*\Services\\*'
SELECTION_5:
TargetObject: '*\ImagePath'
SELECTION_6:
Details:
- '*powershell*'
- '*pwsh*'
condition: ((SELECTION_1 or SELECTION_2 or SELECTION_3) and SELECTION_4 and SELECTION_5
and SELECTION_6)
falsepositives:
- Unknown
id: 4a5f5a5e-ac01-474b-9b4e-d61298c9df1d
level: high
logsource:
category: registry_event
product: windows
modified: 2021/05/21
references:
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse
status: experimental
tags:
- attack.execution
- attack.t1569.002
ruletype: SIGMA