Suspicious WMIC XSL Script Execution
Description
Identifies Windows Management Instrumentation Command-Line utility (WMIC) whitelisting bypass attempts by alerting on suspicious execution of scripts. When WMIC loads scripting libraries, it may be indicative of an attempt to bypass application whitelisting
Query · eql
sequence by process.entity_id with maxspan=2m
[process where event.action == "start" and
(process.name : "WMIC.exe" or process.pe.original_file_name : "wmic.exe") and
process.command_line : ("* format*:*", "*/format*:*", "*-format*:*") and
not process.command_line :
(
"*format:list*",
"*format:table*",
"*format:htable",
"*format:texttablewsys*",
"*format:texttable*",
"*format:textvaluelist*",
"*format:TEXTVALUELIST*",
"*format:csv*",
"*format:value*"
) and
not process.parent.executable : "?:\\Program Files\\Trend Micro\\Titanium\\plugin\\Pt\\win32\\inspect\\Inspect.exe"]
[library where dll.name : ("jscript.dll", "vbscript.dll")]