Analysis
-
max time kernel
145s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20230220-en -
resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system -
submitted
30-03-2023 07:28
Static task
static1
Behavioral task
behavioral1
Sample
Scan0043.js
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
Scan0043.js
Resource
win10v2004-20230220-en
General
-
Target
Scan0043.js
-
Size
984KB
-
MD5
faa1349089a33676434cc9deca10bf7d
-
SHA1
ebf43f904829f0f81d734db58b1d2f5e393df22c
-
SHA256
159f8bf05cfb8aa77a15523e0f957dc5d596ec4268564a09e9adcce902b6036d
-
SHA512
9802e518a0e22d0e54398603d726360f31293586b6820f933a8d93e38ddda4b56ee34ac17ce7e9d5485b556127535d7c84eac5d29dd8c1fb2ce6c709d639c8dc
-
SSDEEP
6144:2pkargZWNhPwMGdrez1TsuwzpZSSTuiIu8uzfOgw8Y5PW+KZZJ/26KWKMeihf/nm:u
Malware Config
Extracted
wshrat
http://45.90.222.125:7121
Signatures
-
Blocklisted process makes network request 27 IoCs
flow pid Process 7 4712 wscript.exe 12 2784 wscript.exe 16 2784 wscript.exe 18 2784 wscript.exe 24 2784 wscript.exe 29 2784 wscript.exe 32 2784 wscript.exe 34 2784 wscript.exe 35 2784 wscript.exe 36 2784 wscript.exe 38 2784 wscript.exe 39 2784 wscript.exe 43 2784 wscript.exe 46 2784 wscript.exe 47 2784 wscript.exe 51 2784 wscript.exe 55 2784 wscript.exe 56 2784 wscript.exe 57 2784 wscript.exe 58 2784 wscript.exe 59 2784 wscript.exe 60 2784 wscript.exe 64 2784 wscript.exe 65 2784 wscript.exe 66 2784 wscript.exe 67 2784 wscript.exe 68 2784 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-1675742406-747946869-1029867430-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\Scan0043.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Scan0043.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\Scan0043 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0043.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-1675742406-747946869-1029867430-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-1675742406-747946869-1029867430-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0043 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0043.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0043 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0043.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-1675742406-747946869-1029867430-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-1675742406-747946869-1029867430-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan0043 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan0043.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 15 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
-
Script User-Agent 26 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 58 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 67 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 18 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 24 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 29 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 35 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 46 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 47 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 57 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 59 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 12 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 32 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 39 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 43 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 60 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 65 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 66 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 68 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 56 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 36 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 38 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 51 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 55 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 7 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 34 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 64 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 30/3/2023|JavaScript-v3.4|IN:India -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 4712 wrote to memory of 2784 4712 wscript.exe 85 PID 4712 wrote to memory of 2784 4712 wscript.exe 85
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Scan0043.js1⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:4712 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Scan0043.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:2784
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
984KB
MD5faa1349089a33676434cc9deca10bf7d
SHA1ebf43f904829f0f81d734db58b1d2f5e393df22c
SHA256159f8bf05cfb8aa77a15523e0f957dc5d596ec4268564a09e9adcce902b6036d
SHA5129802e518a0e22d0e54398603d726360f31293586b6820f933a8d93e38ddda4b56ee34ac17ce7e9d5485b556127535d7c84eac5d29dd8c1fb2ce6c709d639c8dc
-
Filesize
984KB
MD5faa1349089a33676434cc9deca10bf7d
SHA1ebf43f904829f0f81d734db58b1d2f5e393df22c
SHA256159f8bf05cfb8aa77a15523e0f957dc5d596ec4268564a09e9adcce902b6036d
SHA5129802e518a0e22d0e54398603d726360f31293586b6820f933a8d93e38ddda4b56ee34ac17ce7e9d5485b556127535d7c84eac5d29dd8c1fb2ce6c709d639c8dc
-
Filesize
984KB
MD5faa1349089a33676434cc9deca10bf7d
SHA1ebf43f904829f0f81d734db58b1d2f5e393df22c
SHA256159f8bf05cfb8aa77a15523e0f957dc5d596ec4268564a09e9adcce902b6036d
SHA5129802e518a0e22d0e54398603d726360f31293586b6820f933a8d93e38ddda4b56ee34ac17ce7e9d5485b556127535d7c84eac5d29dd8c1fb2ce6c709d639c8dc