PowerShell Download and Execution Cradles
Description
Detects PowerShell download and execution cradles.
Query · sigma
selection_download: CommandLine|contains: - .DownloadString( - .DownloadFile( - 'Invoke-WebRequest ' - 'iwr ' - 'Invoke-RestMethod ' - 'irm ' selection_iex: CommandLine|contains: - ;iex $ - '| IEX' - '|IEX ' - I`E`X - I`EX - IE`X - 'iex ' - IEX ( - IEX( - Invoke-Expression condition: all of selection_*
Known false positives
- Some PowerShell installers were seen using similar combinations. Apply filters accordingly