ATT&CK coverage › Technique

System Binary Proxy Execution: Msiexec T1218.007

Adversaries may abuse msiexec.exe to proxy execution of malicious payloads. Msiexec.exe is the command-line utility for the Windows Installer and is thus commonly associated with executing installation packages (.msi). The Msiexec.exe binary may also be digitally signed by Microsoft.

Events covered

5 catalog events are tagged with this technique by at least one rule.

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.
PowerShell4104Creating Scriptblock text (MessageNumber of MessageTotal).
MsiInstaller1040Beginning a Windows Installer transaction: %0
MsiInstaller1042Ending a Windows Installer transaction: %0

Authoring guide

Patterns shared across the 9 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (9 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine7match 7-j, -i, -z , .dll, -q
Image6ends_with 6\msiexec.exe, \powershell.exe, \pwsh.exe, \powershell_ise.exe, :\Windows\System32\cmd.exe
OriginalFileName4eq 4msiexec.exe, \msiexec.exe, PowerShell.EXE, pwsh.dll, PowerShell_ISE.EXE
Data1match 1://
Provider_Name1eq 1MsiInstaller
IntegrityLevel1eq 1S-1-16-16384, System
ParentImage1starts_with 1, eq 1, match 1C:\Users\, C:\Windows\Temp\, \AppData\Local\Temp\
ScriptBlockText1match 1Win32_Product , Invoke-CimMethod , .msi
ParentCommandLine1match 1MsiExec.exe, Global\MSI0000, -Embedding

Top indicator values (60 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique.

FieldKindValueRules (here)Corpus reach
Imageends_with\msiexec.exe421
OriginalFileNameeqmsiexec.exe25
CommandLinematch-a24
CommandLinematch-package22
CommandLinematch-j22
CommandLinematch-q22
CommandLinematch-i26
Imageends_with\powershell.exe2143
Imageends_with\pwsh.exe2140
OriginalFileNameeq\msiexec.exe12
CommandLinematch.dll115
CommandLinematch -z 1
Provider_NameeqMsiInstaller14
Datamatch://1
ParentImageeqC:\Windows\CCM\Ccm32BitLauncher.exe1
ParentImagestarts_withC:\Windows\Temp\1
IntegrityLeveleqS-1-16-16384121
ParentImagestarts_withC:\Users\1
ParentImagematch\AppData\Local\Temp\14
IntegrityLeveleqSystem121

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Sigma 9 rules