Malware Analysis Report

2024-12-07 14:03

Sample ID 241116-j4rwvswpcm
Target d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5
SHA256 d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5
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: 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

d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5

Threat Level: Known bad

The file d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5 was found to be: Known bad.

Malicious Activity Summary

gh0strat purplefox discovery persistence rat rootkit trojan

Gh0st RAT payload

Detect PurpleFox Rootkit

Gh0strat family

PurpleFox

Purplefox family

Gh0strat

Drops file in Drivers directory

Sets service image path in registry

Deletes itself

Loads dropped DLL

Executes dropped EXE

Drops file in System32 directory

Unsigned PE

System Location Discovery: System Language Discovery

System Network Configuration Discovery: Internet Connection Discovery

Suspicious use of WriteProcessMemory

Runs ping.exe

Suspicious behavior: LoadsDriver

Suspicious use of AdjustPrivilegeToken

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-11-16 08:13

Signatures

Unsigned PE

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

Analysis: behavioral2

Detonation Overview

Submitted

2024-11-16 08:13

Reported

2024-11-16 08:16

Platform

win10v2004-20241007-en

Max time kernel

145s

Max time network

149s

Command Line

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

Executes dropped EXE

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

Drops file in System32 directory

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

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\Gwogw.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Processes

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

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

C:\Windows\SysWOW64\Gwogw.exe

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

C:\Windows\SysWOW64\Gwogw.exe

C:\Windows\SysWOW64\Gwogw.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 facai7777777.ydns.eu udp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
US 8.8.8.8:53 104.219.191.52.in-addr.arpa udp
US 8.8.8.8:53 88.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 73.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
US 8.8.8.8:53 53.210.109.20.in-addr.arpa udp
US 8.8.8.8:53 198.187.3.20.in-addr.arpa udp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
US 8.8.8.8:53 172.210.232.199.in-addr.arpa udp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
US 8.8.8.8:53 83.210.23.2.in-addr.arpa udp
US 8.8.8.8:53 23.236.111.52.in-addr.arpa udp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp

Files

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

C:\Windows\SysWOW64\Gwogw.exe

MD5 fb3f209a3cc6a1476c41cff254891230
SHA1 c59fec012d4c98ff0be70703484d09344563bc0e
SHA256 d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5
SHA512 08154b2276605edeb59304f17b0ee20fa870b88ee975cc0856a721a6dc0b9224cef0fd5d60cf339a91ad34f3aece4d4be55de9947c31698c14d399f9d1727d07

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

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-11-16 08:13

Reported

2024-11-16 08:16

Platform

win7-20241010-en

Max time kernel

145s

Max time network

149s

Command Line

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

Loads dropped DLL

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

Drops file in System32 directory

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

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\Gwogw.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1996 wrote to memory of 2540 N/A C:\Users\Admin\AppData\Local\Temp\d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5.exe C:\Windows\SysWOW64\cmd.exe
PID 1996 wrote to memory of 2540 N/A C:\Users\Admin\AppData\Local\Temp\d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5.exe C:\Windows\SysWOW64\cmd.exe
PID 1996 wrote to memory of 2540 N/A C:\Users\Admin\AppData\Local\Temp\d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5.exe C:\Windows\SysWOW64\cmd.exe
PID 1996 wrote to memory of 2540 N/A C:\Users\Admin\AppData\Local\Temp\d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5.exe C:\Windows\SysWOW64\cmd.exe
PID 2528 wrote to memory of 2468 N/A C:\Windows\SysWOW64\Gwogw.exe C:\Windows\SysWOW64\Gwogw.exe
PID 2528 wrote to memory of 2468 N/A C:\Windows\SysWOW64\Gwogw.exe C:\Windows\SysWOW64\Gwogw.exe
PID 2528 wrote to memory of 2468 N/A C:\Windows\SysWOW64\Gwogw.exe C:\Windows\SysWOW64\Gwogw.exe
PID 2528 wrote to memory of 2468 N/A C:\Windows\SysWOW64\Gwogw.exe C:\Windows\SysWOW64\Gwogw.exe
PID 2540 wrote to memory of 2952 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2540 wrote to memory of 2952 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2540 wrote to memory of 2952 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE
PID 2540 wrote to memory of 2952 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\PING.EXE

Processes

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

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

C:\Windows\SysWOW64\Gwogw.exe

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

C:\Windows\SysWOW64\Gwogw.exe

C:\Windows\SysWOW64\Gwogw.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 facai7777777.ydns.eu udp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp
HK 202.181.25.108:8089 facai7777777.ydns.eu tcp

Files

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

C:\Windows\SysWOW64\Gwogw.exe

MD5 fb3f209a3cc6a1476c41cff254891230
SHA1 c59fec012d4c98ff0be70703484d09344563bc0e
SHA256 d8964bcfca3565c73b50bc677629cde912258c23337ee5525017a5799fb175c5
SHA512 08154b2276605edeb59304f17b0ee20fa870b88ee975cc0856a721a6dc0b9224cef0fd5d60cf339a91ad34f3aece4d4be55de9947c31698c14d399f9d1727d07

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