Sigma rule: Always Install Elevated MSI Spawned Cmd And Powershell
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8b7f988c6a6e, updated 2022-10-20T00:00:00.000Z.
Rule
- Title
- Always Install Elevated MSI Spawned Cmd And Powershell
- Status
- test
- Level
- medium
- Author
- Teymur Kheirkhabarov (idea), Mangatas Tondang (rule), oscd.community
- Date
- 2020-10-13
- Modified
- 2022-10-20
- File
- rules/windows/process_creation/proc_creation_win_susp_elavated_msi_spawned_shell.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects Windows Installer service (msiexec.exe) spawning "cmd" or "powershell"
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'Cmd.Exe'
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_parent:
ParentImage|contains|all:
- '\Windows\Installer\'
- 'msi'
ParentImage|endswith: 'tmp'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.t1548.002
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_elavated_msi_spawned_shell.yml
Sources and licences
SigmaHQ
"Always Install Elevated MSI Spawned Cmd And Powershell" by Teymur Kheirkhabarov (idea), Mangatas Tondang (rule), oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_elavated_msi_spawned_shell.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Always Install Elevated MSI Spawned Cmd And Powershell",
entity page, dataset version ref-8b7f988c6a6e, updated 2022-10-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1e53dd56-8d83-4eb4-a43e-b790a05510aa (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1e53dd56-8d83-4eb4-a43e-b790a05510aa, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.