Detectionmediumtest

PowerShell Download Pattern

Detects a Powershell process that contains download commands in its command line string

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), oscd.community, Jonhnathan RibeiroCreated Wed Jan 16Updated Mon Oct 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
Rule Metadata
Rule ID
3b6ab547-8ec2-4991-b9d2-2b06702a48d7
Status
test
Level
medium
Type
Detection
Created
Wed Jan 16
Modified
Mon Oct 20
Path
rules/windows/process_creation/proc_creation_win_powershell_download_patterns.yml
Raw Tags
attack.executionattack.t1059.001
View on GitHub