wmi_persistence__script_event_consumer
Description
Detects WMI script event consumers License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
($selection.target.process.file.full_path = "C:\\WINDOWS\\system32\\wbem\\scrcons.exe" and $selection.principal.process.file.full_path = "C:\\Windows\\System32\\svchost.exe" and ($selection.metadata.product_event_type = "4688" or $selection.metadata.product_event_type = "1"))
condition:
$selection