Analysis
-
max time kernel
146s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20230621-en -
resource tags
arch:x64arch:x86image:win10v2004-20230621-enlocale:en-usos:windows10-2004-x64system -
submitted
28-06-2023 06:08
Static task
static1
Behavioral task
behavioral1
Sample
ShippingLabel.js
Resource
win7-20230621-en
Behavioral task
behavioral2
Sample
ShippingLabel.js
Resource
win10v2004-20230621-en
General
-
Target
ShippingLabel.js
-
Size
2.7MB
-
MD5
058446c347e32ac73a565e1a799115bd
-
SHA1
dbbc875ed92a9875ad87165c75cc063a0bb2c440
-
SHA256
8f9ac4d3cc786019a4a6b3b6c38f4c8c3ebe7a8b9a5b8c88ab156c427ba76648
-
SHA512
10513b4331bb52c8fe19d6c79037a68e0bee67ec778670ab340be1f8ad3a8f3cf55c6fa4e8d7b771d2feb80ebd359abc09bf8a1baf34b5dfb21ae00c7ecfad87
-
SSDEEP
24576:XQHhAT5XcpsjFcd5bpqXkwo1jFY7VwyHP3tfrq+lsvfzqaPd9xljl:O
Malware Config
Extracted
wshrat
http://139.177.146.154:4242
Signatures
-
Blocklisted process makes network request 39 IoCs
flow pid Process 5 368 wscript.exe 7 3896 wscript.exe 8 212 wscript.exe 12 3896 wscript.exe 18 3896 wscript.exe 20 3896 wscript.exe 21 3896 wscript.exe 32 368 wscript.exe 33 3896 wscript.exe 36 212 wscript.exe 37 3896 wscript.exe 39 3896 wscript.exe 40 3896 wscript.exe 43 3896 wscript.exe 45 3896 wscript.exe 46 368 wscript.exe 47 212 wscript.exe 48 3896 wscript.exe 50 3896 wscript.exe 54 3896 wscript.exe 55 3896 wscript.exe 56 3896 wscript.exe 57 368 wscript.exe 58 212 wscript.exe 59 3896 wscript.exe 60 3896 wscript.exe 61 3896 wscript.exe 62 3896 wscript.exe 63 3896 wscript.exe 64 368 wscript.exe 65 212 wscript.exe 66 3896 wscript.exe 67 3896 wscript.exe 68 3896 wscript.exe 69 3896 wscript.exe 70 3896 wscript.exe 71 368 wscript.exe 72 3896 wscript.exe 73 212 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-2177513644-1903222820-241662473-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-2177513644-1903222820-241662473-1000\Control Panel\International\Geo\Nation wscript.exe -
Drops startup file 5 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\xEXWqeyWTX.js wscript.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ShippingLabel.js wscript.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\xEXWqeyWTX.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\xEXWqeyWTX.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ShippingLabel.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-2177513644-1903222820-241662473-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ShippingLabel = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\ShippingLabel.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ShippingLabel = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\ShippingLabel.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2177513644-1903222820-241662473-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2177513644-1903222820-241662473-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ShippingLabel = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\ShippingLabel.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ShippingLabel = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\ShippingLabel.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2177513644-1903222820-241662473-1000\software\microsoft\windows\currentversion\run wscript.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 27 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 37 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 60 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 21 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 45 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 48 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 20 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 40 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 61 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 43 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 56 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 62 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 66 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 18 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 68 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 72 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 39 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 70 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 67 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 54 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 59 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 63 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 7 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 12 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 33 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 50 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 55 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript HTTP User-Agent header 69 WSHRAT|C4D3DF5E|HKLRNDEY|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 28/6/2023|JavaScript -
Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 728 wrote to memory of 368 728 wscript.exe 84 PID 728 wrote to memory of 368 728 wscript.exe 84 PID 728 wrote to memory of 3896 728 wscript.exe 85 PID 728 wrote to memory of 3896 728 wscript.exe 85 PID 3896 wrote to memory of 212 3896 wscript.exe 86 PID 3896 wrote to memory of 212 3896 wscript.exe 86
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\ShippingLabel.js1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:728 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\xEXWqeyWTX.js"2⤵
- Blocklisted process makes network request
- Drops startup file
PID:368
-
-
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\ShippingLabel.js"2⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:3896 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\xEXWqeyWTX.js"3⤵
- Blocklisted process makes network request
- Drops startup file
PID:212
-
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2.7MB
MD5058446c347e32ac73a565e1a799115bd
SHA1dbbc875ed92a9875ad87165c75cc063a0bb2c440
SHA2568f9ac4d3cc786019a4a6b3b6c38f4c8c3ebe7a8b9a5b8c88ab156c427ba76648
SHA51210513b4331bb52c8fe19d6c79037a68e0bee67ec778670ab340be1f8ad3a8f3cf55c6fa4e8d7b771d2feb80ebd359abc09bf8a1baf34b5dfb21ae00c7ecfad87
-
Filesize
346KB
MD5ef0b971ae6f0713ad41a7774539bb787
SHA130e622c882a4e44b193d36c1a81d78850fe70c00
SHA25662563b71eed9b8356f69bf8ba95e4664d6f936e485975d19cb04e7f456495fd3
SHA512d9308bb70542e0ea6f080f5a2eafc528dd037fefe3a4b83a29721b161212572db27e20fa0d08d03dac0ae1691dd0f7c40471ab03d886158305d12ba4f48d1dc2
-
Filesize
2.7MB
MD5058446c347e32ac73a565e1a799115bd
SHA1dbbc875ed92a9875ad87165c75cc063a0bb2c440
SHA2568f9ac4d3cc786019a4a6b3b6c38f4c8c3ebe7a8b9a5b8c88ab156c427ba76648
SHA51210513b4331bb52c8fe19d6c79037a68e0bee67ec778670ab340be1f8ad3a8f3cf55c6fa4e8d7b771d2feb80ebd359abc09bf8a1baf34b5dfb21ae00c7ecfad87
-
Filesize
346KB
MD5ef0b971ae6f0713ad41a7774539bb787
SHA130e622c882a4e44b193d36c1a81d78850fe70c00
SHA25662563b71eed9b8356f69bf8ba95e4664d6f936e485975d19cb04e7f456495fd3
SHA512d9308bb70542e0ea6f080f5a2eafc528dd037fefe3a4b83a29721b161212572db27e20fa0d08d03dac0ae1691dd0f7c40471ab03d886158305d12ba4f48d1dc2
-
Filesize
346KB
MD5ef0b971ae6f0713ad41a7774539bb787
SHA130e622c882a4e44b193d36c1a81d78850fe70c00
SHA25662563b71eed9b8356f69bf8ba95e4664d6f936e485975d19cb04e7f456495fd3
SHA512d9308bb70542e0ea6f080f5a2eafc528dd037fefe3a4b83a29721b161212572db27e20fa0d08d03dac0ae1691dd0f7c40471ab03d886158305d12ba4f48d1dc2