Detectionmediumtest

Invoke-Obfuscation RUNDLL LAUNCHER - Security

Detects Obfuscated Powershell via RUNDLL LAUNCHER

Open in Detection LabConvert ruleBuild Package
Timur Zinniatullin, oscd.communityCreated 2020-10-18Updated 2022-11-29f241cf1b-3a6b-4e1a-b4f9-133c00dd95cawindows
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security

Definition

The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697

Detection Logic
Detection Logic1 selector
detection:
    selection:
        EventID: 4697
        ServiceFileName|contains|all:
            - 'rundll32.exe'
            - 'shell32.dll'
            - 'shellexec_rundll'
            - 'powershell'
    condition: selection
False Positives
Unknown

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

Rule Metadata
Rule ID
f241cf1b-3a6b-4e1a-b4f9-133c00dd95ca
Status
test
Level
medium
Type
Detection
Created
2020-10-18
Modified
2022-11-29
Path
rules/windows/builtin/security/win_security_invoke_obfuscation_via_rundll_services_security.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001
View on GitHub