Sigma rule: Usage Of Web Request Commands And Cmdlets
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-336c7ca98c44, updated 2025-10-20T00:00:00.000Z.
Rule
- Title
- Usage Of Web Request Commands And Cmdlets
- Status
- test
- Level
- medium
- Author
- James Pemberton / @4A616D6573, Endgame, JHasenbusch, oscd.community, Austin Songer @austinsonger
- Date
- 2019-10-24
- Modified
- 2025-10-20
- File
- rules/windows/process_creation/proc_creation_win_susp_web_request_cmd_and_cmdlets.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of various web request commands with commandline tools and Windows PowerShell cmdlets (including aliases) via CommandLine
Log source
- product
- windows
- category
- process_creation
Detection
selection:
CommandLine|contains:
- '[System.Net.WebRequest]::create'
- 'curl '
- 'Invoke-RestMethod'
- 'Invoke-WebRequest'
- ' irm ' # Space before and after to avoid false positives with 'irm' as a substring
- 'iwr '
# - 'Net.WebClient' # There are various other rules that cover this, so it is commented out
- 'Resume-BitsTransfer'
- 'Start-BitsTransfer'
- 'wget '
- 'WinHttp.WinHttpRequest'
condition: selectionFalse positives (as the rule lists them)
- Use of Get-Command and Get-Help modules to reference Invoke-WebRequest and Start-BitsTransfer.
Tags
- attack.execution
- attack.t1059.001
MITRE ATT&CK ids this rule names
Related rules
- 1139d2e2-84b1-4226-b445-354492eba8ba (similar)
- f67dbfce-93bc-440d-86ad-a95ae8858c90 (obsolete)
- cd5c8085-4070-4e22-908d-a5b3342deb74 (obsolete)
- 6e897651-f157-4d8f-aaeb-df8151488385 (obsolete)
References
- 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
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_susp_web_request_cmd_and_cmdlets.yml
Sources and licences
SigmaHQ
"Usage Of Web Request Commands And Cmdlets" by James Pemberton / @4A616D6573, Endgame, JHasenbusch, oscd.community, Austin Songer @austinsonger (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_web_request_cmd_and_cmdlets.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: Usage Of Web Request Commands And Cmdlets",
entity page, dataset version ref-336c7ca98c44, updated 2025-10-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9fc51a3c-81b3-4fa7-b35f-7c02cf10fd2d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9fc51a3c-81b3-4fa7-b35f-7c02cf10fd2d, 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.