Malware Analysis Report

2025-01-02 15:26

Sample ID 240524-3jva2afa6y
Target 2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b
SHA256 2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b
Tags
gh0strat purplefox persistence rat rootkit 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

2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b

Threat Level: Known bad

The file 2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b was found to be: Known bad.

Malicious Activity Summary

gh0strat purplefox persistence rat rootkit trojan

Gh0strat

PurpleFox

Gh0st RAT payload

Detect PurpleFox Rootkit

Drops file in Drivers directory

Sets service image path in registry

Loads dropped DLL

Deletes itself

Executes dropped EXE

Drops file in System32 directory

Unsigned PE

Suspicious behavior: LoadsDriver

Suspicious use of AdjustPrivilegeToken

Modifies data under HKEY_USERS

Suspicious use of WriteProcessMemory

Runs ping.exe

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-05-24 23:33

Signatures

Unsigned PE

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

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-24 23:33

Reported

2024-05-24 23:35

Platform

win10v2004-20240426-en

Max time kernel

150s

Max time network

151s

Command Line

"C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.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\Aqiyq.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\Aqiyq.exe N/A

Executes dropped EXE

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

Drops file in System32 directory

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

Suspicious use of AdjustPrivilegeToken

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

Processes

C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe

"C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe"

C:\Windows\SysWOW64\Aqiyq.exe

C:\Windows\SysWOW64\Aqiyq.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\2EB44E~1.EXE > nul

C:\Windows\SysWOW64\Aqiyq.exe

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

C:\Windows\SysWOW64\PING.EXE

ping -n 2 127.0.0.1

Network

Country Destination Domain Proto
CN 47.121.30.4:8080 tcp
US 8.8.8.8:53 217.106.137.52.in-addr.arpa udp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
CN 47.121.30.4:8080 tcp
US 8.8.8.8:53 183.59.114.20.in-addr.arpa udp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
CN 47.121.30.4:8080 tcp
US 8.8.8.8:53 0.205.248.87.in-addr.arpa udp
US 8.8.8.8:53 88.156.103.20.in-addr.arpa udp
CN 47.121.30.4:8080 tcp
US 52.111.229.43:443 tcp
US 8.8.8.8:53 31.243.111.52.in-addr.arpa udp
NL 23.62.61.97:443 www.bing.com tcp
CN 47.121.30.4:8080 tcp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 97.61.62.23.in-addr.arpa udp
US 8.8.8.8:53 26.35.223.20.in-addr.arpa udp
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp
US 8.8.8.8:53 udp

Files

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

C:\Windows\SysWOW64\Aqiyq.exe

MD5 c3c737f1b756b914cfec10ec0a843232
SHA1 84830acae6323930c00d8dc79d2efbac82018d02
SHA256 2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b
SHA512 b49071a461c0ad17bcfb5d6be88a3515f9e0e724663df7de463102eec1a7a173c002d0e22b61b7231417a0cd48c7a7ac9456a58a7e8c54099cfec9e940771bbe

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

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-24 23:33

Reported

2024-05-24 23:35

Platform

win7-20240221-en

Max time kernel

145s

Max time network

149s

Command Line

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

PurpleFox

rootkit trojan purplefox

Drops file in Drivers directory

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

Loads dropped DLL

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

Drops file in System32 directory

Description Indicator Process Target
File created C:\Windows\SysWOW64\Aqiyq.exe C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe N/A
File opened for modification C:\Windows\SysWOW64\Aqiyq.exe C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.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\Aqiyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content\CachePrefix C:\Windows\SysWOW64\Aqiyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Cookies\CachePrefix = "Cookie:" C:\Windows\SysWOW64\Aqiyq.exe N/A
Set value (str) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\History\CachePrefix = "Visited:" C:\Windows\SysWOW64\Aqiyq.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\Aqiyq.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2356 wrote to memory of 3040 N/A C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe C:\Windows\SysWOW64\cmd.exe
PID 2356 wrote to memory of 3040 N/A C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe C:\Windows\SysWOW64\cmd.exe
PID 2356 wrote to memory of 3040 N/A C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe C:\Windows\SysWOW64\cmd.exe
PID 2356 wrote to memory of 3040 N/A C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe C:\Windows\SysWOW64\cmd.exe
PID 2024 wrote to memory of 1596 N/A C:\Windows\SysWOW64\Aqiyq.exe C:\Windows\SysWOW64\Aqiyq.exe
PID 2024 wrote to memory of 1596 N/A C:\Windows\SysWOW64\Aqiyq.exe C:\Windows\SysWOW64\Aqiyq.exe
PID 2024 wrote to memory of 1596 N/A C:\Windows\SysWOW64\Aqiyq.exe C:\Windows\SysWOW64\Aqiyq.exe
PID 2024 wrote to memory of 1596 N/A C:\Windows\SysWOW64\Aqiyq.exe C:\Windows\SysWOW64\Aqiyq.exe
PID 3040 wrote to memory of 2688 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 3040 wrote to memory of 2688 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 3040 wrote to memory of 2688 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 3040 wrote to memory of 2688 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE

Processes

C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe

"C:\Users\Admin\AppData\Local\Temp\2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b.exe"

C:\Windows\SysWOW64\Aqiyq.exe

C:\Windows\SysWOW64\Aqiyq.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\2EB44E~1.EXE > nul

C:\Windows\SysWOW64\Aqiyq.exe

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

C:\Windows\SysWOW64\PING.EXE

ping -n 2 127.0.0.1

Network

Country Destination Domain Proto
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp
CN 47.121.30.4:8080 tcp

Files

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

C:\Windows\SysWOW64\Aqiyq.exe

MD5 c3c737f1b756b914cfec10ec0a843232
SHA1 84830acae6323930c00d8dc79d2efbac82018d02
SHA256 2eb44e48e0a2d65e057551b77af0d10e50de6851a6c6ecc6de5cac9841e5e98b
SHA512 b49071a461c0ad17bcfb5d6be88a3515f9e0e724663df7de463102eec1a7a173c002d0e22b61b7231417a0cd48c7a7ac9456a58a7e8c54099cfec9e940771bbe

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