Sigma rule: Suspicious Invoke-WebRequest Execution
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3689b8ed9dcf, updated 2025-07-18T00:00:00.000Z.
Rule
- Title
- Suspicious Invoke-WebRequest Execution
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-08-02
- Modified
- 2025-07-18
- File
- rules/windows/process_creation/proc_creation_win_powershell_invoke_webrequest_download.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects a suspicious call to Invoke-WebRequest cmdlet where the and output is located in a suspicious location
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith:
- '\powershell_ise.exe'
- '\powershell.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'powershell_ise.EXE'
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_commands:
CommandLine|contains:
# These are all aliases of Invoke-WebRequest
- 'curl '
- 'Invoke-WebRequest'
- 'iwr '
- 'wget '
selection_flags:
CommandLine|contains:
- ' -ur'
- ' -o'
selection_susp_locations:
CommandLine|contains:
- '\AppData\'
- '\Desktop\'
- '\Temp\'
- '\Users\Public\'
- '%AppData%'
- '%Public%'
- '%Temp%'
- '%tmp%'
- ':\Windows\'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.command-and-control
- 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/process_creation/proc_creation_win_powershell_invoke_webrequest_download.yml
Sources and licences
SigmaHQ
"Suspicious Invoke-WebRequest Execution" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_invoke_webrequest_download.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Invoke-WebRequest Execution",
entity page, dataset version ref-3689b8ed9dcf, updated 2025-07-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5e3cc4d8-3e68-43db-8656-eaaeefdec9cc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5e3cc4d8-3e68-43db-8656-eaaeefdec9cc, 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.