Analysis
- max time kernel
149s - max time network
153s - platform
windows10-2004_x64 - resource
win10v2004-20220812-en - resource tags
arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system - submitted
29/11/2022, 12:37
Static task
static1
Behavioral task
behavioral1
Sample
144bc81f1a91e281159dd7e51ebe682c.js
Resource
win7-20220812-en
9 signatures
150 seconds
Behavioral task
behavioral2
Sample
144bc81f1a91e281159dd7e51ebe682c.js
Resource
win10v2004-20220812-en
10 signatures
150 seconds
General
- Target 144bc81f1a91e281159dd7e51ebe682c.js
- Size 257KB
- Sample221129-ptyvbaaa77
- SHA256 8313bc593a1a9dbc02a5a58fcdeeb3840c745d03e47625666afc4848b7e3fdab
- MD5 dcd34d853787834f14c97f9624c3fc30
- SHA1 3f188033c7ea9e5c0bfc90ebfc8d80d68f4a5fd6
- SHA512 a463d9a7070348cf36d0ba2f170f83ec56e9e6292cbe7f65793a11e659553eee616163a86a8eb6ed750fab62e9d50b5685742502d956df290212e9956bdb1165
- SSDEEP 3072:nzsF5ejqKQKWGeIzuyR/I2MWJcsVfeaWYRfzbpdCltDvuLTrPFztzI0utitb0k2b:4FhGruytJQYRfRguLpt0ZtcVsCV+6k
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
wshrat
C2
-
http://grace-fax.home-webserver.de:24150
Signatures
- Blocklisted process makes network request 41 IoCs
flow pid Process 8 4108 wscript.exe 9 3040 wscript.exe 10 3100 wscript.exe 12 4108 wscript.exe 20 4108 wscript.exe 25 4108 wscript.exe 26 4108 wscript.exe 30 4108 wscript.exe 37 4108 wscript.exe 41 3040 wscript.exe 42 3100 wscript.exe 48 4108 wscript.exe 50 4108 wscript.exe 51 4108 wscript.exe 57 4108 wscript.exe 58 4108 wscript.exe 59 3100 wscript.exe 60 3040 wscript.exe 61 4108 wscript.exe 63 4108 wscript.exe 64 4108 wscript.exe 65 4108 wscript.exe 66 4108 wscript.exe 67 3100 wscript.exe 68 3040 wscript.exe 69 4108 wscript.exe 71 4108 wscript.exe 72 4108 wscript.exe 73 4108 wscript.exe 74 4108 wscript.exe 75 4108 wscript.exe 76 3100 wscript.exe 77 3040 wscript.exe 78 4108 wscript.exe 79 4108 wscript.exe 80 4108 wscript.exe 81 4108 wscript.exe 82 4108 wscript.exe 83 3100 wscript.exe 84 3040 wscript.exe 85 4108 wscript.exe - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2891029575-1462575-1165213807-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-2891029575-1462575-1165213807-1000\Control Panel\International\Geo\Nation wscript.exe - Drops startup file 3 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\pGjVjdPxwW.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\pGjVjdPxwW.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\pGjVjdPxwW.js wscript.exe - Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2891029575-1462575-1165213807-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\144bc81f1a91e281159dd7e51ebe682c = "wscript.exe //B \"C:\\Users\\Admin\\144bc81f1a91e281159dd7e51ebe682c.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\144bc81f1a91e281159dd7e51ebe682c = "wscript.exe //B \"C:\\Users\\Admin\\144bc81f1a91e281159dd7e51ebe682c.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2891029575-1462575-1165213807-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2891029575-1462575-1165213807-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\144bc81f1a91e281159dd7e51ebe682c = "wscript.exe //B \"C:\\Users\\Admin\\144bc81f1a91e281159dd7e51ebe682c.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\144bc81f1a91e281159dd7e51ebe682c = "wscript.exe //B \"C:\\Users\\Admin\\144bc81f1a91e281159dd7e51ebe682c.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2891029575-1462575-1165213807-1000\software\microsoft\windows\currentversion\run 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 7 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Script User-Agent 28 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 63 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 71 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 12 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 73 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 20 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 30 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 79 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 81 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 25 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 57 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 66 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 72 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 78 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 80 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 82 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 48 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 51 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 58 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 61 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 65 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 69 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 75 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 37 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 64 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 85 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 50 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 74 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 26 WSHRAT|2C4BFA22|XZIOFAVD|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 29/11/2022|JavaScript-v3.4|NL:Netherlands - Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 4740 wrote to memory of 3100 4740 wscript.exe 81 PID 4740 wrote to memory of 3100 4740 wscript.exe 81 PID 4740 wrote to memory of 4108 4740 wscript.exe 82 PID 4740 wrote to memory of 4108 4740 wscript.exe 82 PID 4108 wrote to memory of 3040 4108 wscript.exe 83 PID 4108 wrote to memory of 3040 4108 wscript.exe 83
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\144bc81f1a91e281159dd7e51ebe682c.js1⤵
- Checks computer location settings
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:4740 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\pGjVjdPxwW.js"2⤵
- Blocklisted process makes network request
- Drops startup file
PID:3100
-
-
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\144bc81f1a91e281159dd7e51ebe682c.js"2⤵
- Blocklisted process makes network request
- Checks computer location settings
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:4108 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\pGjVjdPxwW.js"3⤵
- Blocklisted process makes network request
- Drops startup file
PID:3040
-
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\144bc81f1a91e281159dd7e51ebe682c.js
- Size 257KB
- SHA256 8313bc593a1a9dbc02a5a58fcdeeb3840c745d03e47625666afc4848b7e3fdab
- MD5 dcd34d853787834f14c97f9624c3fc30
- SHA1 3f188033c7ea9e5c0bfc90ebfc8d80d68f4a5fd6
- SHA512 a463d9a7070348cf36d0ba2f170f83ec56e9e6292cbe7f65793a11e659553eee616163a86a8eb6ed750fab62e9d50b5685742502d956df290212e9956bdb1165
- SSDEEP 3072:nzsF5ejqKQKWGeIzuyR/I2MWJcsVfeaWYRfzbpdCltDvuLTrPFztzI0utitb0k2b:4FhGruytJQYRfRguLpt0ZtcVsCV+6k
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\pGjVjdPxwW.js
- Size 5KB
- SHA256 61fa8352e175a46f04b97861a379dca1434f4cd65af1e201454c3bb757226768
- MD5 12c9946dad381b07f3c0e268c548717a
- SHA1 7a7b905d5705ec3f658da0626e99ccd694c3c13d
- SHA512 5e0303b338baaeae750af9cc7f7915af57e02d7dbde7eec48a5a281a4c79d59531ee286f94e260b8c19f786e483903ba106061a58df593c6a45af14e85c0cd4d
- SSDEEP 96:N+HA2BwrvCh8GizhHqn/uDgPE0l7R2UzqdOEDV3SOaOiivUiNTtnMn:N+H0rqiGizo/202OE1SOaOiivUB
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\pGjVjdPxwW.js
- Size 5KB
- SHA256 61fa8352e175a46f04b97861a379dca1434f4cd65af1e201454c3bb757226768
- MD5 12c9946dad381b07f3c0e268c548717a
- SHA1 7a7b905d5705ec3f658da0626e99ccd694c3c13d
- SHA512 5e0303b338baaeae750af9cc7f7915af57e02d7dbde7eec48a5a281a4c79d59531ee286f94e260b8c19f786e483903ba106061a58df593c6a45af14e85c0cd4d
- SSDEEP 96:N+HA2BwrvCh8GizhHqn/uDgPE0l7R2UzqdOEDV3SOaOiivUiNTtnMn:N+H0rqiGizo/202OE1SOaOiivUB
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\pGjVjdPxwW.js
- Size 5KB
- SHA256 61fa8352e175a46f04b97861a379dca1434f4cd65af1e201454c3bb757226768
- MD5 12c9946dad381b07f3c0e268c548717a
- SHA1 7a7b905d5705ec3f658da0626e99ccd694c3c13d
- SHA512 5e0303b338baaeae750af9cc7f7915af57e02d7dbde7eec48a5a281a4c79d59531ee286f94e260b8c19f786e483903ba106061a58df593c6a45af14e85c0cd4d
- SSDEEP 96:N+HA2BwrvCh8GizhHqn/uDgPE0l7R2UzqdOEDV3SOaOiivUiNTtnMn:N+H0rqiGizo/202OE1SOaOiivUB
- MD5 SHA1 SHA512 SSDEEP