Windows msiexec.exe Installer Process Spawning cmd.exe or PowerShell

Flags installer-initiated spawning of cmd.exe or PowerShell from Windows\Installer temporary msi-related processes.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Teymur Kheirkhabarov (idea), Mangatas Tondang (rule), oscd.community (SigmaHQ), DRL 1.1
Published
2020-10-13
Updated
2026-07-30

ATT&CK techniques

Priv Esc → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies instances where a Windows Installer temporary process (Windows\Installer\*msi* ending in tmp, including msiexec activity) spawns command or PowerShell interpreters. Attackers commonly use installer-driven execution paths to run arbitrary commands under elevated or trusted contexts. The detection relies on process creation telemetry, matching parent process image characteristics and child process image filenames for cmd.exe, powershell.exe, or pwsh.exe.

Related detections9 linkedT1548.002 — drag to rearrange
Possible UAC Bypass via easinvoker Spawning Batch Script (via process_creation)
Suspicious UAC Bypass by Disabling Admin Consent Prompt via registry_set
Malicious Cloud Atlas UAC Bypass via fodhelper (via process_creation)
Suspicious computerdefaults.exe Spawning Child Process
Suspicious UAC Bypass via control.exe App Paths or Shell Open Command Hijack
Malicious UAC Bypass via COMAutoApprovalList Registry Modification (via registry_set)
Suspicious UAC Bypass via COMAutoApprovalList Registry Modification (via registry_set)
Malicious UAC Bypass via explorer.exe NOUACCHECK Argument
Suspicious UAC Bypass via ms-settings Shell Command Hijack (via registry_set)
Windows msiexec.exe Installer Process Spawning cmd.exe or PowerShell
Pivot detection · T1548.002 · 9 related

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