Binary file used by .NET to compile JavaScript code to .exe or .dll format
Paths:
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\Jsc.exe
- C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Jsc.exe
- C:\Windows\Microsoft.NET\Framework\v2.0.50727\Jsc.exe
- C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Jsc.exe
Compile
-
Use jsc.exe to compile JavaScript code stored in scriptfile.js and output scriptfile.exe.
jsc.exe scriptfile.js
- Use case
- Compile attacker code on system. Bypass defensive counter measures.
- Privileges required
- User
- Operating systems
- Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
- ATT&CK® technique
- T1127
- Tags
Execute: JScript
-
Use jsc.exe to compile JavaScript code stored in Library.js and output Library.dll.
jsc.exe /t:library Library.js
- Use case
- Compile attacker code on system. Bypass defensive counter measures.
- Privileges required
- User
- Operating systems
- Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
- ATT&CK® technique
- T1127
- Tags
Execute: JScript