Detectionmediumtest
Msiexec Quiet Installation
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)
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
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 Logic6 selectors
detection:
selection_img:
- Image|endswith: '\msiexec.exe'
- OriginalFileName: 'msiexec.exe'
selection_cli:
# Note that there is no space before and after the arguments because it's possible to write a commandline as such
# Example: msiexec -q/i [MSI Package]
CommandLine|contains|windash:
- '-i'
- '-package'
- '-a'
- '-j'
selection_quiet:
CommandLine|contains|windash: '-q'
filter_user_temp:
# The %temp% is a very common location for installers
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_*False Positives
WindowsApps installing updates via the quiet flag
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
79a87aa6-e4bd-42fc-a5bb-5e6fbdcd62f5
Status
test
Level
medium
Type
Detection
Created
Sun Jan 16
Modified
Sun Dec 01
Author
Path
rules/windows/process_creation/proc_creation_win_msiexec_install_quiet.yml
Raw Tags
attack.defense-evasionattack.t1218.007