Powershell Inline Execution From A File
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects inline execution of PowerShell code from a file
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND COMMANDLINE contains "iex ,Invoke-Expression ,Invoke-Command ,icm " AND COMMANDLINE contains "cat ,get-content ,type " AND COMMANDLINE contains " -raw" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
frack113


