Malware Analysis Report

2024-12-07 13:43

Sample ID 241108-y9z7raykdx
Target 3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a
SHA256 3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a
Tags
gh0strat purplefox discovery persistence rat rootkit trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

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

3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a

Threat Level: Known bad

The file 3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a was found to be: Known bad.

Malicious Activity Summary

gh0strat purplefox discovery persistence rat rootkit trojan

PurpleFox

Purplefox family

Detect PurpleFox Rootkit

Gh0strat family

Gh0strat

Gh0st RAT payload

Sets service image path in registry

Drops file in Drivers directory

Deletes itself

Loads dropped DLL

Executes dropped EXE

Drops file in System32 directory

System Network Configuration Discovery: Internet Connection Discovery

Unsigned PE

System Location Discovery: System Language Discovery

Suspicious use of WriteProcessMemory

Runs ping.exe

Modifies data under HKEY_USERS

Suspicious behavior: LoadsDriver

Suspicious use of AdjustPrivilegeToken

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-11-08 20:29

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-11-08 20:29

Reported

2024-11-08 20:32

Platform

win7-20240903-en

Max time kernel

145s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe"

Signatures

Detect PurpleFox Rootkit

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

Gh0st RAT payload

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

Gh0strat

rat gh0strat

Gh0strat family

gh0strat

PurpleFox

rootkit trojan purplefox

Purplefox family

purplefox

Drops file in Drivers directory

Description Indicator Process Target
File created C:\Windows\system32\drivers\QAssist.sys C:\Windows\SysWOW64\Ghxyq.exe N/A

Sets service image path in registry

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\QAssist\ImagePath = "system32\\DRIVERS\\QAssist.sys" C:\Windows\SysWOW64\Ghxyq.exe N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\cmd.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Loads dropped DLL

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Drops file in System32 directory

Description Indicator Process Target
File created C:\Windows\SysWOW64\Ghxyq.exe C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A
File opened for modification C:\Windows\SysWOW64\Ghxyq.exe C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Ghxyq.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Ghxyq.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\cmd.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\PING.EXE N/A

System Network Configuration Discovery: Internet Connection Discovery

discovery
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\cmd.exe N/A
N/A N/A C:\Windows\SysWOW64\PING.EXE N/A

Modifies data under HKEY_USERS

Description Indicator Process Target
Key created \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings C:\Windows\SysWOW64\Ghxyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content\CachePrefix C:\Windows\SysWOW64\Ghxyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Cookies\CachePrefix = "Cookie:" C:\Windows\SysWOW64\Ghxyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\History\CachePrefix = "Visited:" C:\Windows\SysWOW64\Ghxyq.exe N/A

Runs ping.exe

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\PING.EXE N/A

Suspicious behavior: LoadsDriver

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A
Token: SeLoadDriverPrivilege N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: 33 N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: 33 N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1668 wrote to memory of 2920 N/A C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe C:\Windows\SysWOW64\cmd.exe
PID 1668 wrote to memory of 2920 N/A C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe C:\Windows\SysWOW64\cmd.exe
PID 1668 wrote to memory of 2920 N/A C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe C:\Windows\SysWOW64\cmd.exe
PID 1668 wrote to memory of 2920 N/A C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe C:\Windows\SysWOW64\cmd.exe
PID 2792 wrote to memory of 2240 N/A C:\Windows\SysWOW64\Ghxyq.exe C:\Windows\SysWOW64\Ghxyq.exe
PID 2792 wrote to memory of 2240 N/A C:\Windows\SysWOW64\Ghxyq.exe C:\Windows\SysWOW64\Ghxyq.exe
PID 2792 wrote to memory of 2240 N/A C:\Windows\SysWOW64\Ghxyq.exe C:\Windows\SysWOW64\Ghxyq.exe
PID 2792 wrote to memory of 2240 N/A C:\Windows\SysWOW64\Ghxyq.exe C:\Windows\SysWOW64\Ghxyq.exe
PID 2920 wrote to memory of 2548 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2920 wrote to memory of 2548 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2920 wrote to memory of 2548 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2920 wrote to memory of 2548 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE

Processes

C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe

"C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe"

C:\Windows\SysWOW64\Ghxyq.exe

C:\Windows\SysWOW64\Ghxyq.exe -auto

C:\Windows\SysWOW64\cmd.exe

C:\Windows\system32\cmd.exe /c ping -n 2 127.0.0.1 > nul && del C:\Users\Admin\AppData\Local\Temp\3EAC42~1.EXE > nul

C:\Windows\SysWOW64\Ghxyq.exe

C:\Windows\SysWOW64\Ghxyq.exe -acsi

C:\Windows\SysWOW64\PING.EXE

ping -n 2 127.0.0.1

Network

Country Destination Domain Proto
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.69.14:26156 kx5555.a1.luyouxia.net tcp
CN 124.248.69.14:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp

