Malware Analysis Report

2024-11-16 13:41

Sample ID 240531-t9h61sed2v
Target XClient.exe
SHA256 39140afbfa30b4817ff4c5e60bbaac3e87e68cf432bc52aa12f7af8c610bf721
Tags
xworm persistence rat trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

39140afbfa30b4817ff4c5e60bbaac3e87e68cf432bc52aa12f7af8c610bf721

Threat Level: Known bad

The file XClient.exe was found to be: Known bad.

Malicious Activity Summary

xworm persistence rat trojan

Xworm

Xworm family

Detect Xworm Payload

Checks computer location settings

Drops startup file

Executes dropped EXE

Looks up external IP address via web service

Adds Run key to start application

Enumerates physical storage devices

Unsigned PE

Creates scheduled task(s)

Uses Task Scheduler COM API

Suspicious use of WriteProcessMemory

Suspicious use of AdjustPrivilegeToken

Suspicious use of SetWindowsHookEx

Suspicious behavior: EnumeratesProcesses

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-05-31 16:45

Signatures

Detect Xworm Payload

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

Xworm family

xworm

Unsigned PE

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

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-31 16:45

Reported

2024-05-31 16:48

Platform

win10v2004-20240426-en

Max time kernel

149s

Max time network

150s

Command Line

"C:\Users\Admin\AppData\Local\Temp\XClient.exe"

Signatures

Detect Xworm Payload

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

Xworm

trojan rat xworm

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-3906287020-2915474608-1755617787-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\$77client.lnk C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\$77client.lnk C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3906287020-2915474608-1755617787-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\$77client = "C:\\Users\\Admin\\AppData\\Roaming\\$77client.exe" C:\Users\Admin\AppData\Local\Temp\XClient.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

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2272 wrote to memory of 1220 N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe C:\Windows\System32\schtasks.exe
PID 2272 wrote to memory of 1220 N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe C:\Windows\System32\schtasks.exe

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\XClient.exe

"C:\Users\Admin\AppData\Local\Temp\XClient.exe"

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "$77client" /tr "C:\Users\Admin\AppData\Roaming\$77client.exe"

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 241.150.49.20.in-addr.arpa udp
US 8.8.8.8:53 82.90.14.23.in-addr.arpa udp
US 8.8.8.8:53 71.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
US 8.8.8.8:53 1.112.95.208.in-addr.arpa udp
US 8.8.8.8:53 panel-slave.gl.at.ply.gg udp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 8.8.8.8:53 104.219.191.52.in-addr.arpa udp
US 8.8.8.8:53 196.249.167.52.in-addr.arpa udp
US 8.8.8.8:53 183.59.114.20.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 8.8.8.8:53 91.90.14.23.in-addr.arpa udp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 8.8.8.8:53 11.227.111.52.in-addr.arpa udp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp

Files

memory/2272-0-0x00007FFCDBF83000-0x00007FFCDBF85000-memory.dmp

memory/2272-1-0x0000000000750000-0x0000000000760000-memory.dmp

memory/2272-2-0x00007FFCDBF80000-0x00007FFCDCA41000-memory.dmp

memory/2272-7-0x00007FFCDBF83000-0x00007FFCDBF85000-memory.dmp

memory/2272-8-0x00007FFCDBF80000-0x00007FFCDCA41000-memory.dmp

C:\Users\Admin\AppData\Roaming\$77client.exe

MD5 daa12fe7204ec7192ef9b295a1775e1a
SHA1 b9627cbdea6c2317ee58a0020f3ad2e217d63ada
SHA256 39140afbfa30b4817ff4c5e60bbaac3e87e68cf432bc52aa12f7af8c610bf721
SHA512 f16e3967a6ac2db9193e234c9129115921afab8b7160a7f59cf8d88511485f49e211a7201e620a43df1764658f6c4e8733180fd94bea15a3539451baec1fd67c

memory/3016-11-0x00007FFCDBF80000-0x00007FFCDCA41000-memory.dmp

memory/3016-13-0x00007FFCDBF80000-0x00007FFCDCA41000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\$77client.exe.log

MD5 2ff39f6c7249774be85fd60a8f9a245e
SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-31 16:45

Reported

2024-05-31 16:48

Platform

win7-20240221-en

Max time kernel

149s

Max time network

132s

Command Line

"C:\Users\Admin\AppData\Local\Temp\XClient.exe"

Signatures

Detect Xworm Payload

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

Xworm

trojan rat xworm

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\$77client.lnk C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\$77client.lnk C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-1298544033-3225604241-2703760938-1000\Software\Microsoft\Windows\CurrentVersion\Run\$77client = "C:\\Users\\Admin\\AppData\\Roaming\\$77client.exe" C:\Users\Admin\AppData\Local\Temp\XClient.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

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\$77client.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Local\Temp\XClient.exe N/A

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\XClient.exe

"C:\Users\Admin\AppData\Local\Temp\XClient.exe"

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "$77client" /tr "C:\Users\Admin\AppData\Roaming\$77client.exe"

C:\Windows\system32\taskeng.exe

taskeng.exe {DEB963C7-1ED6-4545-A0CA-7538CE731F4C} S-1-5-21-1298544033-3225604241-2703760938-1000:IZKCKOTP\Admin:Interactive:[1]

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

C:\Users\Admin\AppData\Roaming\$77client.exe

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
US 8.8.8.8:53 panel-slave.gl.at.ply.gg udp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp
US 147.185.221.19:27892 panel-slave.gl.at.ply.gg tcp

Files

memory/2300-0-0x000007FEF5D73000-0x000007FEF5D74000-memory.dmp

memory/2300-1-0x0000000000F80000-0x0000000000F90000-memory.dmp

memory/2300-2-0x000007FEF5D70000-0x000007FEF675C000-memory.dmp

memory/2300-7-0x000007FEF5D73000-0x000007FEF5D74000-memory.dmp

memory/2300-8-0x000007FEF5D70000-0x000007FEF675C000-memory.dmp

memory/2568-12-0x0000000001260000-0x0000000001270000-memory.dmp

C:\Users\Admin\AppData\Roaming\$77client.exe

MD5 daa12fe7204ec7192ef9b295a1775e1a
SHA1 b9627cbdea6c2317ee58a0020f3ad2e217d63ada
SHA256 39140afbfa30b4817ff4c5e60bbaac3e87e68cf432bc52aa12f7af8c610bf721
SHA512 f16e3967a6ac2db9193e234c9129115921afab8b7160a7f59cf8d88511485f49e211a7201e620a43df1764658f6c4e8733180fd94bea15a3539451baec1fd67c