Suspicious Invoke-WebRequest Execution With DirectIP
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects calls to PowerShell with Invoke-WebRequest cmdlet using direct IP access
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (PROCESSNAME endswith "\powershell_ise.exe,\powershell.exe,\pwsh.exe" OR ORIGINALFILENAME = "powershell_ise.EXE,PowerShell.EXE,pwsh.dll") AND COMMANDLINE contains "curl ,Invoke-RestMethod,Invoke-WebRequest, irm ,iwr ,wget " AND COMMANDLINE contains "://1,://2,://3,://4,://5,://6,://7,://8,://9" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Nasreddine Bencherchali (Nextron Systems)


