Sigma rule: PowerShell Core DLL Loaded By Non PowerShell Process

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2e04e697c529, updated 2026-07-28T00:00:00.000Z.

Rule

Title
PowerShell Core DLL Loaded By Non PowerShell Process
Status
test
Level
medium
Author
Tom Kern, oscd.community, Natalia Shornikova, Tim Shelton, Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
Date
2019-11-14
Modified
2026-07-28
File
rules/windows/image_load/image_load_dll_system_management_automation_susp_load.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects loading of essential DLLs used by PowerShell by non-PowerShell process.
Detects behavior similar to meterpreter's "load powershell" extension.

Log source

product
windows
category
image_load

Detection

selection:
    - Description: 'System.Management.Automation'
    - OriginalFileName: 'System.Management.Automation.dll'
    - ImageLoaded|endswith:
          - '\System.Management.Automation.dll'
          - '\System.Management.Automation.ni.dll'
filter_main_powershell:
    Image:
        - 'C:\Program Files\PowerShell\7-preview\pwsh.exe' # PowerShell 7 preview
        - 'C:\Program Files\PowerShell\7\pwsh.exe' # PowerShell 7
        - 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe'
        - 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
        - 'C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell_ise.exe'
        - 'C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe'
filter_main_pwsh_preview:
    Image|contains:
        - 'C:\Program Files\WindowsApps\Microsoft.PowerShellPreview'
        - '\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShellPreview'
    Image|endswith: '\pwsh.exe'
filter_main_generic:
    Image:
        - 'C:\Windows\System32\dsac.exe'
        - 'C:\WINDOWS\System32\RemoteFXvGPUDisablement.exe'
        - 'C:\Windows\System32\runscripthelper.exe'
        - 'C:\WINDOWS\System32\sdiagnhost.exe'
        - 'C:\Windows\System32\ServerManager.exe'
        - 'C:\Windows\System32\SyncAppvPublishingServer.exe'
        - 'C:\Windows\System32\winrshost.exe'
        - 'C:\Windows\System32\wsmprovhost.exe'
        - 'C:\Windows\SysWOW64\winrshost.exe'
        - 'C:\Windows\SysWOW64\wsmprovhost.exe'
filter_main_dotnet:
    Image|startswith:
        - 'C:\Windows\Microsoft.NET\Framework\'
        - 'C:\Windows\Microsoft.NET\FrameworkArm\'
        - 'C:\Windows\Microsoft.NET\FrameworkArm64\'
        - 'C:\Windows\Microsoft.NET\Framework64\'
    Image|endswith: '\mscorsvw.exe'
filter_optional_gethelp:
    Image|startswith: 'C:\Program Files\WindowsApps\Microsoft.GetHelp_'
    Image|endswith: '\GetHelp.exe'
filter_optional_sql_server_mgmt:
    Image|startswith:
        - 'C:\Program Files (x86)\Microsoft SQL Server Management Studio'
        - 'C:\Program Files\Microsoft SQL Server Management Studio'
    Image|endswith: '\IDE\Ssms.exe'
filter_optional_sql_server_tools:
    Image|startswith:
        - 'C:\Program Files (x86)\Microsoft SQL Server\'
        - 'C:\Program Files\Microsoft SQL Server\'
    Image|endswith: '\Tools\Binn\SQLPS.exe'
filter_optional_citrix:
    Image|endswith: '\Citrix\ConfigSync\ConfigSyncRun.exe'
filter_optional_vs:
    Image|startswith:
        - 'C:\Program Files (x86)\Microsoft Visual Studio\'
        - 'C:\Program Files\Microsoft Visual Studio\'
filter_optional_chocolatey:
    Image|startswith: 'C:\ProgramData\chocolatey\choco.exe'
filter_optional_nextron:
    Image|startswith: 'C:\Windows\Temp\asgard2-agent\'
    Image|endswith:
        - '\thor64.exe'
        - '\thor.exe'
    # User: 'NT AUTHORITY\SYSTEM'   # if set, matches all powershell processes not launched by SYSTEM
filter_optional_aurora:
    # This filter is to avoid a race condition FP with this specific ETW provider in aurora
    Image: null
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Used by some .NET binaries, minimal on user workstation.
  • Used by Microsoft SQL Server Management Studio

Tags

  • attack.t1059.001
  • attack.execution

MITRE ATT&CK ids this rule names

Related rules

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/image_load/image_load_dll_system_management_automation_susp_load.yml

Sources and licences

  • SigmaHQ

    "PowerShell Core DLL Loaded By Non PowerShell Process" by Tom Kern, oscd.community, Natalia Shornikova, Tim Shelton, Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/image_load/image_load_dll_system_management_automation_susp_load.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: PowerShell Core DLL Loaded By Non PowerShell Process",
entity page, dataset version ref-2e04e697c529, updated 2026-07-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/092bc4b9-3d1d-43b4-a6b4-8c8acd83522f (accessed 2026-11-03).
Underlying source: SigmaHQ rule 092bc4b9-3d1d-43b4-a6b4-8c8acd83522f, 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.