Detectionmediumtest

Potential DLL File Download Via PowerShell Invoke-WebRequest

Detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets.

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), Hieu TranCreated Mon Mar 13Updated Fri Jul 180f0450f3-8b47-441e-a31b-15a91dc243e2windows
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 Logic1 selector
detection:
    selection:
        CommandLine|contains:
            - 'Invoke-RestMethod '
            - 'Invoke-WebRequest '
            - 'IRM '
            - 'IWR '
        CommandLine|contains|all:
            - 'http'
            - 'OutFile'
            - '.dll'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
0f0450f3-8b47-441e-a31b-15a91dc243e2
Status
test
Level
medium
Type
Detection
Created
Mon Mar 13
Modified
Fri Jul 18
Path
rules/windows/process_creation/proc_creation_win_powershell_download_dll.yml
Raw Tags
attack.command-and-controlattack.executionattack.t1059.001attack.t1105
View on GitHub