.. / Jsc.exe
Star

Binary file used by .NET to compile javascript code to .exe or .dll format


Paths:


Resources:
https://twitter.com/DissectMalware/status/998797808907046913
https://www.phpied.com/make-your-javascript-a-windows-exe/

Acknowledgement:
Malwrologist - @DissectMalware


Detection:
Jsc.exe should normally not run a system unless it is used for development.



Compile

Use jsc.exe to compile javascript code stored in scriptfile.js and output scriptfile.exe.
jsc.exe scriptfile.js
Usecase:Compile attacker code on system. Bypass defensive counter measures.
Privileges required:User
OS:Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
Mitre:T1127



Use jsc.exe to compile javascript code stored in Library.js and output Library.dll.
jsc.exe /t:library Library.js
Usecase:Compile attacker code on system. Bypass defensive counter measures.
Privileges required:User
OS:Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
Mitre:T1127