Analysis
-
max time kernel
132s -
max time network
133s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
12-05-2024 15:53
Static task
static1
Behavioral task
behavioral1
Sample
3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js
Resource
win10v2004-20240508-en
General
-
Target
3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js
-
Size
74KB
-
MD5
3ae5d683f6ac3b8e94046b04c87927de
-
SHA1
ace802d67421aabcf9ba3ba21632468f0265a2e2
-
SHA256
c439374dede22f38738d6c955764542c1528956c4d4b773a4dec12a4f34dba44
-
SHA512
ad3ba4ef0d4940b397d759edda1c45cffdeb1d684e04c787ba0be34dfd38e23ce375e4256237b33ec485f7f9b909277b3f6fd9e93d450087a31251abb164f7e3
-
SSDEEP
1536:dScQPMz4GlHNvQYviFSD17fdN85bxYYhVfGAGnNUHORWR:ccQPM8GdNv6ERYLN7SNEKWR
Malware Config
Extracted
wshrat
http://freehost222.ddns.net:1555
Signatures
-
Blocklisted process makes network request 7 IoCs
flow pid Process 2 1500 wscript.exe 4 1500 wscript.exe 20 1500 wscript.exe 34 1500 wscript.exe 39 1500 wscript.exe 45 1500 wscript.exe 46 1500 wscript.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation wscript.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js wscript.exe -
Adds Run key to start application 2 TTPs 4 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js\"" wscript.exe -
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 1 ip-api.com -
Command and Scripting Interpreter: JavaScript 1 TTPs
-
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 6 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 45 WSHRAT|1426F231|BVRKIPTS|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 12/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 46 WSHRAT|1426F231|BVRKIPTS|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 12/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 4 WSHRAT|1426F231|BVRKIPTS|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 12/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 20 WSHRAT|1426F231|BVRKIPTS|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 12/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 34 WSHRAT|1426F231|BVRKIPTS|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 12/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 39 WSHRAT|1426F231|BVRKIPTS|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 12/5/2024|JavaScript-v2.0|GB:United Kingdom -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 2184 wrote to memory of 1500 2184 wscript.exe 82 PID 2184 wrote to memory of 1500 2184 wscript.exe 82
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:2184 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\3ae5d683f6ac3b8e94046b04c87927de_JaffaCakes118.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:1500
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
74KB
MD53ae5d683f6ac3b8e94046b04c87927de
SHA1ace802d67421aabcf9ba3ba21632468f0265a2e2
SHA256c439374dede22f38738d6c955764542c1528956c4d4b773a4dec12a4f34dba44
SHA512ad3ba4ef0d4940b397d759edda1c45cffdeb1d684e04c787ba0be34dfd38e23ce375e4256237b33ec485f7f9b909277b3f6fd9e93d450087a31251abb164f7e3