Sigma rule: HackTool - Wmiexec Default Powershell Command
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-721132b5affa, updated 2023-03-08T00:00:00.000Z.
Rule
- Title
- HackTool - Wmiexec Default Powershell Command
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-03-08
- File
- rules/windows/process_creation/proc_creation_win_hktl_wmiexec_default_powershell.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the execution of PowerShell with a specific flag sequence that is used by the Wmiexec script
Log source
- product
- windows
- category
- process_creation
Detection
selection:
CommandLine|contains: '-NoP -NoL -sta -NonI -W Hidden -Exec Bypass -Enc'
condition: selectionFalse positives (as the rule lists them)
- Unlikely
Tags
- attack.lateral-movement
- attack.stealth
References
- https://github.com/fortra/impacket/blob/f4b848fa27654ca95bc0f4c73dbba8b9c2c9f30a/examples/wmiexec.py
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_hktl_wmiexec_default_powershell.yml
Sources and licences
SigmaHQ
"HackTool - Wmiexec Default Powershell Command" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_hktl_wmiexec_default_powershell.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: HackTool - Wmiexec Default Powershell Command",
entity page, dataset version ref-721132b5affa, updated 2023-03-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/022eaba8-f0bf-4dd9-9217-4604b0bb3bb0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 022eaba8-f0bf-4dd9-9217-4604b0bb3bb0, 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.