Detectionmediumtest
DllUnregisterServer Function Call Via Msiexec.EXE
Detects MsiExec loading a DLL and calling its DllUnregisterServer function
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 Logic3 selectors
detection:
selection_img:
- Image|endswith: '\msiexec.exe'
- OriginalFileName: 'msiexec.exe'
selection_cli:
CommandLine|contains|windash: ' -z '
CommandLine|contains: '.dll'
filter_optional_msihandler:
CommandLine|endswith: '\MsiExec.exe" /Z "C:\Windows\CCM\MsiHandler.dll"'
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
84f52741-8834-4a8c-a413-2eb2269aa6c8
Status
test
Level
medium
Type
Detection
Created
2022-04-24
Modified
2026-10-31
Author
Path
rules/windows/process_creation/proc_creation_win_msiexec_dll.yml
Raw Tags
attack.stealthattack.t1218.007