Analysis
-
max time kernel
148s -
max time network
150s -
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 15:52
Static task
static1
Behavioral task
behavioral1
Sample
aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js
Resource
win10v2004-20240802-en
General
-
Target
aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js
-
Size
984KB
-
MD5
d184c9512e27f412a98e4ad8b2225136
-
SHA1
06699f9d15e3add90f8b50ac3db0e45b9bbcd671
-
SHA256
aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141
-
SHA512
f17ec0e449fc5d94e5aa635d8e30e06d78d5915f2cbb819ff77e46dcb6bd836a13a286f035e44ae885a764838f0136fec2ad4cfcd1ee1c89dd14f3d082265837
-
SSDEEP
6144:HQ5h2HwarBPcXUTjpdpiTv0H0nBX7uBKZMiVTuw4JuFuOP88S7d45/qEhTXHINRV:wHFO3cMSK
Malware Config
Extracted
wshrat
http://37.48.102.22:1820
Signatures
-
Blocklisted process makes network request 31 IoCs
flow pid Process 21 3996 wscript.exe 22 3996 wscript.exe 30 3996 wscript.exe 31 3996 wscript.exe 37 3996 wscript.exe 41 3996 wscript.exe 43 3996 wscript.exe 45 3996 wscript.exe 47 3996 wscript.exe 49 3996 wscript.exe 52 3996 wscript.exe 53 3996 wscript.exe 54 3996 wscript.exe 55 3996 wscript.exe 56 3996 wscript.exe 59 3996 wscript.exe 60 3996 wscript.exe 61 3996 wscript.exe 62 3996 wscript.exe 63 3996 wscript.exe 69 3996 wscript.exe 70 3996 wscript.exe 71 3996 wscript.exe 72 3996 wscript.exe 73 3996 wscript.exe 74 3996 wscript.exe 75 3996 wscript.exe 76 3996 wscript.exe 77 3996 wscript.exe 78 3996 wscript.exe 79 3996 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-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-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\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.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-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js\"" wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.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-656926755-4116854191-210765258-1000_Classes\Local Settings wscript.exe Key created \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000_Classes\Local Settings wscript.exe -
Runs .reg file with regedit 2 IoCs
pid Process 4268 regedit.exe 3428 regedit.exe -
Script User-Agent 25 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 52 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 53 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 69 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 78 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 30 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 55 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 56 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 61 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 63 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 70 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 74 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 22 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 76 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 75 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 79 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 31 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 37 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 54 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 60 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 72 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 73 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 77 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 59 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 62 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom HTTP User-Agent header 71 WSHRAT|C40FABAC|OARDHGDN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/9/2024|JavaScript-v3.4|GB:United Kingdom -
Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 1144 wrote to memory of 4268 1144 wscript.exe 82 PID 1144 wrote to memory of 4268 1144 wscript.exe 82 PID 1144 wrote to memory of 3996 1144 wscript.exe 90 PID 1144 wrote to memory of 3996 1144 wscript.exe 90 PID 3996 wrote to memory of 3428 3996 wscript.exe 91 PID 3996 wrote to memory of 3428 3996 wscript.exe 91
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.js1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:1144 -
C:\Windows\regedit.exe"regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"2⤵
- Runs .reg file with regedit
PID:4268
-
-
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141.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:3996 -
C:\Windows\regedit.exe"regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"3⤵
- Runs .reg file with regedit
PID:3428
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
143B
MD50e5411d7ecba9a435afda71c6c39d8fd
SHA12d6812052bf7be1b5e213e1d813ae39faa07284c
SHA256cb68d50df5817e51ec5b2f72893dc4c749bf3504519107e0a78dda84d55f09e2
SHA512903ac6e5c8a12607af267b54bcbbedfa5542c5b4f7ea289ab7c6a32a424d5b846ae406d830cb4ad48e2b46f92c504163c0856af8c3e09685a8855f39f616ddb1
-
Filesize
984KB
MD5d184c9512e27f412a98e4ad8b2225136
SHA106699f9d15e3add90f8b50ac3db0e45b9bbcd671
SHA256aed8a6b3191c2097fcbadb520f5d0f7e30b578c23f9abc0ab52b63bbb7abc141
SHA512f17ec0e449fc5d94e5aa635d8e30e06d78d5915f2cbb819ff77e46dcb6bd836a13a286f035e44ae885a764838f0136fec2ad4cfcd1ee1c89dd14f3d082265837