Detectionhightest

CobaltStrike Load by Rundll32

Rundll32 can be use by Cobalt Strike with StartW function to load DLLs from the command line.

Open in Detection LabConvert ruleBuild Package
Wojciech LesickiCreated 2021-06-01Updated 2022-09-16ae9c6a7c-9521-42a6-915e-5aaa8689d529windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_rundll:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: RUNDLL32.EXE
        - CommandLine|contains:
              - 'rundll32.exe'
              - 'rundll32 '
    selection_params:
        CommandLine|contains: '.dll'
        CommandLine|endswith:
            - ' StartW'
            - ',StartW'
    condition: all of selection*
False Positives
Unknown

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

MITRE ATT&CK
Rule Metadata
Rule ID
ae9c6a7c-9521-42a6-915e-5aaa8689d529
Status
test
Level
high
Type
Detection
Created
2021-06-01
Modified
2022-09-16
Path
rules/windows/process_creation/proc_creation_win_hktl_cobaltstrike_load_by_rundll32.yml
Raw Tags
attack.stealthattack.t1218.011
View on GitHub