Suspicious Use of CSharp Interactive Console

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the execution of CSharp interactive console by PowerShell

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PROCESSNAME endswith "\csi.exe" AND PARENTPROCESSNAME endswith "\powershell.exe,\pwsh.exe,\powershell_ise.exe" AND ORIGINALFILENAME = "csi.exe" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Michael R. (@nahamike01)