Sigma rule: Suspicious Scripting in a WMI Consumer
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d3ce282f1260, updated 2023-09-09T00:00:00.000Z.
Rule
- Title
- Suspicious Scripting in a WMI Consumer
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems), Jonhnathan Ribeiro
- Date
- 2019-04-15
- Modified
- 2023-09-09
- File
- rules/windows/wmi_event/sysmon_wmi_susp_scripting.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects suspicious commands that are related to scripting/powershell in WMI Event Consumers
Log source
- product
- windows
- category
- wmi_event
Detection
selection_destination:
- Destination|contains|all:
- 'new-object'
- 'net.webclient'
- '.downloadstring'
- Destination|contains|all:
- 'new-object'
- 'net.webclient'
- '.downloadfile'
- Destination|contains:
- ' iex('
- ' -nop '
- ' -noprofile '
- ' -decode '
- ' -enc '
- 'WScript.Shell'
- 'System.Security.Cryptography.FromBase64Transform'
condition: selection_destinationFalse positives (as the rule lists them)
- Legitimate administrative scripts
Tags
- attack.execution
- attack.t1059.005
MITRE ATT&CK ids this rule names
References
- https://in.security/an-intro-into-abusing-and-identifying-wmi-event-subscriptions-for-persistence/
- https://github.com/Neo23x0/signature-base/blob/615bf1f6bac3c1bdc417025c40c073e6c2771a76/yara/gen_susp_lnk_files.yar#L19
- https://github.com/RiccardoAncarani/LiquidSnake
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/wmi_event/sysmon_wmi_susp_scripting.yml
Sources and licences
SigmaHQ
"Suspicious Scripting in a WMI Consumer" by Florian Roth (Nextron Systems), Jonhnathan Ribeiro (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/wmi_event/sysmon_wmi_susp_scripting.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: Suspicious Scripting in a WMI Consumer",
entity page, dataset version ref-d3ce282f1260, updated 2023-09-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/fe21810c-2a8c-478f-8dd3-5a287fb2a0e0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule fe21810c-2a8c-478f-8dd3-5a287fb2a0e0, 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.