Detectionmediumtest
PowerShell Download Pattern
Detects a Powershell process that contains download commands in its command line string
Florian Roth (Nextron Systems), oscd.community, Jonhnathan RibeiroCreated 2019-01-16Updated 2025-10-203b6ab547-8ec2-4991-b9d2-2b06702a48d7windows
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_img:
- Image|endswith:
- '\powershell_ise.exe'
- '\powershell.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'PowerShell_ISE.EXE'
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_cli:
CommandLine|contains|all:
- 'new-object'
- 'net.webclient).'
- 'download'
CommandLine|contains:
- 'string('
- 'file('
condition: all of selection_*False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Tactics
Sub-techniques
Related Rules
DerivedDetectionhigh
Suspicious PowerShell Download and Execute Pattern
Detects suspicious PowerShell download patterns that are often used in malicious scripts, stagers or downloaders (make sure that your backend applies the strings case-insensitive)
This rule was derived from the related rule - both detect similar activity with different scope.
Similar
Rule not found8f70ac5f-1f6f-4f8e-b454-db19561216c5
Rule Metadata
Rule ID
3b6ab547-8ec2-4991-b9d2-2b06702a48d7
Status
test
Level
medium
Type
Detection
Created
2019-01-16
Modified
2025-10-20
Path
rules/windows/process_creation/proc_creation_win_powershell_download_patterns.yml
Raw Tags
attack.executionattack.t1059.001