Sigma rule: Potential PowerShell Execution Via DLL

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9ccc023ec012, updated 2024-03-07T00:00:00.000Z.

Rule

Title
Potential PowerShell Execution Via DLL
Status
test
Level
high
Author
Markus Neis, Nasreddine Bencherchali (Nextron Systems)
Date
2018-08-25
Modified
2024-03-07
File
rules/windows/process_creation/proc_creation_win_susp_powershell_execution_via_dll.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential PowerShell execution from a DLL instead of the usual PowerShell process as seen used in PowerShdll.
This detection assumes that PowerShell commands are passed via the CommandLine.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith:
          - '\InstallUtil.exe'
          - '\RegAsm.exe'
          - '\RegSvcs.exe'
          - '\regsvr32.exe'
          - '\rundll32.exe'
    - OriginalFileName:
          - 'InstallUtil.exe'
          - 'RegAsm.exe'
          - 'RegSvcs.exe'
          - 'REGSVR32.EXE'
          - 'RUNDLL32.EXE'
selection_cli:
    CommandLine|contains:
        - 'Default.GetString'
        - 'DownloadString'
        - 'FromBase64String'
        - 'ICM '
        - 'IEX '
        - 'Invoke-Command'
        - 'Invoke-Expression'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

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_susp_powershell_execution_via_dll.yml

Sources and licences

  • SigmaHQ

    "Potential PowerShell Execution Via DLL" by Markus Neis, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_powershell_execution_via_dll.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: Potential PowerShell Execution Via DLL",
entity page, dataset version ref-9ccc023ec012, updated 2024-03-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6812a10b-60ea-420c-832f-dfcc33b646ba (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6812a10b-60ea-420c-832f-dfcc33b646ba, 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.