Windows Process Creation: PowerShell Command Execution Hidden in DLL Invocation

Flags DLL-invoking Windows binaries whose command lines include PowerShell execution strings.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Markus Neis, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2018-08-25
Updated
2026-07-30

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 Windows processes commonly abused to execute DLLs (e.g., rundll32, regsvr32, regasm, regsvcs, installutil) when their command line contains PowerShell-related strings such as DownloadString, FromBase64String, IEX, Invoke-Expression, or Invoke-Command. Attackers may pass PowerShell payloads through DLL invocation to blend in with legitimate signed binary execution paths. The detection relies on process creation telemetry, matching Image and OriginalFileName with specific DLL-related executables and inspecting the CommandLine for PowerShell command indicators.

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)
Windows Process Creation: PowerShell Command Execution Hidden in DLL Invocation
Pivot detection · T1218.011 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.