PowerShell WMI Win32_Product MSI Installation via Invoke-CimMethod

Flags PowerShell using WMI Win32_Product via Invoke-CimMethod to invoke an MSI install.

FreeReviewedSigma · Medium · v2
Product
windows
Category
ps_script
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-04-24
Updated
2026-07-31

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 PowerShell script block content that invokes the WMI Win32_Product class and calls a method that includes an .msi installation reference. Attackers can use WMI with Win32_Product to install software or trigger installation behavior using scripted execution. The detection relies on PowerShell script block logging telemetry and matches specific script text fragments indicating Invoke-CimMethod targeting Win32_Product and an MSI file string.

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
PowerShell WMI Win32_Product MSI Installation via Invoke-CimMethod
Pivot detection · T1218.007 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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