Analysis
-
max time kernel
146s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20230220-en -
resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system -
submitted
22-05-2023 08:50
Static task
static1
Behavioral task
behavioral1
Sample
Scan00518.js
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
Scan00518.js
Resource
win10v2004-20230220-en
General
-
Target
Scan00518.js
-
Size
1.1MB
-
MD5
e6aa5b35052a7db7a2fd0e5efb6216e0
-
SHA1
63e7eaf2ed555512f6a8f9c19844671ec6b36c49
-
SHA256
2a773f8a565116d3d666fddc8a0d767497562b0f65530a71a15dd3f4fd09765f
-
SHA512
f3da3de0809110a59c6e8e720b8fe6a414106872232dfeded1221e1aedbc848c6233d80f1c8e6b3f68e10b9a7ab29359fcc03950a8a974a1e7d1527be86c6a5d
-
SSDEEP
1536:0N86LJBJZtqptvmDekNXSuR7skySWihwEaREBRbyHWhZiyX2jhEXEehgwNhNylr7:2sKar
Malware Config
Extracted
wshrat
http://45.90.222.125:7121
Signatures
-
Blocklisted process makes network request 27 IoCs
flow pid Process 7 1908 wscript.exe 10 4520 wscript.exe 19 4520 wscript.exe 20 4520 wscript.exe 28 4520 wscript.exe 29 4520 wscript.exe 30 4520 wscript.exe 32 4520 wscript.exe 39 4520 wscript.exe 40 4520 wscript.exe 42 4520 wscript.exe 51 4520 wscript.exe 57 4520 wscript.exe 61 4520 wscript.exe 62 4520 wscript.exe 64 4520 wscript.exe 65 4520 wscript.exe 66 4520 wscript.exe 68 4520 wscript.exe 69 4520 wscript.exe 70 4520 wscript.exe 71 4520 wscript.exe 73 4520 wscript.exe 74 4520 wscript.exe 75 4520 wscript.exe 77 4520 wscript.exe 78 4520 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-1529757233-3489015626-3409890339-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\Scan00518.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Scan00518.js wscript.exe -
Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan00518 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan00518.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan00518 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan00518.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan00518 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan00518.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Scan00518 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Scan00518.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 18 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 25 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 40 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 42 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 57 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 66 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 70 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 7 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 20 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 30 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 65 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 77 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 29 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 39 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 62 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 74 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 75 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 78 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 28 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 64 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 73 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 68 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 69 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 71 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 10 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 51 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 61 WSHRAT|9CCFD0DF|ROBKQPFG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 22/5/2023|JavaScript-v3.4|IN:India -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 1908 wrote to memory of 4520 1908 wscript.exe 84 PID 1908 wrote to memory of 4520 1908 wscript.exe 84
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Scan00518.js1⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:1908 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Scan00518.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:4520
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1.1MB
MD5e6aa5b35052a7db7a2fd0e5efb6216e0
SHA163e7eaf2ed555512f6a8f9c19844671ec6b36c49
SHA2562a773f8a565116d3d666fddc8a0d767497562b0f65530a71a15dd3f4fd09765f
SHA512f3da3de0809110a59c6e8e720b8fe6a414106872232dfeded1221e1aedbc848c6233d80f1c8e6b3f68e10b9a7ab29359fcc03950a8a974a1e7d1527be86c6a5d
-
Filesize
1.1MB
MD5e6aa5b35052a7db7a2fd0e5efb6216e0
SHA163e7eaf2ed555512f6a8f9c19844671ec6b36c49
SHA2562a773f8a565116d3d666fddc8a0d767497562b0f65530a71a15dd3f4fd09765f
SHA512f3da3de0809110a59c6e8e720b8fe6a414106872232dfeded1221e1aedbc848c6233d80f1c8e6b3f68e10b9a7ab29359fcc03950a8a974a1e7d1527be86c6a5d
-
Filesize
1.1MB
MD5e6aa5b35052a7db7a2fd0e5efb6216e0
SHA163e7eaf2ed555512f6a8f9c19844671ec6b36c49
SHA2562a773f8a565116d3d666fddc8a0d767497562b0f65530a71a15dd3f4fd09765f
SHA512f3da3de0809110a59c6e8e720b8fe6a414106872232dfeded1221e1aedbc848c6233d80f1c8e6b3f68e10b9a7ab29359fcc03950a8a974a1e7d1527be86c6a5d