Invoke-Obfuscation Via Use Rundll32 - PowerShell
Detects Obfuscated Powershell via use Rundll32 in Scripts
Sigma rule (View on GitHub)
1title: Invoke-Obfuscation Via Use Rundll32 - PowerShell
2id: a5a30a6e-75ca-4233-8b8c-42e0f2037d3b
3status: test
4description: Detects Obfuscated Powershell via use Rundll32 in Scripts
5references:
6 - https://github.com/SigmaHQ/sigma/issues/1009
7author: Nikita Nazarov, oscd.community
8date: 2019-10-08
9modified: 2022-11-29
10tags:
11 - attack.defense-evasion
12 - attack.t1027
13 - attack.execution
14 - attack.t1059.001
15logsource:
16 product: windows
17 category: ps_script
18 definition: 'Requirements: Script Block Logging must be enabled'
19detection:
20 selection_4104:
21 ScriptBlockText|contains|all:
22 - '&&'
23 - 'rundll32'
24 - 'shell32.dll'
25 - 'shellexec_rundll'
26 ScriptBlockText|contains:
27 - 'value'
28 - 'invoke'
29 - 'comspec'
30 - 'iex'
31 condition: selection_4104
32falsepositives:
33 - Unknown
34level: 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