Files
hayabusa/rules/sigma/registry_event/sysmon_powershell_as_service.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

38 lines
881 B
YAML

title: PowerShell as a Service in Registry
ruletype: Sigma
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