Invoke-Obfuscation STDIN+ Launcher - Security
Detects Obfuscated use of stdin to execute PowerShell
Sigma rule (View on GitHub)
1title: Invoke-Obfuscation STDIN+ Launcher - Security
2id: 0c718a5e-4284-4fb9-b4d9-b9a50b3a1974
3related:
4 - id: 72862bf2-0eb1-11eb-adc1-0242ac120002
5 type: derived
6status: test
7description: Detects Obfuscated use of stdin to execute PowerShell
8references:
9 - https://github.com/SigmaHQ/sigma/issues/1009 # (Task 25)
10author: Jonathan Cheong, oscd.community
11date: 2020-10-15
12modified: 2022-11-29
13tags:
14 - attack.defense-evasion
15 - attack.t1027
16 - attack.execution
17 - attack.t1059.001
18logsource:
19 product: windows
20 service: security
21 definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
22detection:
23 selection:
24 EventID: 4697
25 ServiceFileName|contains|all:
26 - 'cmd'
27 - 'powershell'
28 selection2:
29 ServiceFileName|contains:
30 - '${input}'
31 - 'noexit'
32 selection3:
33 ServiceFileName|contains:
34 - ' /c '
35 - ' /r '
36 condition: all of selection*
37falsepositives:
38 - Unknown
39level: high
References
Related rules
- ConvertTo-SecureString Cmdlet Usage Via CommandLine
- Invoke-Obfuscation CLIP+ Launcher
- Invoke-Obfuscation CLIP+ Launcher - PowerShell
- Invoke-Obfuscation CLIP+ Launcher - PowerShell Module
- Invoke-Obfuscation CLIP+ Launcher - Security