Detectionhightest
Invoke-Obfuscation Via Use Rundll32 - PowerShell
Detects Obfuscated Powershell via use Rundll32 in Scripts
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nikita Nazarov, oscd.communityCreated Tue Oct 08Updated Tue Nov 29a5a30a6e-75ca-4233-8b8c-42e0f2037d3bwindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection_4104:
ScriptBlockText|contains|all:
- '&&'
- 'rundll32'
- 'shell32.dll'
- 'shellexec_rundll'
ScriptBlockText|contains:
- 'value'
- 'invoke'
- 'comspec'
- 'iex'
condition: selection_4104False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Techniques
Sub-techniques
Rule Metadata
Rule ID
a5a30a6e-75ca-4233-8b8c-42e0f2037d3b
Status
test
Level
high
Type
Detection
Created
Tue Oct 08
Modified
Tue Nov 29
Author
Path
rules/windows/powershell/powershell_script/posh_ps_invoke_obfuscation_via_use_rundll32.yml
Raw Tags
attack.defense-evasionattack.t1027attack.executionattack.t1059.001