Sigma rule: Rundll32 UNC Path Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-739df075417e, updated 2026-07-20T00:00:00.000Z.

Rule

Title
Rundll32 UNC Path Execution
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-08-10
Modified
2026-07-20
File
rules/windows/process_creation/proc_creation_win_rundll32_unc_path.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects rundll32 execution where the DLL is located on a remote location (share).
Threat actors can abuse the rundll32.exe binary to execute remote DLLs from a UNC pathh.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'
    - CommandLine|contains: 'rundll32'
selection_cli:
    CommandLine|contains:
        - ' \\\\'
        - ' ''\\\\'
        - ' "\\\\'
filter_main_cli_pipe:
    CommandLine|contains: '\\\\.\\pipe'
condition: all of selection_* and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.execution
  • attack.lateral-movement
  • attack.stealth
  • attack.t1021.002
  • 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_unc_path.yml

Sources and licences

  • SigmaHQ

    "Rundll32 UNC Path Execution" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rundll32_unc_path.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: Rundll32 UNC Path Execution",
entity page, dataset version ref-739df075417e, updated 2026-07-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5cdb711b-5740-4fb2-ba88-f7945027afac (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5cdb711b-5740-4fb2-ba88-f7945027afac, 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.