Analysis
-
max time kernel
147s -
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
19-05-2023 13:32
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 17 IoCs
flow pid Process 10 4148 wscript.exe 14 4148 wscript.exe 23 4148 wscript.exe 34 4148 wscript.exe 37 4148 wscript.exe 42 4148 wscript.exe 46 4148 wscript.exe 48 4148 wscript.exe 50 4148 wscript.exe 55 4148 wscript.exe 57 4148 wscript.exe 58 4148 wscript.exe 59 4148 wscript.exe 61 4148 wscript.exe 62 4148 wscript.exe 64 4148 wscript.exe 65 4148 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-1013461898-3711306144-4198452673-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 8 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 16 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 59 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 65 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 14 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 46 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 61 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 62 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 64 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 48 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 57 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 50 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 55 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 58 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 34 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 37 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 23 WSHRAT|78F0674A|HCIDPJOT|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 42 WSHRAT|78F0674A|HCIDPJOT|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 4504 wrote to memory of 4148 4504 wscript.exe 84 PID 4504 wrote to memory of 4148 4504 wscript.exe 84
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:4504 -
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:4148
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1013KB
MD50d9dbbce1cc0b89b22225bd6cdc6a67a
SHA104223db348fe531a15a961cf0e26f9b8257af986
SHA256ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
SHA5126a1a18b028d3fbeae8f3a38869b2e2fc44cf10a9cfaedfa314a8bef85c2584444000d593ad90f6f9dc495ba35bc05727aec03c3a42fa797923825c157bd14491
-
Filesize
1013KB
MD50d9dbbce1cc0b89b22225bd6cdc6a67a
SHA104223db348fe531a15a961cf0e26f9b8257af986
SHA256ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
SHA5126a1a18b028d3fbeae8f3a38869b2e2fc44cf10a9cfaedfa314a8bef85c2584444000d593ad90f6f9dc495ba35bc05727aec03c3a42fa797923825c157bd14491