Powershell XML Execute Command
Description
Adversaries may abuse PowerShell commands and scripts for execution. PowerShell is a powerful interactive command-line interface and scripting environment included in the Windows operating system. (Citation: TechNet PowerShell) Adversaries can use PowerShell to perform a number of actions, including discovery of information and execution of code
Query · sigma
selection_xml: ScriptBlockText|contains|all: - New-Object - System.Xml.XmlDocument - .Load selection_exec: ScriptBlockText|contains: - 'IEX ' - 'Invoke-Expression ' - 'Invoke-Command ' - ICM - condition: all of selection_*
Known false positives
- Legitimate administrative script