Analysis
-
max time kernel
143s -
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
19-05-2023 13:30
Static task
static1
Behavioral task
behavioral1
Sample
Purchase Invoice.js
Resource
win7-20230220-en
General
-
Target
Purchase Invoice.js
-
Size
1013KB
-
MD5
0d9dbbce1cc0b89b22225bd6cdc6a67a
-
SHA1
04223db348fe531a15a961cf0e26f9b8257af986
-
SHA256
ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
-
SHA512
6a1a18b028d3fbeae8f3a38869b2e2fc44cf10a9cfaedfa314a8bef85c2584444000d593ad90f6f9dc495ba35bc05727aec03c3a42fa797923825c157bd14491
-
SSDEEP
3072:QQO7VS2G9XYK9oMvjNvyi+xf2yEoal/Wjzy94CDd:QQO7VS2G9XYK9oMh+K3l7
Malware Config
Extracted
wshrat
http://harold.2waky.com:3609
Signatures
-
Blocklisted process makes network request 20 IoCs
flow pid Process 12 2124 wscript.exe 15 2124 wscript.exe 22 2124 wscript.exe 26 2124 wscript.exe 30 2124 wscript.exe 32 2124 wscript.exe 34 2124 wscript.exe 36 2124 wscript.exe 37 2124 wscript.exe 47 2124 wscript.exe 49 2124 wscript.exe 54 2124 wscript.exe 55 2124 wscript.exe 56 2124 wscript.exe 58 2124 wscript.exe 59 2124 wscript.exe 61 2124 wscript.exe 62 2124 wscript.exe 63 2124 wscript.exe 65 2124 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\Purchase Invoice.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Purchase Invoice.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 11 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 19 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 37 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 49 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 56 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 62 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 15 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 26 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 30 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 36 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 65 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 22 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 34 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 55 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 63 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 32 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 54 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 47 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 58 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 59 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 61 WSHRAT|D0F59775|TPAVZECK|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 4996 wrote to memory of 2124 4996 wscript.exe 83 PID 4996 wrote to memory of 2124 4996 wscript.exe 83
Processes
-
C:\Windows\system32\wscript.exewscript.exe "C:\Users\Admin\AppData\Local\Temp\Purchase Invoice.js"1⤵
- Checks computer location settings
- Drops startup file
- Suspicious use of WriteProcessMemory
PID:4996 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Purchase Invoice.js"2⤵
- Blocklisted process makes network request
- Drops startup file
PID:2124
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1013KB
MD50d9dbbce1cc0b89b22225bd6cdc6a67a
SHA104223db348fe531a15a961cf0e26f9b8257af986
SHA256ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
SHA5126a1a18b028d3fbeae8f3a38869b2e2fc44cf10a9cfaedfa314a8bef85c2584444000d593ad90f6f9dc495ba35bc05727aec03c3a42fa797923825c157bd14491
-
Filesize
1013KB
MD50d9dbbce1cc0b89b22225bd6cdc6a67a
SHA104223db348fe531a15a961cf0e26f9b8257af986
SHA256ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
SHA5126a1a18b028d3fbeae8f3a38869b2e2fc44cf10a9cfaedfa314a8bef85c2584444000d593ad90f6f9dc495ba35bc05727aec03c3a42fa797923825c157bd14491
-
Filesize
1013KB
MD50d9dbbce1cc0b89b22225bd6cdc6a67a
SHA104223db348fe531a15a961cf0e26f9b8257af986
SHA256ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
SHA5126a1a18b028d3fbeae8f3a38869b2e2fc44cf10a9cfaedfa314a8bef85c2584444000d593ad90f6f9dc495ba35bc05727aec03c3a42fa797923825c157bd14491