Analysis
-
max time kernel
134s -
max time network
134s -
platform
windows10-2004_x64 -
resource
win10v2004-20240419-en -
resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system -
submitted
04-05-2024 02:21
Static task
static1
Behavioral task
behavioral1
Sample
113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js
Resource
win7-20240220-en
Behavioral task
behavioral2
Sample
113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js
Resource
win10v2004-20240419-en
General
-
Target
113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js
-
Size
74KB
-
MD5
113a1b4222b39b21e5f61e5b8b5b7f5d
-
SHA1
4f9a37c5f1d708b59b4dae196c89629f7a5496df
-
SHA256
8fa3ffb85ab6ba074db02c05da5ee6462813fbd750bfc1e9bb2bd4cada56fc6b
-
SHA512
bc34b7fd054bd013c2b90c15c73e27df7bffa155d55cc75ba1b388473ade2460fc327d498133490d8bb1cad97a8de000e1323163973738b177df975064c4fbf7
-
SSDEEP
1536:dScQPMz4GlHNvQYviFSD17fdN85bxYYhVfGAGnNUHORWR:ccQPM8GdNv6ERYLN7SNEKWR
Malware Config
Extracted
wshrat
http://freehost222.ddns.net:1555
Signatures
-
Blocklisted process makes network request 7 IoCs
Processes:
wscript.exeflow pid process 7 4512 wscript.exe 11 4512 wscript.exe 36 4512 wscript.exe 50 4512 wscript.exe 63 4512 wscript.exe 78 4512 wscript.exe 79 4512 wscript.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
wscript.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-2860750803-256193626-1801997576-1000\Control Panel\International\Geo\Nation wscript.exe -
Drops startup file 2 IoCs
Processes:
wscript.exewscript.exedescription ioc process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js wscript.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js wscript.exe -
Adds Run key to start application 2 TTPs 4 IoCs
Processes:
wscript.exewscript.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-2860750803-256193626-1801997576-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2860750803-256193626-1801997576-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\113a1b4222b39b21e5f61e5b8b5b7f5d_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.
Processes:
flow ioc 6 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.
Processes:
description flow ioc HTTP User-Agent header 79 WSHRAT|F60996CF|HNOPMLPY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 4/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 11 WSHRAT|F60996CF|HNOPMLPY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 4/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 36 WSHRAT|F60996CF|HNOPMLPY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 4/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 50 WSHRAT|F60996CF|HNOPMLPY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 4/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 63 WSHRAT|F60996CF|HNOPMLPY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 4/5/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 78 WSHRAT|F60996CF|HNOPMLPY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 4/5/2024|JavaScript-v2.0|GB:United Kingdom -
Suspicious use of WriteProcessMemory 2 IoCs
Processes:
wscript.exedescription pid process target process PID 724 wrote to memory of 4512 724 wscript.exe wscript.exe PID 724 wrote to memory of 4512 724 wscript.exe wscript.exe
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:724 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\113a1b4222b39b21e5f61e5b8b5b7f5d_JaffaCakes118.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:4512
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
74KB
MD5113a1b4222b39b21e5f61e5b8b5b7f5d
SHA14f9a37c5f1d708b59b4dae196c89629f7a5496df
SHA2568fa3ffb85ab6ba074db02c05da5ee6462813fbd750bfc1e9bb2bd4cada56fc6b
SHA512bc34b7fd054bd013c2b90c15c73e27df7bffa155d55cc75ba1b388473ade2460fc327d498133490d8bb1cad97a8de000e1323163973738b177df975064c4fbf7