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 Lunar Spider Loader Execution via rundll32 (via process_creation)
Malicious SYSTEM Persistence via Scheduled Task Running rundll32 at Startup (via process_creation)
Malicious Rundll32 Executing Image File as DLL
Suspicious Scheduled Task Executing Rundll32 DLL Export by Ordinal
Malicious Renamed Rundll32 Copied to Temp via Xcopy
Suspicious rundll32 Executing DLL from ProgramData (via process_creation)
Suspicious Rundll32 Loading DLL From Public or ProgramData Path via Process Creation (via process_creation)
Malicious LSASS Credential Dump via Rundll32 Comsvcs MiniDump via Process Creation (via process_creation)
Suspicious Rundll32 Execution Without a DLL Reference via Process Creation (via process_creation)
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.