PowerShell Download and Execution Cradles

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects PowerShell download and execution cradles.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains ".DownloadString(,.DownloadFile(,Invoke-WebRequest ,iwr ,Invoke-RestMethod ,irm " AND COMMANDLINE contains ";iex $,| IEX,|IEX ,I`E`X,I`EX,IE`X,iex ,IEX (,IEX(,Invoke-Expression" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Florian Roth (Nextron Systems)