Analysis
-
max time kernel
148s -
max time network
160s -
platform
windows10-2004_x64 -
resource
win10v2004-20230915-en -
resource tags
arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system -
submitted
12-10-2023 22:17
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 29 IoCs
flow pid Process 8 2484 wscript.exe 19 2484 wscript.exe 21 2484 wscript.exe 22 2484 wscript.exe 23 2484 wscript.exe 32 2484 wscript.exe 44 2484 wscript.exe 45 2484 wscript.exe 46 2484 wscript.exe 47 2484 wscript.exe 48 2484 wscript.exe 49 2484 wscript.exe 51 2484 wscript.exe 52 2484 wscript.exe 53 2484 wscript.exe 57 2484 wscript.exe 58 2484 wscript.exe 60 2484 wscript.exe 61 2484 wscript.exe 62 2484 wscript.exe 63 2484 wscript.exe 64 2484 wscript.exe 65 2484 wscript.exe 66 2484 wscript.exe 67 2484 wscript.exe 68 2484 wscript.exe 69 2484 wscript.exe 70 2484 wscript.exe 71 2484 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 29 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 32 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 47 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 63 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 67 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 48 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 61 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 66 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 62 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 64 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 8 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 19 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 21 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 52 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 53 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 46 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 65 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 68 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 69 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 70 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 22 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 51 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 45 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 57 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 58 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 71 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 23 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 44 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 49 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript HTTP User-Agent header 60 WSHRAT|E24BB934|BQNDLEKG|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 17/10/2023|JavaScript -
Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 224 wrote to memory of 2484 224 wscript.exe 82 PID 224 wrote to memory of 2484 224 wscript.exe 82
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:224 -
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:2484
-
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