Suspicious Use Of Web Request Commands And Cmdlets (via process_creation)

This rule detects the use of various web request commands with commandline tools and Windows PowerShell cmdlets (including aliases) via CommandLine

SigmamediumWindowsv1
sigma
title: Suspicious Use Of Web Request Commands And Cmdlets (via process_creation)
id: 98cb18d7-8666-501f-960e-ee8775ab54e3
status: stable
description: This rule detects the use of various web request commands with commandline tools and Windows PowerShell cmdlets (including aliases) via CommandLine
references:
    - https://attack.mitre.org/techniques/T1059/001/
    - https://4sysops.com/archives/use-powershell-to-download-a-file-with-http-https-and-ftp/
    - https://blog.jourdant.me/post/3-ways-to-download-files-with-powershell
    - https://learn.microsoft.com/en-us/powershell/module/bitstransfer/add-bitsfile?view=windowsserver2019-ps
author: Huntrule Team
date: 2026-02-14
tags:
    - attack.execution
    - attack.t1059.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            - '[System.Net.WebRequest]::create'
            - 'curl '
            - 'Invoke-RestMethod'
            - 'Invoke-WebRequest'
            - ' irm '
            - 'iwr '
            - 'Resume-BitsTransfer'
            - 'Start-BitsTransfer'
            - 'wget '
            - 'WinHttp.WinHttpRequest'
    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.