Analysis
- max time kernel
141s - max time network
156s - platform
windows10-2004_x64 - resource
win10v2004-20231020-en - resource tags
arch:x64arch:x86image:win10v2004-20231020-enlocale:en-usos:windows10-2004-x64system - submitted
23/10/2023, 12:27
Static task
static1
Behavioral task
behavioral1
Sample
Tax-Returns-Of-R58-765.js
Resource
win7-20231020-en
7 signatures
150 seconds
General
- Target Tax-Returns-Of-R58-765.js
- Size 1.0MB
- Sample231023-pmq6wsae72
- SHA256 21d1b6a68906c9062a548838de678dc76f763bb8300ae753e352716dcdd9be7b
- MD5 aa4bb1e4cfe615e1890c18959f0f6fe6
- SHA1 00fead3c49c16e409139630f011a00f2254adb9e
- SHA512 39489bbad7b8bbf59082531800bd78e2fce2475508addc0ddc43b17073500250bebc8491acaaff2e72b0fe364d52bde6ed81a9e338a53c9ff3b78962937040f3
- SSDEEP 1536:MQ65yrQXApr8K8Y898K8Y8y3CAnuCLkxN013iog2jUS0XS0PH6Z86iLvXg0AnhPd:MQqEY1jbMYBX9h34FC/
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
wshrat
C2
-
http://harold.ns01.info:3609
Signatures
- Blocklisted process makes network request 14 IoCs
flow pid Process 2 224 wscript.exe 4 224 wscript.exe 17 224 wscript.exe 18 224 wscript.exe 33 224 wscript.exe 34 224 wscript.exe 35 224 wscript.exe 41 224 wscript.exe 42 224 wscript.exe 46 224 wscript.exe 49 224 wscript.exe 50 224 wscript.exe 51 224 wscript.exe 55 224 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-356073083-3299209671-3108880702-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\Tax-Returns-Of-R58-765.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Tax-Returns-Of-R58-765.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 1 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Script User-Agent 13 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 34 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 35 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 41 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 49 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 42 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 4 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 33 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 17 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 18 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 46 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 50 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 51 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 55 WSHRAT|C20800CC|TPTLJPNX|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/10/2023|JavaScript-v3.4|NL:Netherlands - Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 3636 wrote to memory of 224 3636 wscript.exe 84 PID 3636 wrote to memory of 224 3636 wscript.exe 84
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Tax-Returns-Of-R58-765.js1⤵
- Checks computer location settings
- Drops startup file
- Suspicious use of WriteProcessMemory
PID:3636 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\Tax-Returns-Of-R58-765.js"2⤵
- Blocklisted process makes network request
- Drops startup file
PID:224
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Tax-Returns-Of-R58-765.js
- Size 64KB
- SHA256 fa81aa65809501b3e6a73be9ebf2312a3f68372c1f6e75d8fc9436432380919f
- MD5 22e147d51eb9a62a23ca8d094c3a567f
- SHA1 f72c886afe3b883a7ce6d566d8c4a5a4a0548338
- SHA512 1257760aa1d0b634d05e696a8f281215e42b7f508e8acf25119262e3606b70a73f2e6248918613e83a883c0c013bc6cef8212a914daca7a5227a2b410d2a76cf
- SSDEEP 1536:MQ65yrQXApr8K8Y898K8Y8y3CAnuCLkxN013iog2jUS0XS0PH6Z86iLvXg0AnhPk:MQq+
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Tax-Returns-Of-R58-765.js
- Size 1.0MB
- SHA256 21d1b6a68906c9062a548838de678dc76f763bb8300ae753e352716dcdd9be7b
- MD5 aa4bb1e4cfe615e1890c18959f0f6fe6
- SHA1 00fead3c49c16e409139630f011a00f2254adb9e
- SHA512 39489bbad7b8bbf59082531800bd78e2fce2475508addc0ddc43b17073500250bebc8491acaaff2e72b0fe364d52bde6ed81a9e338a53c9ff3b78962937040f3
- SSDEEP 1536:MQ65yrQXApr8K8Y898K8Y8y3CAnuCLkxN013iog2jUS0XS0PH6Z86iLvXg0AnhPd:MQqEY1jbMYBX9h34FC/
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\Tax-Returns-Of-R58-765.js
- Size 1.0MB
- SHA256 21d1b6a68906c9062a548838de678dc76f763bb8300ae753e352716dcdd9be7b
- MD5 aa4bb1e4cfe615e1890c18959f0f6fe6
- SHA1 00fead3c49c16e409139630f011a00f2254adb9e
- SHA512 39489bbad7b8bbf59082531800bd78e2fce2475508addc0ddc43b17073500250bebc8491acaaff2e72b0fe364d52bde6ed81a9e338a53c9ff3b78962937040f3
- SSDEEP 1536:MQ65yrQXApr8K8Y898K8Y8y3CAnuCLkxN013iog2jUS0XS0PH6Z86iLvXg0AnhPd:MQqEY1jbMYBX9h34FC/
- MD5 SHA1 SHA512 SSDEEP