Malware Analysis Report

2024-09-22 14:51

Sample ID 240621-r5hnksyamk
Target acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15
SHA256 acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15
Tags
gh0strat purplefox persistence rat rootkit trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

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

acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15

Threat Level: Known bad

The file acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15 was found to be: Known bad.

Malicious Activity Summary

gh0strat purplefox persistence rat rootkit trojan

Gh0strat

Detect PurpleFox Rootkit

Gh0st RAT payload

PurpleFox

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 use of WriteProcessMemory

Runs ping.exe

Suspicious behavior: LoadsDriver

Suspicious use of AdjustPrivilegeToken

Modifies data under HKEY_USERS

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-06-21 14:46

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-21 14:46

Reported

2024-06-21 14:49

Platform

win7-20240508-en

Max time kernel

145s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15.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\sainbox.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\sainbox.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\sainbox.exe N/A
N/A N/A C:\Windows\SysWOW64\sainbox.exe N/A

Loads dropped DLL

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

Drops file in System32 directory

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

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2920 wrote to memory of 2968 N/A C:\Users\Admin\AppData\Local\Temp\acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15.exe C:\Windows\SysWOW64\cmd.exe
PID 2920 wrote to memory of 2968 N/A C:\Users\Admin\AppData\Local\Temp\acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15.exe C:\Windows\SysWOW64\cmd.exe
PID 2920 wrote to memory of 2968 N/A C:\Users\Admin\AppData\Local\Temp\acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15.exe C:\Windows\SysWOW64\cmd.exe
PID 2920 wrote to memory of 2968 N/A C:\Users\Admin\AppData\Local\Temp\acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15.exe C:\Windows\SysWOW64\cmd.exe
PID 1948 wrote to memory of 2368 N/A C:\Windows\SysWOW64\sainbox.exe C:\Windows\SysWOW64\sainbox.exe
PID 1948 wrote to memory of 2368 N/A C:\Windows\SysWOW64\sainbox.exe C:\Windows\SysWOW64\sainbox.exe
PID 1948 wrote to memory of 2368 N/A C:\Windows\SysWOW64\sainbox.exe C:\Windows\SysWOW64\sainbox.exe
PID 1948 wrote to memory of 2368 N/A C:\Windows\SysWOW64\sainbox.exe C:\Windows\SysWOW64\sainbox.exe
PID 2968 wrote to memory of 2464 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2968 wrote to memory of 2464 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2968 wrote to memory of 2464 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2968 wrote to memory of 2464 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE

Processes

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

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

C:\Windows\SysWOW64\sainbox.exe

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

C:\Windows\SysWOW64\sainbox.exe

C:\Windows\SysWOW64\sainbox.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 090909896f78.e1.luyouxia.net udp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp
CN 123.99.198.201:20771 090909896f78.e1.luyouxia.net tcp

Files

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

C:\Windows\SysWOW64\sainbox.exe

MD5 4cf11cd62b2be8f9bb681ae76d9b65a5
SHA1 496df316d577b48df72706b529acbd25fa451f26
SHA256 acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15
SHA512 e44121ae617d03e2b72b142c2023152d15a11be2cd587fd1924ddba2eb26a86dab8fe82a874a244e5e3d7d9becf29d613a598c74cf753aa4f788d526872da5a7

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

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-21 14:46

Reported

2024-06-21 14:49

Platform

win10v2004-20240508-en

Max time kernel

142s

Max time network

148s

Command Line

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

Executes dropped EXE

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

Drops file in System32 directory

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

Suspicious use of AdjustPrivilegeToken

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

Processes

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

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

C:\Windows\SysWOW64\sainbox.exe

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

C:\Windows\SysWOW64\sainbox.exe

C:\Windows\SysWOW64\sainbox.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 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp
US 8.8.8.8:53 090909896f78.e1.luyouxia.net udp

Files

memory/1680-1-0x0000000010000000-0x000000001019F000-memory.dmp

C:\Windows\SysWOW64\sainbox.exe

MD5 4cf11cd62b2be8f9bb681ae76d9b65a5
SHA1 496df316d577b48df72706b529acbd25fa451f26
SHA256 acb4bf9264539e3e3a34c5c6e3e6f15f57b210ef2fd83fdfb9a603e93c6b1e15
SHA512 e44121ae617d03e2b72b142c2023152d15a11be2cd587fd1924ddba2eb26a86dab8fe82a874a244e5e3d7d9becf29d613a598c74cf753aa4f788d526872da5a7

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

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