Rundll32.exe DLL Export Calls by Ordinal (Windows Process Creation)

Detects rundll32.exe commands that specify DLL exports by ordinal using “.dll #” syntax.

FreeReviewedSigma · Medium · v5
Product
windows
Category
process_creation
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2019-10-22
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule identifies process creation events where rundll32.exe loads a DLL export using an ordinal notation (e.g., strings containing ',#' and '.dll #' or '.ocx #'). Using ordinal-based export calls can obscure intent and is a common technique in stealthy execution chains. It relies on Windows process creation telemetry, matching the Image/OriginalFileName for rundll32.exe and specific patterns in the CommandLine. Optional exclusions reduce matches for known benign tooling patterns.

Related detections9 linkedT1218.011 — drag to rearrange
Malicious DLL Execution With Non Standard Extension via rundll32
Andromeda Loader Execution via Rundll32 Desktop.ini Ordinal
Suspicious rundll32 Execution of sqlite3 DLL by Ordinal with TLB Argument
Malicious Zardoor Backdoor Execution via rundll32 (via process_creation)
Malicious Rundll32 Loading an Export From a User Path (via process_creation)
Renamed Regsvr32 or Rundll32 Loading a DLL With a Non-Standard Extension (via process_creation)
Malicious Rundll32 DllRegisterServer Execution From a User-Writable Path (via process_creation)
IMEEX Framework DLL Execution via Rundll32 Loading imaadp (via process_creation)
Suspicious Persistence via pcalua Launching rundll32 Control_RunDLL
Rundll32.exe DLL Export Calls by Ordinal (Windows Process Creation)
Pivot detection · T1218.011 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.