Detectionmediumtest
Suspicious Msiexec Quiet Install From Remote Location
Detects usage of Msiexec.exe to install packages hosted remotely quietly
Nasreddine BencherchaliCreated 2022-10-28Updated 2025-10-078150732a-0c9d-4a99-82b9-9efb9b90c40cwindows
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 Logic5 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'
selection_remote:
CommandLine|contains:
- 'http'
- '\\\\'
filter_optional_openoffice:
CommandLine|contains|all:
- '\AppData\Local\Temp\OpenOffice'
- 'Installation Files\openoffice'
condition: all of selection_* and not 1 of filter_optional_*False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
8150732a-0c9d-4a99-82b9-9efb9b90c40c
Status
test
Level
medium
Type
Detection
Created
2022-10-28
Modified
2025-10-07
Author
Path
rules/windows/process_creation/proc_creation_win_msiexec_install_remote.yml
Raw Tags
attack.stealthattack.t1218.007