Possible DLL File Download Through PowerShell Invoke-WebRequest (via process_creation)

This rule detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets.

SigmamediumWindowsv1
sigma
title: Possible DLL File Download Through PowerShell Invoke-WebRequest (via process_creation)
id: eec34d59-decd-520c-8e7d-e3f0553e5789
status: stable
description: This rule detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets.
references:
    - https://attack.mitre.org/techniques/T1105/
    - https://attack.mitre.org/techniques/T1059/001/
    - https://www.zscaler.com/blogs/security-research/onenote-growing-threat-malware-distribution
author: Huntrule Team
date: 2026-06-26
tags:
    - attack.command-and-control
    - attack.execution
    - attack.t1059.001
    - attack.t1105
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        CommandLine|contains:
            - 'Invoke-RestMethod '
            - 'Invoke-WebRequest '
            - 'IRM '
            - 'IWR '
        CommandLine|contains|all:
            - 'http'
            - 'OutFile'
            - '.dll'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.