Powershell run code from registry

Powershell run code from registry

Sigma rule (View on GitHub)

 1title: Powershell run code from registry
 2status: experimental
 3description: Powershell run code from registry
 4author: Joe Security
 5date: 2020-02-12
 6id: 200051
 7threatname:
 8behaviorgroup: 1
 9classification: 8
10mitreattack:
11
12logsource:
13    category: process_creation
14    product: windows
15detection:
16    selection:
17        CommandLine:
18            - '*powershell*iex(get-itemproperty hkcu*'
19            - '*powershell*iex(get-itemproperty khlm*'
20            - '*powershell*iex*::ascii.getstring(( gp*hkcu:*'
21    condition: selection
22level: critical
to-top