Msiexec Quiet Installation

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\msiexec.exe" OR ORIGINALFILENAME = "msiexec.exe") AND (COMMANDLINE contains "-i,/i,–i,—i,―i" OR COMMANDLINE contains "-package,/package,–package,—package,―package" OR COMMANDLINE contains "-a,/a,–a,—a,―a" OR COMMANDLINE contains "-j,/j,–j,—j,―j") AND COMMANDLINE contains "-q,/q,–q,—q,―q") AND ((PARENTPROCESSNAME notstartswith "C:\Users" OR PARENTPROCESSNAME notcontains "\AppData\Local\Temp") AND PARENTPROCESSNAME notstartswith "C:\Windows\Temp" AND (PARENTPROCESSNAME != "C:\Windows\CCM\Ccm32BitLauncher.exe" OR INTEGRITYLEVEL != "System,S-1-16-16384")) select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113