Initial Access (TA0001)(external, opens in a new tab or window)
Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block:sequence with maxspan=1m [library where host.os.type == "windows" and dll.name : "msxml3.dll" and process.name : ("winword.exe", "excel.exe", "powerpnt.exe", "mspub.exe")] by process.entity_id [process where host.os.type == "windows" and event.action == "start" and process.parent.name : ("winword.exe", "excel.exe", "powerpnt.exe", "mspub.exe") and not process.executable : ("?:\\Windows\\System32\\WerFault.exe", "?:\\Windows\\SysWoW64\\WerFault.exe", "?:\\windows\\splwow64.exe", "?:\\Windows\\System32\\conhost.exe", "?:\\Program Files\\*.exe", "?:\\Program Files (x86)\\*exe")] by process.parent.entity_id
Install detection rules in Elastic Security
Detect Remote XSL Script Execution via COM in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).