Powershell XML Execute Command

Last updated on:

About the rule

Rule Type

Standard

Rule 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

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND (SCRIPTEXECUTED contains "New-Object" AND SCRIPTEXECUTED contains "System.Xml.XmlDocument" AND SCRIPTEXECUTED contains ".Load") AND SCRIPTEXECUTED contains "IEX ,Invoke-Expression ,Invoke-Command ,ICM -" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113