Usage Of Web Request Commands And Cmdlets

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the use of various web request commands with commandline tools and Windows PowerShell cmdlets (including aliases) via CommandLine

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains "[System.Net.WebRequest]::create,curl ,Invoke-RestMethod,Invoke-WebRequest, irm ,iwr ,Net.WebClient,Resume-BitsTransfer,Start-BitsTransfer,wget ,WinHttp.WinHttpRequest" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

James Pemberton / @4A616D6573, Endgame, JHasenbusch, oscd.community, Austin Songer @austinsonger