Windows Process Creation: msiexec.exe Embedding Spawned by PowerShell/cmd/pwsh

Alerts when cmd/powershell launches msiexec.exe with -Embedding, a proxy execution pattern.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-04-16
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 flags process creation where a PowerShell, pwsh, or cmd parent process launches msiexec.exe in embedding mode (using the -Embedding argument). Attackers may abuse msiexec.exe as a proxy to run malicious payloads while blending into legitimate Windows tooling and installer-related execution patterns. The detection relies on Windows process creation telemetry, specifically process image paths and parent command line contents.

Related detections9 linkedT1218.007 — drag to rearrange
Malicious Msiexec Execution of Staged Update Package via Process Creation
Msiexec Spawning Batch Script Child Process
Possible PurpleFox MSHTA to Msiexec Remote MSI Chain
Malicious Remote MSI Execution with Image Extension via msiexec (via process_creation)
Suspicious Raspberry Robin Msiexec Spawning a Proxy Binary (via process_creation)
Malicious Msiexec Installation of a Remote MSI Package (via process_creation)
Suspicious msiexec Remote Package Installation over HTTP
Malicious MSI Installation from Remote WebDAV Share via process_creation
Suspicious Msiexec Remote Package Installation from URL via Process Creation
Windows Process Creation: msiexec.exe Embedding Spawned by PowerShell/cmd/pwsh
Pivot detection · T1218.007 · 9 related

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