Sigma rule: Wmiexec Default Output File
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-faded2b2ce52, updated 2023-03-08T00:00:00.000Z.
Rule
- Title
- Wmiexec Default Output File
- Status
- test
- Level
- critical
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-06-02
- Modified
- 2023-03-08
- File
- rules/windows/file/file_event/file_event_win_wmiexec_default_filename.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation of the default output filename used by the wmiexec tool
Log source
- product
- windows
- category
- file_event
Detection
selection:
- TargetFilename|re: '\\Windows\\__1\d{9}\.\d{1,7}$' # Admin$
- TargetFilename|re: 'C:\\__1\d{9}\.\d{1,7}$' # C$
- TargetFilename|re: 'D:\\__1\d{9}\.\d{1,7}$' # D$
condition: selectionFalse positives (as the rule lists them)
- Unlikely
Tags
- attack.lateral-movement
- attack.execution
- attack.t1047
MITRE ATT&CK ids this rule names
References
- https://www.crowdstrike.com/blog/how-to-detect-and-prevent-impackets-wmiexec/
- 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/file/file_event/file_event_win_wmiexec_default_filename.yml
Sources and licences
SigmaHQ
"Wmiexec Default Output File" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_wmiexec_default_filename.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: Wmiexec Default Output File",
entity page, dataset version ref-faded2b2ce52, updated 2023-03-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8d5aca11-22b3-4f22-b7ba-90e60533e1fb (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8d5aca11-22b3-4f22-b7ba-90e60533e1fb, 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.