Detectionhightest

Invoke-Obfuscation Via Use Rundll32 - PowerShell Module

Detects Obfuscated Powershell via use Rundll32 in Scripts

Open in Detection LabConvert ruleBuild Package
Nikita Nazarov, oscd.communityCreated 2019-10-08Updated 2022-11-2988a22f69-62f9-4b8a-aa00-6b0212f2f05awindows
Log Source
WindowsPowerShell Module
ProductWindows← raw: windows
CategoryPowerShell Module← raw: ps_module

Definition

0ad03ef1-f21b-4a79-8ce8-e6900c54b65b

Detection Logic
Detection Logic1 selector
detection:
    selection_4103:
        Payload|contains|all:
            - '&&'
            - 'rundll32'
            - 'shell32.dll'
            - 'shellexec_rundll'
        Payload|contains:
            - 'value'
            - 'invoke'
            - 'comspec'
            - 'iex'
    condition: selection_4103
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
88a22f69-62f9-4b8a-aa00-6b0212f2f05a
Status
test
Level
high
Type
Detection
Created
2019-10-08
Modified
2022-11-29
Path
rules/windows/powershell/powershell_module/posh_pm_invoke_obfuscation_via_use_rundll32.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001
View on GitHub