2020-10-17 22:22:24 +03:00
title : Suspicious Csi.exe Usage
id : 40b95d31-1afc-469e-8d34-9a3a667d058e
2021-08-18 18:58:20 +00: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
status : experimental
author : Konstantin Grishchenko, oscd.community
date : 2020 /10/17
2021-05-11 11:16:12 +02:00
modified : 2021 /05/11
2020-10-17 22:22:24 +03:00
references :
- https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OtherMSBinaries/Csi.yml
- https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OtherMSBinaries/Rcsi.yml
- https://enigma0x3.net/2016/11/21/bypassing-application-whitelisting-by-using-rcsi-exe/
- https://twitter.com/Z3Jpa29z/status/1317545798981324801
tags :
- attack.execution
- attack.t1072
- attack.defense_evasion
- attack.t1218
logsource :
category : process_creation
product : windows
detection :
basic :
- Image|endswith : '\csi.exe'
- Image|endswith : '\rcsi.exe'
renamed :
2021-05-11 11:16:12 +02:00
- OriginalFileName : 'csi.exe'
- OriginalFileName : 'rcsi.exe'
2020-10-17 22:22:24 +03:00
selection :
Company : 'Microsoft Corporation'
condition : (basic or renamed) and selection
fields :
- ComputerName
- User
- CommandLine
- ParentCommandLine
falsepositives :
2020-10-17 22:29:49 +03:00
- Legitimate usage by software developers
level : medium