Community detections
csi.exe
2 community detection rules look for suspicious csi.exe command lines, most often for Software Deployment Tools (T1072), Trusted Developer Utilities Proxy Execution (T1127), System Binary Proxy Execution (T1218). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.
What defenders look for
- HighSuspicious Use of CSharp Interactive Console
Detects the execution of CSharp interactive console by PowerShell
T1127by Michael R. (@nahamike01)
- MediumSuspicious Csi.exe Usage
Csi.exe is a signed binary from Microsoft that comes with Visual Studio and provides C# interactive capabilities. It can be used to run C# code from a file passed as a parameter in command line. Early version of this utility provided with Microsoft “Roslyn” Community Technology Preview was named 'rcsi.exe'
T1072T1218by Konstantin Grishchenko, oscd.community
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.
Questions
- Is csi.exe malicious?
- Not by itself. These rules flag specific ways of running it: 2 rules, 1 rated high or critical. Suspicious Use of CSharp Interactive Console; Suspicious Csi.exe Usage. Judge a run by its command line, its parent process, the account and the host.
- What does csi.exe have to do with ATT&CK?
- The rules for it map to Software Deployment Tools (T1072), Trusted Developer Utilities Proxy Execution (T1127), System Binary Proxy Execution (T1218).
- How do I check a csi.exe command line?
- Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.