Detectionmediumtest

Suspicious PowerShell Download - PoshModule

Detects suspicious PowerShell download command

Open in Detection LabConvert ruleBuild Package
Florian Roth (Nextron Systems)Created 2017-03-05Updated 2023-01-20de41232e-12e8-49fa-86bc-c05c7e722df9windows
Log Source
WindowsPowerShell Module
ProductWindows← raw: windows
CategoryPowerShell Module← raw: ps_module

Definition

0ad03ef1-f21b-4a79-8ce8-e6900c54b65b

Detection Logic
Detection Logic2 selectors
detection:
    selection_webclient_:
        ContextInfo|contains: 'System.Net.WebClient'
    selection_function:
        ContextInfo|contains:
            - '.DownloadFile('
            - '.DownloadString('
    condition: all of selection_*
False Positives

PowerShell scripts that download content from the Internet

MITRE ATT&CK
Related Rules
Derived

65531a81-a694-4e31-ae04-f8ba5bc33759

Rule not found
Rule Metadata
Rule ID
de41232e-12e8-49fa-86bc-c05c7e722df9
Status
test
Level
medium
Type
Detection
Created
2017-03-05
Modified
2023-01-20
Path
rules/windows/powershell/powershell_module/posh_pm_susp_download.yml
Raw Tags
attack.executionattack.t1059.001
View on GitHub