From 106c3596879dcd4abbde721131ae6d94e8e5ca23 Mon Sep 17 00:00:00 2001 From: Oddvar Moe Date: Fri, 31 May 2019 13:53:43 +0200 Subject: [PATCH] added Jsc.exe - Thanks @DissectMalware --- yml/OSBinaries/Jsc.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 yml/OSBinaries/Jsc.yml diff --git a/yml/OSBinaries/Jsc.yml b/yml/OSBinaries/Jsc.yml new file mode 100644 index 0000000..e2d1182 --- /dev/null +++ b/yml/OSBinaries/Jsc.yml @@ -0,0 +1,38 @@ +--- +Name: Jsc.exe +Description: Binary file used by .NET to compile javascript code to .exe or .dll format +Author: 'Oddvar Moe' +Created: '2019-05-31' +Commands: + - Command: jsc.exe scriptfile.js + Description: Use jsc.exe to compile javascript code stored in scriptfile.js and output scriptfile.exe. + Usecase: Compile attacker code on system. Bypass defensive counter measures. + Category: Compile + Privileges: User + MitreID: T1127 + MitreLink: https://attack.mitre.org/wiki/Technique/T1127 + OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10 + - Command: jsc.exe /t:library Library.js + Description: Use jsc.exe to compile javascript code stored in Library.js and output Library.dll. + Usecase: Compile attacker code on system. Bypass defensive counter measures. + Category: Compile + Privileges: User + MitreID: T1127 + MitreLink: https://attack.mitre.org/wiki/Technique/T1127 + OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10 +Full_Path: + - Path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Jsc.exe + - Path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Jsc.exe + - Path: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Jsc.exe + - Path: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Jsc.exe +Code_Sample: +- Code: +Detection: + - IOC: Jsc.exe should normally not run a system unless it is used for development. +Resources: + - Link: https://twitter.com/DissectMalware/status/998797808907046913 + - Link: https://www.phpied.com/make-your-javascript-a-windows-exe/ +Acknowledgement: + - Person: Malwrologist + Handle: @DissectMalware +--- \ No newline at end of file