Sigma rule: Qakbot Rundll32 Fake DLL Extension Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-920d8c470e96, updated 2023-05-24T00:00:00.000Z.

Rule

Title
Qakbot Rundll32 Fake DLL Extension Execution
Status
test
Level
critical
Author
X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
Date
2023-05-24
File
rules-emerging-threats/2023/Malware/Qakbot/proc_creation_win_malware_qakbot_rundll32_fake_dll_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects specific process tree behavior of a "rundll32" execution where the DLL doesn't have the ".dll" extension. This is often linked with potential Qakbot activity.

Log source

product
windows
category
process_creation

Detection

selection:
    ParentImage|endswith:
        # Note: Only add processes seen used by Qakbot to avoid collision with other strains of malware
        - '\cmd.exe'
        - '\cscript.exe'
        - '\curl.exe'
        - '\mshta.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\wscript.exe'
    Image|endswith: '\rundll32.exe'
    CommandLine|contains:
        # Note: Only add paths seen used by Qakbot to avoid collision with other strains of malware
        - ':\ProgramData\'
        - ':\Users\Public\'
        - '\AppData\Local\Temp\'
        - '\AppData\Roaming\'
filter_main_extension:
    CommandLine|contains: '.dll'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.execution
  • detection.emerging-threats
  • attack.stealth

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-emerging-threats/2023/Malware/Qakbot/proc_creation_win_malware_qakbot_rundll32_fake_dll_execution.yml

Sources and licences

  • SigmaHQ

    "Qakbot Rundll32 Fake DLL Extension Execution" by X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/Malware/Qakbot/proc_creation_win_malware_qakbot_rundll32_fake_dll_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: Qakbot Rundll32 Fake DLL Extension Execution",
entity page, dataset version ref-920d8c470e96, updated 2023-05-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/bfd34392-c591-4009-b938-9fd985a28b85 (accessed 2026-11-03).
Underlying source: SigmaHQ rule bfd34392-c591-4009-b938-9fd985a28b85, 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.