2022-07-11 17:48:40 +01:00
title : Suspicious Csi.exe Usage
2020-10-17 22:22:24 +03:00
id : 40b95d31-1afc-469e-8d34-9a3a667d058e
status : experimental
2022-10-28 15:06:36 +02:00
description : 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'
2020-10-17 22:22:24 +03:00
references :
2022-07-11 17:48:40 +01:00
- https://lolbas-project.github.io/lolbas/OtherMSBinaries/Csi/
- https://lolbas-project.github.io/lolbas/OtherMSBinaries/Rcsi/
2020-10-17 22:22:24 +03:00
- https://enigma0x3.net/2016/11/21/bypassing-application-whitelisting-by-using-rcsi-exe/
- https://twitter.com/Z3Jpa29z/status/1317545798981324801
2022-10-28 15:06:36 +02:00
author : Konstantin Grishchenko, oscd.community
date : 2020 /10/17
modified : 2022 /07/11
2020-10-17 22:22:24 +03:00
tags :
- attack.execution
- attack.t1072
- attack.defense_evasion
- attack.t1218
logsource :
category : process_creation
product : windows
detection :
2022-07-11 17:48:40 +01:00
selection_img :
- Image|endswith :
- '\csi.exe'
- '\rcsi.exe'
- OriginalFileName :
- 'csi.exe'
- 'rcsi.exe'
selection_cli :
2020-10-17 22:22:24 +03:00
Company : 'Microsoft Corporation'
2022-07-11 17:48:40 +01:00
condition : all of selection*
2020-10-17 22:22:24 +03:00
fields :
- ComputerName
- User
- CommandLine
2022-07-11 17:48:40 +01:00
- ParentCommandLine
2020-10-17 22:22:24 +03:00
falsepositives :
2022-07-11 17:48:40 +01:00
- Legitimate usage by software developers
2020-10-17 22:29:49 +03:00
level : medium