Analysis
-
max time kernel
147s -
max time network
154s -
platform
windows10-2004_x64 -
resource
win10v2004-20230831-en -
resource tags
arch:x64arch:x86image:win10v2004-20230831-enlocale:en-usos:windows10-2004-x64system -
submitted
13-09-2023 16:56
Static task
static1
Behavioral task
behavioral1
Sample
Invoice.js
Resource
win7-20230831-en
Behavioral task
behavioral2
Sample
Invoice.js
Resource
win10v2004-20230831-en
General
-
Target
Invoice.js
-
Size
21KB
-
MD5
12b2471d3c8dd16efd69ab5aca0678b9
-
SHA1
15dca12d5e2d7d0281990ee43ffbcd22396fe01a
-
SHA256
ae69570258cabd6bbede57ef510836d167c0d9b1752d3d742f8e4769e17eba15
-
SHA512
7f72edfe2fa615279bfb18a6117afdac855ea6c37250b2473dad2f9ee6d701869123240f44d631020b4fb727869d00a697de5ed7c7bd59640594b57a4db787ac
-
SSDEEP
384:6/+tc8v+YhrKZKZXeX5U7CP9fD0eX5GrnB63vQOaSDsvkysjqFJ8TatW8TaUxTam:6/+tbv+YhdZXeXic9fD0eXknB6Y6Dsv7
Malware Config
Extracted
wshrat
http://wishpeople.duckdns.org:9071
Signatures
-
Blocklisted process makes network request 10 IoCs
flow pid Process 19 2176 wscript.exe 72 2176 wscript.exe 77 2176 wscript.exe 78 2176 wscript.exe 79 2176 wscript.exe 80 2176 wscript.exe 81 2176 wscript.exe 82 2176 wscript.exe 85 2176 wscript.exe 87 2176 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-4078585466-1563564224-3678410669-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\Invoice.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Invoice.js wscript.exe -
Adds Run key to start application 2 TTPs 4 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4078585466-1563564224-3678410669-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Invoice = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Invoice.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Invoice = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Invoice.js\"" wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-4078585466-1563564224-3678410669-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Invoice = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Invoice.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Invoice = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Invoice.js\"" wscript.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 10 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 82 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 85 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 87 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 19 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 72 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 79 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 80 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 77 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 78 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript HTTP User-Agent header 81 WSHRAT|AA342AE5|NVYNMMTR|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 13/9/2023|JavaScript -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 3440 wrote to memory of 2176 3440 wscript.exe 86 PID 3440 wrote to memory of 2176 3440 wscript.exe 86
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Invoice.js1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:3440 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Invoice.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:2176
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
21KB
MD512b2471d3c8dd16efd69ab5aca0678b9
SHA115dca12d5e2d7d0281990ee43ffbcd22396fe01a
SHA256ae69570258cabd6bbede57ef510836d167c0d9b1752d3d742f8e4769e17eba15
SHA5127f72edfe2fa615279bfb18a6117afdac855ea6c37250b2473dad2f9ee6d701869123240f44d631020b4fb727869d00a697de5ed7c7bd59640594b57a4db787ac
-
Filesize
21KB
MD512b2471d3c8dd16efd69ab5aca0678b9
SHA115dca12d5e2d7d0281990ee43ffbcd22396fe01a
SHA256ae69570258cabd6bbede57ef510836d167c0d9b1752d3d742f8e4769e17eba15
SHA5127f72edfe2fa615279bfb18a6117afdac855ea6c37250b2473dad2f9ee6d701869123240f44d631020b4fb727869d00a697de5ed7c7bd59640594b57a4db787ac
-
Filesize
21KB
MD512b2471d3c8dd16efd69ab5aca0678b9
SHA115dca12d5e2d7d0281990ee43ffbcd22396fe01a
SHA256ae69570258cabd6bbede57ef510836d167c0d9b1752d3d742f8e4769e17eba15
SHA5127f72edfe2fa615279bfb18a6117afdac855ea6c37250b2473dad2f9ee6d701869123240f44d631020b4fb727869d00a697de5ed7c7bd59640594b57a4db787ac