.. / Cscript.exe
Star

Binary used to execute scripts in Windows


Paths:


Resources:
https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
https://oddvar.moe/2018/01/14/putting-data-in-alternate-data-streams-and-how-to-execute-it/

Acknowledgement:
Oddvar Moe - @oddvarmoe


Detection:
Cscript.exe executing files from alternate data streams



Alternate data streams

Use cscript.exe to exectute a Visual Basic script stored in an Alternate Data Stream (ADS).
cscript c:\ads\file.txt:script.vbs
Usecase:Can be used to evade defensive countermeasures or to hide as a persistence mechanism
Privileges required:User
OS:Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
Mitre:T1096