Malware Analysis Report

2025-01-18 12:21

Sample ID 221101-klghvahgh8
Target wynlog (1).js
SHA256 4dd4c87a2a5901ab66a358f41a71c5c0f2b068b8e741497878cf8754d5a63f33
Tags
wshrat persistence trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V6

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

4dd4c87a2a5901ab66a358f41a71c5c0f2b068b8e741497878cf8754d5a63f33

Threat Level: Known bad

The file wynlog (1).js was found to be: Known bad.

Malicious Activity Summary

wshrat persistence trojan

WSHRAT payload

Wshrat family

WSHRAT

Blocklisted process makes network request

Drops startup file

Looks up external IP address via web service

Adds Run key to start application

Enumerates physical storage devices

Script User-Agent

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2022-11-01 08:41

Signatures

WSHRAT payload

Description Indicator Process Target
N/A N/A N/A N/A

Wshrat family

wshrat

Analysis: behavioral1

Detonation Overview

Submitted

2022-11-01 08:41

Reported

2022-11-01 08:43

Platform

win7-20220812-en

Max time kernel

147s

Max time network

161s

Command Line

wscript.exe "C:\Users\Admin\AppData\Local\Temp\wynlog (1).js"

Signatures

WSHRAT

trojan wshrat

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\wynlog (1).js C:\Windows\system32\wscript.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\wynlog (1).js C:\Windows\system32\wscript.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\wynlog (1) = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Local\\Temp\\wynlog (1).js\"" C:\Windows\system32\wscript.exe N/A
Key created \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\Software\Microsoft\Windows\CurrentVersion\Run\wynlog (1) = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Local\\Temp\\wynlog (1).js\"" C:\Windows\system32\wscript.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Script User-Agent

Description Indicator Process Target
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A
HTTP User-Agent header WSHRAT|5C41F0CB|ZERMMMDR|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 1/11/2022|JavaScript-v3.4|NL:Netherlands N/A N/A

Processes

C:\Windows\system32\wscript.exe

wscript.exe "C:\Users\Admin\AppData\Local\Temp\wynlog (1).js"

Network

Country Destination Domain Proto
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp

Files

memory/836-54-0x000007FEFC341000-0x000007FEFC343000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2022-11-01 08:41

Reported

2022-11-01 08:43

Platform

win10v2004-20220812-en

Max time kernel

141s

Max time network

148s

Command Line

wscript.exe "C:\Users\Admin\AppData\Local\Temp\wynlog (1).js"

Signatures

WSHRAT

trojan wshrat

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\system32\wscript.exe N/A
N/A N/A C:\Windows\system32\wscript.exe N/A
N/A N/A C:\Windows\system32\wscript.exe N/A
N/A N/A C:\Windows\system32\wscript.exe N/A
N/A N/A C:\Windows\system32\wscript.exe N/A
N/A N/A C:\Windows\system32\wscript.exe N/A
N/A N/A C:\Windows\system32\wscript.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\wynlog (1).js C:\Windows\system32\wscript.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\wynlog (1).js C:\Windows\system32\wscript.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\wynlog (1) = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Local\\Temp\\wynlog (1).js\"" C:\Windows\system32\wscript.exe N/A
Key created \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\software\microsoft\windows\currentversion\run C:\Windows\system32\wscript.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\wynlog (1) = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Local\\Temp\\wynlog (1).js\"" C:\Windows\system32\wscript.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Script User-Agent

Description Indicator Process Target
HTTP User-Agent header WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 1/11/2022|JavaScript-v3.4|01:Unknown N/A N/A
HTTP User-Agent header WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 1/11/2022|JavaScript-v3.4|01:Unknown N/A N/A
HTTP User-Agent header WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 1/11/2022|JavaScript-v3.4|01:Unknown N/A N/A
HTTP User-Agent header WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 1/11/2022|JavaScript-v3.4|01:Unknown N/A N/A
HTTP User-Agent header WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 1/11/2022|JavaScript-v3.4|01:Unknown N/A N/A
HTTP User-Agent header WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 1/11/2022|JavaScript-v3.4|01:Unknown N/A N/A

Processes

C:\Windows\system32\wscript.exe

wscript.exe "C:\Users\Admin\AppData\Local\Temp\wynlog (1).js"

Network

Country Destination Domain Proto
US 209.197.3.8:80 tcp
US 209.197.3.8:80 tcp
US 209.197.3.8:80 tcp
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
US 209.197.3.8:80 tcp
US 209.197.3.8:80 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
US 8.8.8.8:53 97.97.242.52.in-addr.arpa udp
US 209.197.3.8:80 tcp
US 209.197.3.8:80 tcp
US 13.107.21.200:443 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 104.80.225.205:443 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp
NL 45.139.105.174:3670 45.139.105.174 tcp

Files

N/A