Analysis
- max time kernel
149s - max time network
153s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
22/09/2024, 09:16
Static task
static1
Behavioral task
behavioral1
Sample
f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
Resource
win7-20240708-en
10 signatures
150 seconds
Behavioral task
behavioral2
Sample
f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
Resource
win10v2004-20240802-en
12 signatures
150 seconds
General
- Target f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
- Size 553KB
- Sample240922-k8lfbascjd
- SHA256 abce6b27c63269c3b77de0434f8a864aaa69938d57f6fb14476a7ac4bf689731
- MD5 f1b82a62136c2eec21b2d3f94a8beea7
- SHA1 bbe3a1a2b522912101b5e8edc739f7cdb5fdbdf6
- SHA512 deec23222fc1a48a208b60945d6a2483b2ad415f8137648425d5e7ccc7bf09d8734b9a542852d780afd7dbc62fb7b187774f0065473a4f17c518d3e7da2fd9d8
- SSDEEP 6144:fBd+sYvDno89PB9UeOBSYFVTW10ktwYW7SOpmM8SYKB4/10p6HN:tp6HN
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
wshrat
C2
-
http://trabajovalle2019.duckdns.org:2034
Signatures
- Blocklisted process makes network request 23 IoCs
flow pid Process 21 5060 wscript.exe 23 5060 wscript.exe 34 5060 wscript.exe 40 5060 wscript.exe 41 5060 wscript.exe 42 5060 wscript.exe 43 5060 wscript.exe 44 5060 wscript.exe 48 5060 wscript.exe 49 5060 wscript.exe 50 5060 wscript.exe 51 5060 wscript.exe 52 5060 wscript.exe 57 5060 wscript.exe 58 5060 wscript.exe 59 5060 wscript.exe 60 5060 wscript.exe 61 5060 wscript.exe 62 5060 wscript.exe 63 5060 wscript.exe 64 5060 wscript.exe 65 5060 wscript.exe 66 5060 wscript.exe - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-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\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\f1b82a62136c2eec21b2d3f94a8beea7_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-2718105630-359604950-2820636825-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\f1b82a62136c2eec21b2d3f94a8beea7_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 20 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).
- Modifies registry class 2 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000_Classes\Local Settings wscript.exe Key created \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000_Classes\Local Settings wscript.exe - Runs .reg file with regedit 2 IoCs
pid Process 2836 regedit.exe 2684 regedit.exe - Script User-Agent 22 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 44 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 50 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 57 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 34 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 41 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 42 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 48 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 58 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 65 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 40 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 49 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 59 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 60 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 61 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 62 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 43 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 51 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 52 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 63 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 64 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 66 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom HTTP User-Agent header 23 WSHRAT|5007F393|KZYBFHMK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v2.0|GB:United Kingdom - Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 3388 wrote to memory of 2836 3388 wscript.exe 82 PID 3388 wrote to memory of 2836 3388 wscript.exe 82 PID 3388 wrote to memory of 5060 3388 wscript.exe 90 PID 3388 wrote to memory of 5060 3388 wscript.exe 90 PID 5060 wrote to memory of 2684 5060 wscript.exe 91 PID 5060 wrote to memory of 2684 5060 wscript.exe 91
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:3388 -
C:\Windows\regedit.exe"regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"2⤵
- Runs .reg file with regedit
PID:2836
-
-
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js"2⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:5060 -
C:\Windows\regedit.exe"regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"3⤵
- Runs .reg file with regedit
PID:2684
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg
- Size 143B
- SHA256 cb68d50df5817e51ec5b2f72893dc4c749bf3504519107e0a78dda84d55f09e2
- MD5 0e5411d7ecba9a435afda71c6c39d8fd
- SHA1 2d6812052bf7be1b5e213e1d813ae39faa07284c
- SHA512 903ac6e5c8a12607af267b54bcbbedfa5542c5b4f7ea289ab7c6a32a424d5b846ae406d830cb4ad48e2b46f92c504163c0856af8c3e09685a8855f39f616ddb1
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
- Size 553KB
- SHA256 abce6b27c63269c3b77de0434f8a864aaa69938d57f6fb14476a7ac4bf689731
- MD5 f1b82a62136c2eec21b2d3f94a8beea7
- SHA1 bbe3a1a2b522912101b5e8edc739f7cdb5fdbdf6
- SHA512 deec23222fc1a48a208b60945d6a2483b2ad415f8137648425d5e7ccc7bf09d8734b9a542852d780afd7dbc62fb7b187774f0065473a4f17c518d3e7da2fd9d8
- SSDEEP 6144:fBd+sYvDno89PB9UeOBSYFVTW10ktwYW7SOpmM8SYKB4/10p6HN:tp6HN
- MD5 SHA1 SHA512 SSDEEP