suspicious_wmi_execution
Description
Detects WMI executing suspicious commands License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
(re.regex($selection.target.process.file.full_path, `.*\\wmic\.exe`) and (re.regex($selection.target.process.command_line, `.*/NODE:.*process call create .*`) or re.regex($selection.target.process.command_line, `.* path AntiVirusProduct get .*`) or re.regex($selection.target.process.command_line, `.* path FirewallProduct get .*`) or re.regex($selection.target.process.command_line, `.* shadowcopy delete .*`)) and ($selection.metadata.product_event_type = "4688" or $selection.metadata.product_event_type = "1"))
condition:
$selection