Files
blue-team-tools/rules/windows/powershell/powershell_script/powershell_web_request.yml
T

35 lines
1.1 KiB
YAML
Raw Normal View History

2019-10-24 11:57:37 +11:00
title: Windows PowerShell Web Request
2021-09-21 13:44:19 +02:00
id: 1139d2e2-84b1-4226-b445-354492eba8ba
related:
- id: 9fc51a3c-81b3-4fa7-b35f-7c02cf10fd2d
type: derived
2019-10-24 11:57:37 +11:00
status: experimental
2021-08-31 13:48:07 +02:00
description: Detects the use of various web request methods (including aliases) via Windows PowerShell command
2019-10-24 11:57:37 +11:00
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
author: James Pemberton / @4A616D6573
date: 2019/10/24
2021-10-16 08:18:49 +02:00
modified: 2021/10/16
2019-10-24 11:57:37 +11:00
tags:
- attack.execution
- attack.t1059.001
- attack.t1086 #an old one
2020-07-07 22:47:14 +02:00
logsource:
product: windows
2021-10-16 08:18:49 +02:00
category: ps_script
2021-08-04 14:49:50 +02:00
definition: 'Script block logging must be enabled'
2020-07-07 22:47:14 +02:00
detection:
selection:
ScriptBlockText|contains:
- 'Invoke-WebRequest'
- 'iwr '
- 'wget '
- 'curl '
- 'Net.WebClient'
- 'Start-BitsTransfer'
2021-09-21 13:44:19 +02:00
condition: selection
falsepositives:
- Use of Get-Command and Get-Help modules to reference Invoke-WebRequest and Start-BitsTransfer.
level: medium