Analysis Overview
SHA256
e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89
Threat Level: Known bad
The file e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89 was found to be: Known bad.
Malicious Activity Summary
Gh0strat
Detect PurpleFox Rootkit
Gh0st RAT payload
PurpleFox
Drops file in Drivers directory
Sets service image path in registry
Loads dropped DLL
Executes dropped EXE
Deletes itself
Drops file in System32 directory
Unsigned PE
Suspicious use of AdjustPrivilegeToken
Runs ping.exe
Modifies data under HKEY_USERS
Suspicious behavior: LoadsDriver
Suspicious use of WriteProcessMemory
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-06-18 09:38
Signatures
Unsigned PE
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Analysis: behavioral1
Detonation Overview
Submitted
2024-06-18 09:38
Reported
2024-06-18 09:41
Platform
win7-20240611-en
Max time kernel
145s
Max time network
148s
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\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\sainbox.exe | C:\Users\Admin\AppData\Local\Temp\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.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\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.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\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.exe
"C:\Users\Admin\AppData\Local\Temp\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.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\E5B364~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 | sys0316.e1.luyouxia.net | udp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
| CN | 123.99.198.201:22359 | sys0316.e1.luyouxia.net | tcp |
Files
memory/2436-0-0x0000000010000000-0x000000001019F000-memory.dmp
C:\Windows\SysWOW64\sainbox.exe
| MD5 | 4972e410b438253f1cf2712789b456ed |
| SHA1 | 78823929302ae341b551f583d7493e9c25a14f29 |
| SHA256 | ff104af9ac96af3d9472c02495b55a4a623e32cadb1486b004bb7fd65c093feb |
| SHA512 | e08013dfe5fc9303914922c12de4cda9e90b6995bd96210ad95a75a1c625364f2c9a34bbe4c0d6e37450ec90dbbed762ea2e92cc824169d3c7a3e862b5f52d94 |
memory/2080-19-0x0000000010000000-0x000000001019F000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-06-18 09:38
Reported
2024-06-18 09:41
Platform
win10v2004-20240508-en
Max time kernel
142s
Max time network
148s
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 |
| 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
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\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\sainbox.exe | C:\Users\Admin\AppData\Local\Temp\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.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\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 |
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\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.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\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.exe
"C:\Users\Admin\AppData\Local\Temp\e5b364a3b2e23376db6e305ebfba77eb615d27a30ebb9e0571da28a476a44c89.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\E5B364~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 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
| US | 8.8.8.8:53 | sys0316.e1.luyouxia.net | udp |
Files
memory/2156-1-0x0000000010000000-0x000000001019F000-memory.dmp
C:\Windows\SysWOW64\sainbox.exe
| MD5 | 4972e410b438253f1cf2712789b456ed |
| SHA1 | 78823929302ae341b551f583d7493e9c25a14f29 |
| SHA256 | ff104af9ac96af3d9472c02495b55a4a623e32cadb1486b004bb7fd65c093feb |
| SHA512 | e08013dfe5fc9303914922c12de4cda9e90b6995bd96210ad95a75a1c625364f2c9a34bbe4c0d6e37450ec90dbbed762ea2e92cc824169d3c7a3e862b5f52d94 |
memory/4440-11-0x0000000010000000-0x000000001019F000-memory.dmp
memory/5780-18-0x0000000010000000-0x000000001019F000-memory.dmp