Analysis
-
max time kernel
150s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20230221-en -
resource tags
arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system -
submitted
08-05-2023 13:16
Static task
static1
Behavioral task
behavioral1
Sample
Scan0030.js
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
Scan0030.js
Resource
win10v2004-20230221-en
General
-
Target
Scan0030.js
-
Size
898KB
-
MD5
b2b05e1631db082866c8f9d38cddf403
-
SHA1
3f19e69b66bf8c50993b55e5744818e3e92d4156
-
SHA256
c7805522f881cfa27c3cc92917f28da0f770d1e4ffe5aa170751058553da73ed
-
SHA512
7b7f6ab57bb555e07bd39e21e1470ea73c2dc4c1fa97bc1bbfb3361f8f2659d503a445a90e4125556a2ceba4236f83a077961340c435db0e070a91f6269d4c56
-
SSDEEP
6144:ROD297zg2plJPacQwE6hkpA0LysIfFk9jvCsYS9H17d9qFPNL6Z4MnJHI9Q6NCwU:+LP
Malware Config
Extracted
wshrat
http://45.90.222.125:7121
Signatures
-
Blocklisted process makes network request 25 IoCs
flow pid Process 16 1172 wscript.exe 18 3200 wscript.exe 24 3200 wscript.exe 27 3200 wscript.exe 35 3200 wscript.exe 36 3200 wscript.exe 37 3200 wscript.exe 45 3200 wscript.exe 53 3200 wscript.exe 55 3200 wscript.exe 56 3200 wscript.exe 59 3200 wscript.exe 62 3200 wscript.exe 63 3200 wscript.exe 64 3200 wscript.exe 65 3200 wscript.exe 71 3200 wscript.exe 72 3200 wscript.exe 73 3200 wscript.exe 74 3200 wscript.exe 75 3200 wscript.exe 76 3200 wscript.exe 77 3200 wscript.exe 78 3200 wscript.exe 79 3200 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-2805025096-2326403612-4231045514-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\Scan0030.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Scan0030.js wscript.exe -
Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0030 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0030.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0030 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0030.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0030 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0030.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0030 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0030.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run 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 23 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 22 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 79 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 16 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 56 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 65 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 77 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 55 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 76 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 63 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 73 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 78 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 35 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 36 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 37 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 53 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 64 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 72 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 74 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 75 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 18 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 27 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 59 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 62 WSHRAT|A0674C6B|UXINIZSV|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 8/5/2023|JavaScript-v3.4|IN:India -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 1172 wrote to memory of 3200 1172 wscript.exe 86 PID 1172 wrote to memory of 3200 1172 wscript.exe 86
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Scan0030.js1⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:1172 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Scan0030.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:3200
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
898KB
MD5b2b05e1631db082866c8f9d38cddf403
SHA13f19e69b66bf8c50993b55e5744818e3e92d4156
SHA256c7805522f881cfa27c3cc92917f28da0f770d1e4ffe5aa170751058553da73ed
SHA5127b7f6ab57bb555e07bd39e21e1470ea73c2dc4c1fa97bc1bbfb3361f8f2659d503a445a90e4125556a2ceba4236f83a077961340c435db0e070a91f6269d4c56
-
Filesize
898KB
MD5b2b05e1631db082866c8f9d38cddf403
SHA13f19e69b66bf8c50993b55e5744818e3e92d4156
SHA256c7805522f881cfa27c3cc92917f28da0f770d1e4ffe5aa170751058553da73ed
SHA5127b7f6ab57bb555e07bd39e21e1470ea73c2dc4c1fa97bc1bbfb3361f8f2659d503a445a90e4125556a2ceba4236f83a077961340c435db0e070a91f6269d4c56
-
Filesize
898KB
MD5b2b05e1631db082866c8f9d38cddf403
SHA13f19e69b66bf8c50993b55e5744818e3e92d4156
SHA256c7805522f881cfa27c3cc92917f28da0f770d1e4ffe5aa170751058553da73ed
SHA5127b7f6ab57bb555e07bd39e21e1470ea73c2dc4c1fa97bc1bbfb3361f8f2659d503a445a90e4125556a2ceba4236f83a077961340c435db0e070a91f6269d4c56