XSL Script Execution Via WMIC.EXE
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the execution of WMIC with the "format" flag to potentially load XSL files. Adversaries abuse this functionality to execute arbitrary files while potentially bypassing application whitelisting defenses. Extensible Stylesheet Language (XSL) files are commonly used to describe the processing and rendering of data within XML files.
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (PROCESSNAME endswith "\wmic.exe" AND COMMANDLINE contains "-format,/format,–format,—format,―format") AND COMMANDLINE notcontains "Format:List,Format:htable,Format:hform,Format:table,Format:mof,Format:value,Format:rawxml,Format:xml,Format:csv" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Timur Zinniatullin, oscd.community, Swachchhanda Shrawan Poudel


