Sigma rule: Suspicious PowerShell Download and Execute Pattern

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-22c2ed7083e7, updated 2022-03-01T00:00:00.000Z.

Rule

Title
Suspicious PowerShell Download and Execute Pattern
Status
test
Level
high
Author
Florian Roth (Nextron Systems)
Date
2022-02-28
Modified
2022-03-01
File
rules/windows/process_creation/proc_creation_win_powershell_susp_download_patterns.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious PowerShell download patterns that are often used in malicious scripts, stagers or downloaders (make sure that your backend applies the strings case-insensitive)

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|contains: # make sure that your backend applies the strings case-insensitive
        - 'IEX ((New-Object Net.WebClient).DownloadString'
        - 'IEX (New-Object Net.WebClient).DownloadString'
        - 'IEX((New-Object Net.WebClient).DownloadString'
        - 'IEX(New-Object Net.WebClient).DownloadString'
        - ' -command (New-Object System.Net.WebClient).DownloadFile('
        - ' -c (New-Object System.Net.WebClient).DownloadFile('
condition: selection

False positives (as the rule lists them)

  • Software installers that pull packages from remote systems and execute them

Tags

  • attack.execution
  • attack.t1059.001

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/process_creation/proc_creation_win_powershell_susp_download_patterns.yml

Sources and licences

  • SigmaHQ

    "Suspicious PowerShell Download and Execute Pattern" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_susp_download_patterns.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: Suspicious PowerShell Download and Execute Pattern",
entity page, dataset version ref-22c2ed7083e7, updated 2022-03-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e6c54d94-498c-4562-a37c-b469d8e9a275 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e6c54d94-498c-4562-a37c-b469d8e9a275, 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.