Analysis
- max time kernel
148s - max time network
157s - platform
windows10-2004_x64 - resource
win10v2004-20230703-en - resource tags
arch:x64arch:x86image:win10v2004-20230703-enlocale:en-usos:windows10-2004-x64system - submitted
19/07/2023, 12:54
Static task
static1
Behavioral task
behavioral1
Sample
TBTX00392.js
Resource
win7-20230712-en
8 signatures
150 seconds
Behavioral task
behavioral2
Sample
TBTX00392.js
Resource
win10v2004-20230703-en
10 signatures
150 seconds
General
- Target TBTX00392.js
- Size 1011KB
- Sample230719-p476qsff9w
- SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
- MD5 bebb7261224b5a20938c5b0ece1e973e
- SHA1 7ad65629b20caaaac52b7a161c8be6b5ebb9e278
- SHA512 04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3
- SSDEEP 1536:qeqxR3RFiK5t/+2Z20xYssK3Qk5Fh5dQt5U6EPkQcTeV8qMXKQcTeDwxAiPvcYnS:Y7A977i8YnIvf
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
wshrat
C2
-
http://45.90.222.131:7121
Signatures
- Blocklisted process makes network request 30 IoCs
flow pid Process 8 3096 wscript.exe 19 3292 wscript.exe 26 3292 wscript.exe 27 3292 wscript.exe 55 3292 wscript.exe 64 3292 wscript.exe 65 3292 wscript.exe 79 3292 wscript.exe 108 3292 wscript.exe 117 3292 wscript.exe 118 3292 wscript.exe 119 3292 wscript.exe 120 3292 wscript.exe 121 3292 wscript.exe 126 3292 wscript.exe 127 3292 wscript.exe 129 3292 wscript.exe 130 3292 wscript.exe 131 3292 wscript.exe 156 3292 wscript.exe 166 3292 wscript.exe 171 3292 wscript.exe 172 3292 wscript.exe 173 3292 wscript.exe 174 3292 wscript.exe 175 3292 wscript.exe 176 3292 wscript.exe 177 3292 wscript.exe 181 3292 wscript.exe 182 3292 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-618519468-4027732583-1827558364-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\TBTX00392.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js wscript.exe - Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-618519468-4027732583-1827558364-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-618519468-4027732583-1827558364-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\TBTX00392 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\TBTX00392.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\TBTX00392 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\TBTX00392.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-618519468-4027732583-1827558364-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-618519468-4027732583-1827558364-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\TBTX00392 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\TBTX00392.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\TBTX00392 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\TBTX00392.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 25 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Script User-Agent 29 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 176 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 19 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 79 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 156 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 175 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 129 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 171 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 173 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 182 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 108 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 174 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 177 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 181 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 119 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 121 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 126 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 55 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 117 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 166 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 8 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 120 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 130 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 118 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 127 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 172 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 27 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 64 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 65 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 131 WSHRAT|BE22C2A7|YACSFKWT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/7/2023|JavaScript-v3.4|NL:Netherlands - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeManageVolumePrivilege 1392 svchost.exe - Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 3096 wrote to memory of 3292 3096 wscript.exe 87 PID 3096 wrote to memory of 3292 3096 wscript.exe 87
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\TBTX00392.js1⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:3096 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\TBTX00392.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:3292
-
-
C:\Windows\system32\rundll32.exe"C:\Windows\system32\rundll32.exe" "C:\Windows\SYSTEM32\EDGEHTML.dll",#141 Microsoft.VCLibs.140.00_8wekyb3d8bbwe1⤵PID:4928
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k UnistackSvcGroup1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1392
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js
- Size 1011KB
- SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
- MD5 bebb7261224b5a20938c5b0ece1e973e
- SHA1 7ad65629b20caaaac52b7a161c8be6b5ebb9e278
- SHA512 04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3
- SSDEEP 1536:qeqxR3RFiK5t/+2Z20xYssK3Qk5Fh5dQt5U6EPkQcTeV8qMXKQcTeDwxAiPvcYnS:Y7A977i8YnIvf
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js
- Size 1011KB
- SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
- MD5 bebb7261224b5a20938c5b0ece1e973e
- SHA1 7ad65629b20caaaac52b7a161c8be6b5ebb9e278
- SHA512 04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3
- SSDEEP 1536:qeqxR3RFiK5t/+2Z20xYssK3Qk5Fh5dQt5U6EPkQcTeV8qMXKQcTeDwxAiPvcYnS:Y7A977i8YnIvf
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\TBTX00392.js
- Size 1011KB
- SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
- MD5 bebb7261224b5a20938c5b0ece1e973e
- SHA1 7ad65629b20caaaac52b7a161c8be6b5ebb9e278
- SHA512 04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3
- SSDEEP 1536:qeqxR3RFiK5t/+2Z20xYssK3Qk5Fh5dQt5U6EPkQcTeV8qMXKQcTeDwxAiPvcYnS:Y7A977i8YnIvf
- MD5 SHA1 SHA512 SSDEEP