Malware Analysis Report

2024-09-22 14:58

Sample ID 240618-lmlpmasbjn
Target 16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0
SHA256 16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0
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

16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0

Threat Level: Known bad

The file 16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0 was found to be: Known bad.

Malicious Activity Summary

gh0strat purplefox persistence rat rootkit trojan

Gh0st RAT payload

Gh0strat

PurpleFox

Detect PurpleFox Rootkit

Drops file in Drivers directory

Sets service image path in registry

Executes dropped EXE

Loads dropped DLL

Deletes itself

Drops file in System32 directory

Unsigned PE

Modifies data under HKEY_USERS

Suspicious use of WriteProcessMemory

Suspicious use of AdjustPrivilegeToken

Suspicious behavior: LoadsDriver

Runs ping.exe

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-06-18 09:39

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-18 09:39

Reported

2024-06-18 09:41

Platform

win7-20240220-en

Max time kernel

146s

Max time network

149s

Command Line

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

Loads dropped DLL

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

Drops file in System32 directory

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

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1728 wrote to memory of 2528 N/A C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe C:\Windows\SysWOW64\cmd.exe
PID 1728 wrote to memory of 2528 N/A C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe C:\Windows\SysWOW64\cmd.exe
PID 1728 wrote to memory of 2528 N/A C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe C:\Windows\SysWOW64\cmd.exe
PID 1728 wrote to memory of 2528 N/A C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe C:\Windows\SysWOW64\cmd.exe
PID 2572 wrote to memory of 2492 N/A C:\Windows\SysWOW64\Wxypq.exe C:\Windows\SysWOW64\Wxypq.exe
PID 2572 wrote to memory of 2492 N/A C:\Windows\SysWOW64\Wxypq.exe C:\Windows\SysWOW64\Wxypq.exe
PID 2572 wrote to memory of 2492 N/A C:\Windows\SysWOW64\Wxypq.exe C:\Windows\SysWOW64\Wxypq.exe
PID 2572 wrote to memory of 2492 N/A C:\Windows\SysWOW64\Wxypq.exe C:\Windows\SysWOW64\Wxypq.exe
PID 2528 wrote to memory of 2584 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2528 wrote to memory of 2584 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2528 wrote to memory of 2584 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2528 wrote to memory of 2584 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE

Processes

C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe

"C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe"

C:\Windows\SysWOW64\Wxypq.exe

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

C:\Windows\SysWOW64\Wxypq.exe

C:\Windows\SysWOW64\Wxypq.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 456418.e3.luyouxia.net udp
CN 124.248.69.29:13052 456418.e3.luyouxia.net tcp
CN 124.248.69.29:13052 456418.e3.luyouxia.net tcp
CN 124.248.69.29:13052 456418.e3.luyouxia.net tcp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
CN 123.99.198.130:13052 456418.e3.luyouxia.net tcp
CN 123.99.198.130:13052 456418.e3.luyouxia.net tcp
CN 123.99.198.130:13052 456418.e3.luyouxia.net tcp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
CN 115.231.218.42:13052 456418.e3.luyouxia.net tcp

Files

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

C:\Windows\SysWOW64\Wxypq.exe

MD5 ca0167445bc0050c0c72d6818890a5ac
SHA1 d32450f8372c966d8931f73c99ca86827b103a9b
SHA256 16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0
SHA512 ba63723056d445a0954e2bb9f92b3e0d5f243e62f29d221a7e1e44225300610670dfed83c2c1d1f749948d2450298223a096ac4cd3415171ffb6b45cb8095f6c

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

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-18 09:39

Reported

2024-06-18 09:41

Platform

win10v2004-20240508-en

Max time kernel

147s

Max time network

151s

Command Line

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

Executes dropped EXE

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

Drops file in System32 directory

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

Suspicious use of AdjustPrivilegeToken

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

Processes

C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe

"C:\Users\Admin\AppData\Local\Temp\16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0.exe"

C:\Windows\SysWOW64\Wxypq.exe

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

C:\Windows\SysWOW64\Wxypq.exe

C:\Windows\SysWOW64\Wxypq.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 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp
US 8.8.8.8:53 456418.e3.luyouxia.net udp

Files

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

C:\Windows\SysWOW64\Wxypq.exe

MD5 ca0167445bc0050c0c72d6818890a5ac
SHA1 d32450f8372c966d8931f73c99ca86827b103a9b
SHA256 16189931a11529db7bca5c7c06d8f8b295057ee7e5cfae9603a39df5042211e0
SHA512 ba63723056d445a0954e2bb9f92b3e0d5f243e62f29d221a7e1e44225300610670dfed83c2c1d1f749948d2450298223a096ac4cd3415171ffb6b45cb8095f6c

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

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