Sigma rule: Potentially Suspicious Rundll32 Activity

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

Rule

Title
Potentially Suspicious Rundll32 Activity
Status
test
Level
medium
Author
juju4, Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Date
2019-01-16
Modified
2023-05-17
File
rules/windows/process_creation/proc_creation_win_rundll32_susp_activity.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious execution of rundll32, with specific calls to some DLLs with known LOLBIN functionalities

Log source

product
windows
category
process_creation

Detection

selection:
    - CommandLine|contains|all:
          - 'javascript:'
          - '.RegisterXLL'
    - CommandLine|contains|all:
          - 'url.dll'
          - 'OpenURL'
    - CommandLine|contains|all:
          - 'url.dll'
          - 'OpenURLA'
    - CommandLine|contains|all:
          - 'url.dll'
          - 'FileProtocolHandler'
    - CommandLine|contains|all:
          - 'zipfldr.dll'
          - 'RouteTheCall'
    - CommandLine|contains|all:
          - 'shell32.dll'
          - 'Control_RunDLL'
    - CommandLine|contains|all:
          - 'shell32.dll'
          - 'ShellExec_RunDLL'
    - CommandLine|contains|all:
          - 'mshtml.dll'
          - 'PrintHTML'
    - CommandLine|contains|all:
          - 'advpack.dll'
          - 'LaunchINFSection'
    - CommandLine|contains|all:
          - 'advpack.dll'
          - 'RegisterOCX'
    - CommandLine|contains|all:
          - 'ieadvpack.dll'
          - 'LaunchINFSection'
    - CommandLine|contains|all:
          - 'ieadvpack.dll'
          - 'RegisterOCX'
    - CommandLine|contains|all:
          - 'ieframe.dll'
          - 'OpenURL'
    - CommandLine|contains|all:
          - 'shdocvw.dll'
          - 'OpenURL'
    - CommandLine|contains|all:
          - 'syssetup.dll'
          - 'SetupInfObjectInstallAction'
    - CommandLine|contains|all:
          - 'setupapi.dll'
          - 'InstallHinfSection'
    - CommandLine|contains|all:
          - 'pcwutl.dll'
          - 'LaunchApplication'
    - CommandLine|contains|all:
          - 'dfshim.dll'
          - 'ShOpenVerbApplication'
    - CommandLine|contains|all:
          - 'dfshim.dll'
          - 'ShOpenVerbShortcut'
    - CommandLine|contains|all:
          - 'scrobj.dll'
          - 'GenerateTypeLib'
          - 'http'
    - CommandLine|contains|all:
          - 'shimgvw.dll'
          - 'ImageView_Fullscreen'
          - 'http'
    - CommandLine|contains|all:
          - 'comsvcs.dll'
          - 'MiniDump'
filter_main_screensaver:
    CommandLine|contains: 'shell32.dll,Control_RunDLL desk.cpl,screensaver,@screensaver'
filter_main_parent_cpl:  # Settings
    ParentImage: 'C:\Windows\System32\control.exe'
    ParentCommandLine|contains: '.cpl'
    CommandLine|contains|all:
        - 'Shell32.dll'
        - 'Control_RunDLL'
        - '.cpl'
filter_main_startmenu:
    ParentImage: 'C:\Windows\System32\control.exe'
    CommandLine|startswith: '"C:\Windows\system32\rundll32.exe" Shell32.dll,Control_RunDLL "C:\Windows\System32\'
    CommandLine|endswith: '.cpl",'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • False positives depend on scripts and administrative tools used in the monitored environment

Tags

  • 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_susp_activity.yml

Sources and licences

  • SigmaHQ

    "Potentially Suspicious Rundll32 Activity" by juju4, Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rundll32_susp_activity.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: Potentially Suspicious Rundll32 Activity",
entity page, dataset version ref-a3d796416bdb, updated 2023-05-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e593cf51-88db-4ee1-b920-37e89012a3c9 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e593cf51-88db-4ee1-b920-37e89012a3c9, 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.