Sigma rule: Suspicious Invoke-WebRequest Execution With DirectIP
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-35ae218ad8da, updated 2023-04-21T00:00:00.000Z.
Rule
- Title
- Suspicious Invoke-WebRequest Execution With DirectIP
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-04-21
- File
- rules/windows/process_creation/proc_creation_win_powershell_invoke_webrequest_direct_ip.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects calls to PowerShell with Invoke-WebRequest cmdlet using direct IP access
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-RestMethod'
- 'Invoke-WebRequest'
- ' irm ' # Space before and after to avoid false positives with 'irm' as a substring
- 'iwr '
- 'wget '
selection_ip:
# In case of FP with local IPs add additional filters
CommandLine|contains:
- '://1'
- '://2'
- '://3'
- '://4'
- '://5'
- '://6'
- '://7'
- '://8'
- '://9'
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
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_direct_ip.yml
Sources and licences
SigmaHQ
"Suspicious Invoke-WebRequest Execution With DirectIP" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_invoke_webrequest_direct_ip.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 With DirectIP",
entity page, dataset version ref-35ae218ad8da, updated 2023-04-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1edff897-9146-48d2-9066-52e8d8f80a2f (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1edff897-9146-48d2-9066-52e8d8f80a2f, 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.