Detectionhightest

Potential MsiExec Masquerading

Detects the execution of msiexec.exe from an uncommon directory

Open in Detection LabConvert ruleBuild Package
Florian Roth (Nextron Systems)Created 2019-11-14Updated 2026-10-31e22a6eb2-f8a5-44b5-8b44-a2dbd47b1144windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        - Image|endswith: '\msiexec.exe'
        - OriginalFileName: 'msiexec.exe'
    filter:
        Image|startswith:
            - 'C:\Windows\System32\'
            - 'C:\Windows\SysWOW64\'
            - 'C:\Windows\WinSxS\'
    condition: selection and not filter
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
e22a6eb2-f8a5-44b5-8b44-a2dbd47b1144
Status
test
Level
high
Type
Detection
Created
2019-11-14
Modified
2026-10-31
Path
rules/windows/process_creation/proc_creation_win_msiexec_masquerading.yml
Raw Tags
attack.stealthattack.t1036.005
View on GitHub