Potential DLL File Download Via PowerShell Invoke-WebRequest

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains "Invoke-RestMethod ,Invoke-WebRequest ,IRM ,IWR " AND (COMMANDLINE contains "http" AND COMMANDLINE contains "OutFile" AND COMMANDLINE contains ".dll") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Florian Roth (Nextron Systems), Hieu Tran