Analysis
-
max time kernel
143s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20230915-en -
resource tags
arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system -
submitted
17-09-2023 06:42
Static task
static1
Behavioral task
behavioral1
Sample
Invoice.js
Resource
win7-20230831-en
Behavioral task
behavioral2
Sample
Invoice.js
Resource
win10v2004-20230915-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 11 IoCs
flow pid Process 10 3016 wscript.exe 33 3016 wscript.exe 34 3016 wscript.exe 48 3016 wscript.exe 49 3016 wscript.exe 50 3016 wscript.exe 53 3016 wscript.exe 60 3016 wscript.exe 61 3016 wscript.exe 62 3016 wscript.exe 66 3016 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-2890696111-2332180956-3312704074-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\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-2890696111-2332180956-3312704074-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-2890696111-2332180956-3312704074-1000\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 11 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 61 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 62 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 48 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 49 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 50 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 53 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 60 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 10 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 33 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 34 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript HTTP User-Agent header 66 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/9/2023|JavaScript -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 3644 wrote to memory of 3016 3644 wscript.exe 84 PID 3644 wrote to memory of 3016 3644 wscript.exe 84
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:3644 -
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:3016
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
21KB
MD512b2471d3c8dd16efd69ab5aca0678b9
SHA115dca12d5e2d7d0281990ee43ffbcd22396fe01a
SHA256ae69570258cabd6bbede57ef510836d167c0d9b1752d3d742f8e4769e17eba15
SHA5127f72edfe2fa615279bfb18a6117afdac855ea6c37250b2473dad2f9ee6d701869123240f44d631020b4fb727869d00a697de5ed7c7bd59640594b57a4db787ac
-
Filesize
21KB
MD512b2471d3c8dd16efd69ab5aca0678b9
SHA115dca12d5e2d7d0281990ee43ffbcd22396fe01a
SHA256ae69570258cabd6bbede57ef510836d167c0d9b1752d3d742f8e4769e17eba15
SHA5127f72edfe2fa615279bfb18a6117afdac855ea6c37250b2473dad2f9ee6d701869123240f44d631020b4fb727869d00a697de5ed7c7bd59640594b57a4db787ac