--- Name: csi.exe Description: Command line interface included with Visual Studio. Author: 'Oddvar Moe' Created: '2018-05-25' Commands: - Command: csi.exe file Description: Use csi.exe to run unsigned C# code. Usecase: Local execution of unsigned C# code. Category: Execution Privileges: User MitreID: T1218 MitreLink: https://attack.mitre.org/wiki/Technique/T1218 OperatingSystem: Windows Full Path: - c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Roslyn\csi.exe - c:\Program Files (x86)\Microsoft Web Tools\Packages\Microsoft.Net.Compilers.X.Y.Z\tools\csi.exe Code Sample: [] Detection: [] Resources: - https://twitter.com/subTee/status/781208810723549188 - https://enigma0x3.net/2016/11/17/bypassing-application-whitelisting-by-using-dnx-exe/ Acknowledgement: - Person: Casey Smith Handle: '@subtee'