rcsi.exe
Non-Interactive command line inerface included with Visual Studio.
Paths
no default
Commands
Execute
Use embedded C# within the csx script to execute the code.
Use case: Local execution of arbitrary C# code stored in local CSX file.
Privileges: User
rcsi.exe {PATH:.csx}
AWL Bypass
Use embedded C# within the csx script to execute the code.
Use case: Local execution of arbitrary C# code stored in local CSX file.
Privileges: User
rcsi.exe {PATH:.csx}
Detection
- Sigma: https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_csi_execution.yml
- Elastic: https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_unusual_process_network_connection.toml
- Elastic: https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_network_connection_from_windows_binary.toml
- BlockRule: https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_csi_execution.yml