PowerShell Script With File Upload Capabilities
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects PowerShell scripts leveraging the "Invoke-WebRequest" cmdlet to send data via either "PUT" or "POST" method.
Severity
Attention
Rule Requirement
Criteria
Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Invoke-RestMethod,Invoke-WebRequest,irm ,iwr " AND SCRIPTEXECUTED contains "-Method "POST",-Method "PUT",-Method POST,-Method PUT,-Method 'POST',-Method 'PUT'" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED
Detection
Execution Mode
realtime
Log Sources
Windows
Author
frack113


