Powershell Executed From Headless ConHost Process
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the use of powershell commands from headless ConHost window. The "--headless" flag hides the windows from the user upon execution.
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (PROCESSNAME endswith "\conhost.exe" OR ORIGINALFILENAME = "CONHOST.EXE") AND (COMMANDLINE contains "--headless" AND COMMANDLINE contains "powershell") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Matt Anderson (Huntress)


