Malware Analysis Report

2025-06-16 00:22

Sample ID 240929-qjet5aygqe
Target cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841
SHA256 cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841
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

cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841

Threat Level: Known bad

The file cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841 was found to be: Known bad.

Malicious Activity Summary

gh0strat purplefox discovery persistence rat rootkit trojan

PurpleFox

Detect PurpleFox Rootkit

Gh0st RAT payload

Gh0strat

Drops file in Drivers directory

Sets service image path in registry

Loads dropped DLL

Executes dropped EXE

Deletes itself

Drops file in System32 directory

Unsigned PE

System Network Configuration Discovery: Internet Connection Discovery

System Location Discovery: System Language Discovery

Modifies data under HKEY_USERS

Suspicious use of AdjustPrivilegeToken

Suspicious behavior: LoadsDriver

Suspicious use of WriteProcessMemory

Runs ping.exe

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-09-29 13:17

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-09-29 13:17

Reported

2024-09-29 13:19

Platform

win7-20240903-en

Max time kernel

145s

Max time network

150s

Command Line

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

Signatures

Detect PurpleFox Rootkit

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

Gh0st RAT payload

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

Gh0strat

rat gh0strat

PurpleFox

rootkit trojan purplefox

Drops file in Drivers directory

Description Indicator Process Target
File created C:\Windows\system32\drivers\QAssist.sys C:\Windows\SysWOW64\Phxph.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\Phxph.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\Phxph.exe N/A
N/A N/A C:\Windows\SysWOW64\Phxph.exe N/A

Loads dropped DLL

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

Drops file in System32 directory

Description Indicator Process Target
File created C:\Windows\SysWOW64\Phxph.exe C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe N/A
File opened for modification C:\Windows\SysWOW64\Phxph.exe C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.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\PING.EXE N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Phxph.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\Phxph.exe N/A

System Network Configuration Discovery: Internet Connection Discovery

discovery
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\PING.EXE N/A
N/A N/A C:\Windows\SysWOW64\cmd.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\Phxph.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content\CachePrefix C:\Windows\SysWOW64\Phxph.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Cookies\CachePrefix = "Cookie:" C:\Windows\SysWOW64\Phxph.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\History\CachePrefix = "Visited:" C:\Windows\SysWOW64\Phxph.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\Phxph.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2236 wrote to memory of 996 N/A C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe C:\Windows\SysWOW64\cmd.exe
PID 2236 wrote to memory of 996 N/A C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe C:\Windows\SysWOW64\cmd.exe
PID 2236 wrote to memory of 996 N/A C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe C:\Windows\SysWOW64\cmd.exe
PID 2236 wrote to memory of 996 N/A C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe C:\Windows\SysWOW64\cmd.exe
PID 2900 wrote to memory of 1000 N/A C:\Windows\SysWOW64\Phxph.exe C:\Windows\SysWOW64\Phxph.exe
PID 2900 wrote to memory of 1000 N/A C:\Windows\SysWOW64\Phxph.exe C:\Windows\SysWOW64\Phxph.exe
PID 2900 wrote to memory of 1000 N/A C:\Windows\SysWOW64\Phxph.exe C:\Windows\SysWOW64\Phxph.exe
PID 2900 wrote to memory of 1000 N/A C:\Windows\SysWOW64\Phxph.exe C:\Windows\SysWOW64\Phxph.exe
PID 996 wrote to memory of 1712 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 996 wrote to memory of 1712 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 996 wrote to memory of 1712 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 996 wrote to memory of 1712 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE

Processes

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

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

C:\Windows\SysWOW64\Phxph.exe

C:\Windows\SysWOW64\Phxph.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\CB140D~1.EXE > nul

C:\Windows\SysWOW64\Phxph.exe

C:\Windows\SysWOW64\Phxph.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 zhemendianfe.b1.luyouxia.net udp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp

Files

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

C:\Windows\SysWOW64\Phxph.exe

MD5 cb709753702fb448c25bc16703c48850
SHA1 55279d948a76e7f4de7bc7c55a4cc9b919e242e3
SHA256 cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841
SHA512 b7b3fdbce2409d6d8406a18e406371210538b95e855102650aae98ea3714364ad31edaa70730f548da709062ef47b6b16520642fdbb2aa61fa58c9b867bb6b8e

Analysis: behavioral2

Detonation Overview

Submitted

2024-09-29 13:17

Reported

2024-09-29 13:19

Platform

win10v2004-20240802-en

Max time kernel

145s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.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

PurpleFox

rootkit trojan purplefox

Drops file in Drivers directory

Description Indicator Process Target
File created C:\Windows\system32\drivers\QAssist.sys C:\Windows\SysWOW64\Phxph.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\Phxph.exe N/A

Executes dropped EXE

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

Drops file in System32 directory

Description Indicator Process Target
File created C:\Windows\SysWOW64\Phxph.exe C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe N/A
File opened for modification C:\Windows\SysWOW64\Phxph.exe C:\Users\Admin\AppData\Local\Temp\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.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\cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Phxph.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\Phxph.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\Phxph.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Cookies\CachePrefix = "Cookie:" C:\Windows\SysWOW64\Phxph.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\History\CachePrefix = "Visited:" C:\Windows\SysWOW64\Phxph.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\Phxph.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Processes

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

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

C:\Windows\SysWOW64\Phxph.exe

C:\Windows\SysWOW64\Phxph.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\CB140D~1.EXE > nul

C:\Windows\SysWOW64\Phxph.exe

C:\Windows\SysWOW64\Phxph.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 13.86.106.20.in-addr.arpa udp
US 8.8.8.8:53 zhemendianfe.b1.luyouxia.net udp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
US 8.8.8.8:53 83.210.23.2.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 71.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 241.150.49.20.in-addr.arpa udp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
US 8.8.8.8:53 26.165.165.52.in-addr.arpa udp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
US 52.111.229.48:443 tcp
US 8.8.8.8:53 172.210.232.199.in-addr.arpa udp
US 8.8.8.8:53 14.227.111.52.in-addr.arpa udp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp
CN 123.99.198.201:40123 zhemendianfe.b1.luyouxia.net tcp

Files

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

C:\Windows\SysWOW64\Phxph.exe

MD5 cb709753702fb448c25bc16703c48850
SHA1 55279d948a76e7f4de7bc7c55a4cc9b919e242e3
SHA256 cb140d439d38d49e058008669d410e6e2ee62d7135d3c55385ed0c09956ef841
SHA512 b7b3fdbce2409d6d8406a18e406371210538b95e855102650aae98ea3714364ad31edaa70730f548da709062ef47b6b16520642fdbb2aa61fa58c9b867bb6b8e

memory/1764-10-0x0000000010000000-0x000000001019F000-memory.dmp

memory/4088-17-0x0000000010000000-0x000000001019F000-memory.dmp