Suspicious Msiexec Quiet Deployment (via process_creation)

This rule detects threat actors may misuse msiexec.exe to proxy execution of hostile payloads. Msiexec.exe is the command-line utility for the Windows Installer and is thus frequently linked with running installation packages (.msi)

SigmamediumWindowsv1
sigma
title: Suspicious Msiexec Quiet Deployment (via process_creation)
id: 99d3b4b5-9a4f-556d-84e5-73831e16c1cd
status: stable
description: This rule detects threat actors may misuse msiexec.exe to proxy execution of hostile payloads. Msiexec.exe is the command-line utility for the Windows Installer and is thus frequently linked with running installation packages (.msi)
references:
    - https://attack.mitre.org/techniques/T1218/007/
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md
    - https://twitter.com/_st0pp3r_/status/1583914244344799235
author: Huntrule Team
date: 2026-06-25
tags:
    - attack.stealth
    - attack.t1218.007
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\msiexec.exe'
        - OriginalFileName: 'msiexec.exe'
    selection_cli:
        CommandLine|contains|windash:
            - '-i'
            - '-package'
            - '-a'
            - '-j'
    selection_quiet:
        CommandLine|contains|windash: '-q'
    filter_user_temp:
        ParentImage|startswith: 'C:\Users\'
        ParentImage|contains: '\AppData\Local\Temp\'
    filter_system_temp:
        ParentImage|startswith: 'C:\Windows\Temp\'
    filter_ccm:
        ParentImage: 'C:\Windows\CCM\Ccm32BitLauncher.exe'
        IntegrityLevel:
            - 'System'
            - 'S-1-16-16384'
    condition: all of selection_* and not 1 of filter_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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