Detectionmediumtest
Suspicious PowerShell Download - Powershell Script
Detects suspicious PowerShell download command
Florian Roth (Nextron Systems)Created 2017-03-05Updated 2022-12-02403c2cc0-7f6b-4925-9423-bfa573bed7ebwindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic2 selectors
detection:
webclient:
ScriptBlockText|contains: 'System.Net.WebClient'
download:
ScriptBlockText|contains:
- '.DownloadFile('
- '.DownloadFileAsync('
- '.DownloadString('
- '.DownloadStringAsync('
condition: webclient and downloadFalse Positives
PowerShell scripts that download content from the Internet
MITRE ATT&CK
Tactics
Sub-techniques
Related Rules
Derived
Rule not found65531a81-a694-4e31-ae04-f8ba5bc33759
Rule Metadata
Rule ID
403c2cc0-7f6b-4925-9423-bfa573bed7eb
Status
test
Level
medium
Type
Detection
Created
2017-03-05
Modified
2022-12-02
Path
rules/windows/powershell/powershell_script/posh_ps_susp_download.yml
Raw Tags
attack.executionattack.t1059.001