Malware Analysis Report

2025-04-14 08:28

Sample ID 211009-xz62wafch8
Target uspstracker.js
SHA256 878057fe16a4f4bcdf4e3cf5e28c5e5686da8f24ebb03ced117b34a3f76571aa
Tags
wshrat persistence trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V6

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

878057fe16a4f4bcdf4e3cf5e28c5e5686da8f24ebb03ced117b34a3f76571aa

Threat Level: Known bad

The file uspstracker.js was found to be: Known bad.

Malicious Activity Summary

wshrat persistence trojan

WSHRAT

Blocklisted process makes network request

Drops startup file

Looks up external IP address via web service

Adds Run key to start application

Enumerates physical storage devices

Suspicious use of SendNotifyMessage

Suspicious use of SetWindowsHookEx

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

Suspicious use of FindShellTrayWindow

Suspicious use of WriteProcessMemory

Script User-Agent

Modifies registry class

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2021-10-09 19:18

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2021-10-09 19:18

Reported

2021-10-09 19:21

Platform

win7-en-20210920

Max time kernel

123s

Max time network

146s

Command Line

wscript.exe C:\Users\Admin\AppData\Local\Temp\uspstracker.js

Signatures

WSHRAT

trojan wshrat

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\System32\wscript.exe N/A
N/A N/A C:\Windows\System32\wscript.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\uspstracker.js C:\Windows\system32\wscript.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\uspstracker.js C:\Windows\System32\wscript.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\system32\wscript.exe N/A
Key created \REGISTRY\USER\S-1-5-21-3456797065-1076791440-4146276586-1000\software\microsoft\windows\currentversion\run C:\Windows\System32\wscript.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-3456797065-1076791440-4146276586-1000\Software\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\System32\wscript.exe N/A
Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run C:\Windows\System32\wscript.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\System32\wscript.exe N/A
Key created \REGISTRY\USER\S-1-5-21-3456797065-1076791440-4146276586-1000\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-3456797065-1076791440-4146276586-1000\Software\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\system32\wscript.exe N/A
Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Modifies registry class

Description Indicator Process Target
Key created \REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib\{8acc2016-04a3-4343-b8e1-1870e35d6a41}\1.0 C:\Windows\System32\osk.exe N/A
Key created \REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib\{8acc2016-04a3-4343-b8e1-1870e35d6a41}\1.0\0 C:\Windows\System32\osk.exe N/A
Key created \REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib\{8acc2016-04a3-4343-b8e1-1870e35d6a41}\1.0\0\win64 C:\Windows\System32\osk.exe N/A
Key created \REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib C:\Windows\System32\osk.exe N/A
Key created \REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib\{8acc2016-04a3-4343-b8e1-1870e35d6a41} C:\Windows\System32\osk.exe N/A

Script User-Agent

Description Indicator Process Target
HTTP User-Agent header WSHRAT|DCE526E0|JZCKHXIN|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 9/10/2021|JavaScript-v3.4|NL:Netherlands N/A N/A

Suspicious use of FindShellTrayWindow

Description Indicator Process Target
N/A N/A C:\Windows\System32\osk.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1400 wrote to memory of 332 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\wscript.exe
PID 1400 wrote to memory of 332 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\wscript.exe
PID 1400 wrote to memory of 332 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\wscript.exe
PID 1916 wrote to memory of 2036 N/A C:\Windows\system32\utilman.exe C:\Windows\System32\osk.exe
PID 1916 wrote to memory of 2036 N/A C:\Windows\system32\utilman.exe C:\Windows\System32\osk.exe
PID 1916 wrote to memory of 2036 N/A C:\Windows\system32\utilman.exe C:\Windows\System32\osk.exe
PID 1156 wrote to memory of 1580 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\cscript.exe
PID 1156 wrote to memory of 1580 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\cscript.exe
PID 1156 wrote to memory of 1580 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\cscript.exe

Processes

C:\Windows\system32\wscript.exe

wscript.exe C:\Users\Admin\AppData\Local\Temp\uspstracker.js

C:\Windows\System32\wscript.exe

"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\uspstracker.js"

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe"

C:\Windows\system32\osk.exe

"C:\Windows\system32\osk.exe"

C:\Windows\system32\utilman.exe

utilman.exe /debug

C:\Windows\System32\osk.exe

"C:\Windows\System32\osk.exe"

C:\Windows\SysWOW64\DllHost.exe

C:\Windows\SysWOW64\DllHost.exe /Processid:{60A90A2F-858D-42AF-8929-82BE9D99E8A1}

C:\Windows\SysWOW64\DllHost.exe

C:\Windows\SysWOW64\DllHost.exe /Processid:{60A90A2F-858D-42AF-8929-82BE9D99E8A1}

C:\Windows\SysWOW64\DllHost.exe

C:\Windows\SysWOW64\DllHost.exe /Processid:{60A90A2F-858D-42AF-8929-82BE9D99E8A1}

C:\Windows\system32\cscript.exe

cscript uspstracker.js

C:\Windows\system32\utilman.exe

utilman.exe /debug

Network

Country Destination Domain Proto
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
US 8.8.8.8:53 gar373.ddns.net udp
CH 79.134.225.91:3030 gar373.ddns.net tcp

Files

