Analysis Overview
SHA256
3730e600a60fed05d20e23e9340e37e5f5f072e6d4801150326ff4e2a4fdb4c5
Threat Level: Known bad
The file sample.exe was found to be: Known bad.
Malicious Activity Summary
Detect PurpleFox Rootkit
Gh0st RAT payload
Gh0strat
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
Modifies data under HKEY_USERS
Runs ping.exe
Suspicious behavior: LoadsDriver
Suspicious use of AdjustPrivilegeToken
Suspicious use of WriteProcessMemory
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-06-20 15:03
Signatures
Unsigned PE
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Analysis: behavioral1
Detonation Overview
Submitted
2024-06-20 15:03
Reported
2024-06-20 15:05
Platform
win7-20240508-en
Max time kernel
148s
Max time network
145s
Command Line
Signatures
Detect PurpleFox 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
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
| 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\sample.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\sainbox.exe | C:\Users\Admin\AppData\Local\Temp\sample.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\sample.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
Processes
C:\Users\Admin\AppData\Local\Temp\sample.exe
"C:\Users\Admin\AppData\Local\Temp\sample.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\sample.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 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
| US | 8.8.8.8:53 | zk2733763848.e2.luyouxia.net | udp |
Files
memory/788-0-0x0000000010000000-0x000000001019F000-memory.dmp
C:\Windows\SysWOW64\sainbox.exe
| MD5 | 93aef31e912fa9fa0c6423f5eee39b92 |
| SHA1 | 01743de8f41cedaec95c71d9559624fd537d4dac |
| SHA256 | 3730e600a60fed05d20e23e9340e37e5f5f072e6d4801150326ff4e2a4fdb4c5 |
| SHA512 | 502c990c9fc0d81526aec775834c852106df585428f9830e983219ea805a8f54013de38c2d741b0765e749165569322662dc66f01555f80c1c35616bb4dfda63 |
memory/2620-19-0x0000000010000000-0x000000001019F000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-06-20 15:03
Reported
2024-06-20 15:05
Platform
win10v2004-20240611-en
Max time kernel
145s
Max time network
151s
Command Line
Signatures
Detect PurpleFox 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
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
| 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\sample.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\sainbox.exe | C:\Users\Admin\AppData\Local\Temp\sample.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\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 |
| Set value (str) | \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content\CachePrefix | 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\sample.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 1704 wrote to memory of 4784 | N/A | C:\Users\Admin\AppData\Local\Temp\sample.exe | C:\Windows\SysWOW64\cmd.exe |
| PID 1704 wrote to memory of 4784 | N/A | C:\Users\Admin\AppData\Local\Temp\sample.exe | C:\Windows\SysWOW64\cmd.exe |
| PID 1704 wrote to memory of 4784 | N/A | C:\Users\Admin\AppData\Local\Temp\sample.exe | C:\Windows\SysWOW64\cmd.exe |
| PID 3052 wrote to memory of 4180 | N/A | C:\Windows\SysWOW64\sainbox.exe | C:\Windows\SysWOW64\sainbox.exe |
| PID 3052 wrote to memory of 4180 | N/A | C:\Windows\SysWOW64\sainbox.exe | C:\Windows\SysWOW64\sainbox.exe |
| PID 3052 wrote to memory of 4180 | N/A | C:\Windows\SysWOW64\sainbox.exe | C:\Windows\SysWOW64\sainbox.exe |
| PID 4784 wrote to memory of 1204 | N/A | C:\Windows\SysWOW64\cmd.exe | C:\Windows\SysWOW64\PING.EXE |
| PID 4784 wrote to memory of 1204 | N/A | C:\Windows\SysWOW64\cmd.exe | C:\Windows\SysWOW64\PING.EXE |
| PID 4784 wrote to memory of 1204 | N/A | C:\Windows\SysWOW64\cmd.exe | C:\Windows\SysWOW64\PING.EXE |
Processes
C:\Users\Admin\AppData\Local\Temp\sample.exe
"C:\Users\Admin\AppData\Local\Temp\sample.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\sample.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 | zk2733763848.e2.luyouxia.net | udp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
| US | 8.8.8.8:53 | g.bing.com | udp |
| US | 13.107.21.237:443 | g.bing.com | tcp |
| US | 8.8.8.8:53 | 8.8.8.8.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 241.150.49.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 98.58.20.217.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 4.159.190.20.in-addr.arpa | udp |
| NL | 23.62.61.113:443 | www.bing.com | tcp |
| US | 8.8.8.8:53 | 113.61.62.23.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 237.21.107.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 57.169.31.20.in-addr.arpa | udp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 86.23.85.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 15.164.165.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 107.12.20.2.in-addr.arpa | udp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 82.90.14.23.in-addr.arpa | udp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 22.236.111.52.in-addr.arpa | udp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
| US | 8.8.8.8:53 | tse1.mm.bing.net | udp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 8.8.8.8:53 | 88.156.103.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 10.28.171.150.in-addr.arpa | udp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
| CN | 123.99.198.201:21155 | zk2733763848.e2.luyouxia.net | tcp |
Files
memory/1704-1-0x0000000010000000-0x000000001019F000-memory.dmp
C:\Windows\SysWOW64\sainbox.exe
| MD5 | 93aef31e912fa9fa0c6423f5eee39b92 |
| SHA1 | 01743de8f41cedaec95c71d9559624fd537d4dac |
| SHA256 | 3730e600a60fed05d20e23e9340e37e5f5f072e6d4801150326ff4e2a4fdb4c5 |
| SHA512 | 502c990c9fc0d81526aec775834c852106df585428f9830e983219ea805a8f54013de38c2d741b0765e749165569322662dc66f01555f80c1c35616bb4dfda63 |
memory/3052-12-0x0000000010000000-0x000000001019F000-memory.dmp