Suspicious Msiexec Execute Arbitrary DLL

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" AND COMMANDLINE contains " -y, /y, –y, —y, ―y") AND COMMANDLINE notcontains "\MsiExec.exe" /Y "C:\Program Files\Bonjour\mdnsNSP.dll,\MsiExec.exe" /Y "C:\Program Files (x86)\Bonjour\mdnsNSP.dll,\MsiExec.exe" /Y "C:\Program Files (x86)\Apple Software Update\ScriptingObjectModel.dll,\MsiExec.exe" /Y "C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,\MsiExec.exe" /Y "C:\Windows\CCM\,\MsiExec.exe" /Y C:\Windows\CCM\,\MsiExec.exe" -Y "C:\Program Files\Bonjour\mdnsNSP.dll,\MsiExec.exe" -Y "C:\Program Files (x86)\Bonjour\mdnsNSP.dll,\MsiExec.exe" -Y "C:\Program Files (x86)\Apple Software Update\ScriptingObjectModel.dll,\MsiExec.exe" -Y "C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,\MsiExec.exe" -Y "C:\Windows\CCM\,\MsiExec.exe" -Y C:\Windows\CCM" 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