Detectionhightest
Suspicious Use of CSharp Interactive Console
Detects the execution of CSharp interactive console by PowerShell
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith: '\csi.exe'
ParentImage|endswith:
- '\powershell.exe'
- '\pwsh.exe'
- '\powershell_ise.exe'
OriginalFileName: 'csi.exe'
condition: selectionFalse Positives
Possible depending on environment. Pair with other factors such as net connections, command-line args, etc.
References
MITRE ATT&CK
Rule Metadata
Rule ID
a9e416a8-e613-4f8b-88b8-a7d1d1af2f61
Status
test
Level
high
Type
Detection
Created
Sun Mar 08
Modified
Thu Jul 14
Author
Path
rules/windows/process_creation/proc_creation_win_csi_use_of_csharp_console.yml
Raw Tags
attack.executionattack.defense-evasionattack.t1127