Sigma rule: Shell32 DLL Execution in Suspicious Directory

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a2db32738bfb, updated 2023-02-09T00:00:00.000Z.

Rule

Title
Shell32 DLL Execution in Suspicious Directory
Status
test
Level
high
Author
Christian Burkard (Nextron Systems)
Date
2021-11-24
Modified
2023-02-09
File
rules/windows/process_creation/proc_creation_win_rundll32_shell32_susp_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects shell32.dll executing a DLL in a suspicious directory

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'
selection_cli:
    CommandLine|contains|all:
        - 'shell32.dll'
        - 'Control_RunDLL'
    CommandLine|contains:
        - '%AppData%'
        - '%LocalAppData%'
        - '%Temp%'
        - '%tmp%'
        - '\AppData\'
        - '\Temp\'
        - '\Users\Public\'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.stealth
  • attack.t1218.011

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rundll32_shell32_susp_execution.yml

Sources and licences

  • SigmaHQ

    "Shell32 DLL Execution in Suspicious Directory" by Christian Burkard (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rundll32_shell32_susp_execution.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Shell32 DLL Execution in Suspicious Directory",
entity page, dataset version ref-a2db32738bfb, updated 2023-02-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/32b96012-7892-429e-b26c-ac2bf46066ff (accessed 2026-11-03).
Underlying source: SigmaHQ rule 32b96012-7892-429e-b26c-ac2bf46066ff, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.