Sigma rule: PowerShell Download Via Net.WebClient - PowerShell Classic

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5afa260068af, updated 2026-04-28T00:00:00.000Z.

Rule

Title
PowerShell Download Via Net.WebClient - PowerShell Classic
Status
test
Level
low
Author
Florian Roth (Nextron Systems)
Date
2017-03-05
Modified
2026-04-28
File
rules/windows/powershell/powershell_classic/posh_pc_download_via_webclient.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects PowerShell download activity, via the .DownloadFile() or .DownloadString() methods of the Net.WebClient class.
This technique is often abused by attackers to download additional payloads.

Log source

product
windows
category
ps_classic_start

Detection

selection_webclient:
    Data|contains: 'Net.WebClient'
selection_download:
    Data|contains:
        - '.DownloadFile('
        - '.DownloadString('
condition: all of selection_*

False positives (as the rule lists them)

  • This activity may be used by legitimate software, such as patch management tools or software updaters. Investigate any such activity and apply the necessary filter.

Tags

  • attack.execution
  • attack.command-and-control
  • attack.t1059.001
  • attack.t1105

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_classic/posh_pc_download_via_webclient.yml

Sources and licences

  • SigmaHQ

    "PowerShell Download Via Net.WebClient - PowerShell Classic" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_classic/posh_pc_download_via_webclient.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: PowerShell Download Via Net.WebClient - PowerShell Classic",
entity page, dataset version ref-5afa260068af, updated 2026-04-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3236fcd0-b7e3-4433-b4f8-86ad61a9af2d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3236fcd0-b7e3-4433-b4f8-86ad61a9af2d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.