memory/332-53-0x0000000000000000-mapping.dmp

C:\Users\Admin\AppData\Roaming\uspstracker.js

MD5 3151f194fcfe3b210732d3f6bed59cbd
SHA1 84d181e892c2c51d29c70daa7f785aa4b9a256bd
SHA256 878057fe16a4f4bcdf4e3cf5e28c5e5686da8f24ebb03ced117b34a3f76571aa
SHA512 0264ab652876cf84616e713e9e7709679e16a43a9d4d8b2624dc0dfe417eb21925a12f07ef2beff8e712570dc9e5a3777aaf221267abe8e977dde7eb64ac7024

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\uspstracker.js

MD5 3151f194fcfe3b210732d3f6bed59cbd
SHA1 84d181e892c2c51d29c70daa7f785aa4b9a256bd
SHA256 878057fe16a4f4bcdf4e3cf5e28c5e5686da8f24ebb03ced117b34a3f76571aa
SHA512 0264ab652876cf84616e713e9e7709679e16a43a9d4d8b2624dc0dfe417eb21925a12f07ef2beff8e712570dc9e5a3777aaf221267abe8e977dde7eb64ac7024

memory/1916-56-0x000007FEFB541000-0x000007FEFB543000-memory.dmp

memory/2036-57-0x0000000000000000-mapping.dmp

memory/1580-59-0x0000000000000000-mapping.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2021-10-09 19:18

Reported

2021-10-09 19:21

Platform

win10v20210408

Max time kernel

37s

Max time network

144s

Command Line

wscript.exe C:\Users\Admin\AppData\Local\Temp\uspstracker.js

Signatures

WSHRAT

trojan wshrat

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\System32\wscript.exe N/A
N/A N/A C:\Windows\System32\wscript.exe N/A

Drops startup file

Description Indicator Process Target
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\uspstracker.js C:\Windows\System32\wscript.exe N/A
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\uspstracker.js C:\Windows\system32\wscript.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\system32\wscript.exe N/A
Key created \REGISTRY\USER\S-1-5-21-1594587808-2047097707-2163810515-1000\software\microsoft\windows\currentversion\run C:\Windows\System32\wscript.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-1594587808-2047097707-2163810515-1000\Software\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\System32\wscript.exe N/A
Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run C:\Windows\System32\wscript.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\System32\wscript.exe N/A
Key created \REGISTRY\USER\S-1-5-21-1594587808-2047097707-2163810515-1000\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-1594587808-2047097707-2163810515-1000\Software\Microsoft\Windows\CurrentVersion\Run\uspstracker = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\uspstracker.js\"" C:\Windows\system32\wscript.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Script User-Agent

Description Indicator Process Target
HTTP User-Agent header WSHRAT|3ED10BF6|GFBFPSXA|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 12/10/2021|JavaScript-v3.4|DE:Germany N/A N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1252 wrote to memory of 1688 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\wscript.exe
PID 1252 wrote to memory of 1688 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\wscript.exe

Processes

C:\Windows\system32\wscript.exe

wscript.exe C:\Users\Admin\AppData\Local\Temp\uspstracker.js

C:\Windows\System32\wscript.exe

"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\uspstracker.js"

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
US 8.8.8.8:53 gar373.ddns.net udp
CH 79.134.225.91:3030 gar373.ddns.net tcp
US 8.8.8.8:53 time.windows.com udp
NL 20.101.57.9:123 time.windows.com udp

Files

memory/1688-114-0x0000000000000000-mapping.dmp

C:\Users\Admin\AppData\Roaming\uspstracker.js

MD5 3151f194fcfe3b210732d3f6bed59cbd
SHA1 84d181e892c2c51d29c70daa7f785aa4b9a256bd
SHA256 878057fe16a4f4bcdf4e3cf5e28c5e5686da8f24ebb03ced117b34a3f76571aa
SHA512 0264ab652876cf84616e713e9e7709679e16a43a9d4d8b2624dc0dfe417eb21925a12f07ef2beff8e712570dc9e5a3777aaf221267abe8e977dde7eb64ac7024

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\uspstracker.js

MD5 3151f194fcfe3b210732d3f6bed59cbd
SHA1 84d181e892c2c51d29c70daa7f785aa4b9a256bd
SHA256 878057fe16a4f4bcdf4e3cf5e28c5e5686da8f24ebb03ced117b34a3f76571aa
SHA512 0264ab652876cf84616e713e9e7709679e16a43a9d4d8b2624dc0dfe417eb21925a12f07ef2beff8e712570dc9e5a3777aaf221267abe8e977dde7eb64ac7024

memory/3368-117-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-118-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-119-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-120-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-121-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-122-0x0000026EF9BF0000-0x0000026EF9BF1000-memory.dmp

memory/3368-123-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-124-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-125-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-139-0x0000026EF9D80000-0x0000026EF9D81000-memory.dmp

memory/3368-140-0x0000026EE0F90000-0x0000026EE0F92000-memory.dmp

memory/3368-142-0x0000026EE0F93000-0x0000026EE0F95000-memory.dmp

memory/3368-152-0x0000026EFA330000-0x0000026EFA331000-memory.dmp

memory/3368-157-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-158-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp

memory/3368-159-0x0000026EE0F80000-0x0000026EE0F82000-memory.dmp