Files

memory/1668-0-0x0000000010000000-0x000000001019F000-memory.dmp

C:\Windows\SysWOW64\Ghxyq.exe

MD5 7251053efb953f5d03a9656221ad93d6
SHA1 f85198860ed6f191ed19e46419788f3a99b6abf3
SHA256 e136b292ab186f6de01c76b88d943c9b1bff203ebec6a6e0d6a43895b7c8d84a
SHA512 bad8fd61b598671c6caaeab77a97ba8f22e99d7fe12ca8cb6c585ad4e560eb1eae680286cd765fbdac6b963cd874735b2e7f0090c3e6320537596d37008926a3

memory/2240-19-0x0000000010000000-0x000000001019F000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-11-08 20:29

Reported

2024-11-08 20:32

Platform

win10v2004-20241007-en

Max time kernel

145s

Max time network

150s

Command Line

"C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe"

Signatures

Detect PurpleFox Rootkit

rootkit
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

Gh0st RAT 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

Gh0strat

rat gh0strat

Gh0strat family

gh0strat

PurpleFox

rootkit trojan purplefox

Purplefox family

purplefox

Drops file in Drivers directory

Description Indicator Process Target
File created C:\Windows\system32\drivers\QAssist.sys C:\Windows\SysWOW64\Ghxyq.exe N/A

Sets service image path in registry

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\QAssist\ImagePath = "system32\\DRIVERS\\QAssist.sys" C:\Windows\SysWOW64\Ghxyq.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Drops file in System32 directory

Description Indicator Process Target
File created C:\Windows\SysWOW64\Ghxyq.exe C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A
File opened for modification C:\Windows\SysWOW64\Ghxyq.exe C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Ghxyq.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Ghxyq.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\cmd.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\PING.EXE N/A

System Network Configuration Discovery: Internet Connection Discovery

discovery
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\cmd.exe N/A
N/A N/A C:\Windows\SysWOW64\PING.EXE N/A

Modifies data under HKEY_USERS

Description Indicator Process Target
Set value (str) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content\CachePrefix C:\Windows\SysWOW64\Ghxyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Cookies\CachePrefix = "Cookie:" C:\Windows\SysWOW64\Ghxyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\History\CachePrefix = "Visited:" C:\Windows\SysWOW64\Ghxyq.exe N/A

Runs ping.exe

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\PING.EXE N/A

Suspicious behavior: LoadsDriver

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe N/A
Token: SeLoadDriverPrivilege N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: 33 N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: 33 N/A C:\Windows\SysWOW64\Ghxyq.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\SysWOW64\Ghxyq.exe N/A

Processes

C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe

"C:\Users\Admin\AppData\Local\Temp\3eac42cd336d7f2d8d22c78aebb1e09e291749ed682a9211a15377299a01906a.exe"

C:\Windows\SysWOW64\Ghxyq.exe

C:\Windows\SysWOW64\Ghxyq.exe -auto

C:\Windows\SysWOW64\cmd.exe

C:\Windows\system32\cmd.exe /c ping -n 2 127.0.0.1 > nul && del C:\Users\Admin\AppData\Local\Temp\3EAC42~1.EXE > nul

C:\Windows\SysWOW64\Ghxyq.exe

C:\Windows\SysWOW64\Ghxyq.exe -acsi

C:\Windows\SysWOW64\PING.EXE

ping -n 2 127.0.0.1

Network

Country Destination Domain Proto
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
US 8.8.8.8:53 74.32.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 241.150.49.20.in-addr.arpa udp
US 8.8.8.8:53 232.168.11.51.in-addr.arpa udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 50.23.12.20.in-addr.arpa udp
US 8.8.8.8:53 241.42.69.40.in-addr.arpa udp
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 19.229.111.52.in-addr.arpa udp
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
CN 124.248.70.245:26156 kx5555.a1.luyouxia.net tcp
US 8.8.8.8:53 kx5555.a1.luyouxia.net udp
CN 124.248.69.14:26156 kx5555.a1.luyouxia.net tcp

Files

memory/4956-0-0x0000000010000000-0x000000001019F000-memory.dmp

C:\Windows\SysWOW64\Ghxyq.exe

MD5 7251053efb953f5d03a9656221ad93d6
SHA1 f85198860ed6f191ed19e46419788f3a99b6abf3
SHA256 e136b292ab186f6de01c76b88d943c9b1bff203ebec6a6e0d6a43895b7c8d84a
SHA512 bad8fd61b598671c6caaeab77a97ba8f22e99d7fe12ca8cb6c585ad4e560eb1eae680286cd765fbdac6b963cd874735b2e7f0090c3e6320537596d37008926a3

memory/1000-11-0x0000000010000000-0x000000001019F000-memory.dmp

memory/2628-18-0x0000000010000000-0x000000001019F000-memory.dmp