Analysis Overview
SHA256
ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506
Threat Level: Known bad
The file ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506 was found to be: Known bad.
Malicious Activity Summary
PurpleFox
Gh0strat
Detect PurpleFox Rootkit
Gh0st RAT payload
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
Suspicious behavior: LoadsDriver
Suspicious use of WriteProcessMemory
Modifies data under HKEY_USERS
Runs ping.exe
MITRE ATT&CK
Enterprise Matrix V15
Analysis: static1
Detonation Overview
Reported
2024-05-24 16:45
Signatures
Unsigned PE
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Analysis: behavioral1
Detonation Overview
Submitted
2024-05-24 16:45
Reported
2024-05-24 16:48
Platform
win7-20240221-en
Max time kernel
146s
Max time network
153s
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\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\sainbox.exe | C:\Users\Admin\AppData\Local\Temp\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.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 |
| Key created | \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings | 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\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.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\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.exe
"C:\Users\Admin\AppData\Local\Temp\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.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\BA699E~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 | lsy1275.u1.luyouxia.net | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
Files
memory/2008-0-0x0000000010000000-0x000000001019F000-memory.dmp
C:\Windows\SysWOW64\sainbox.exe
| MD5 | 18cfb21212f6a3356d5685fdf2c43da8 |
| SHA1 | ee69992996a79696f845370b0293fc11f9990c81 |
| SHA256 | ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506 |
| SHA512 | 1042b8a3a42126f991d66de20175500d651e3b16922cdbcd7fc27af48225730ddec48d103f9097206690ae5fdc94342253ff30199eb7161699f84b41352dc9be |
memory/2536-18-0x0000000010000000-0x000000001019F000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-05-24 16:45
Reported
2024-05-24 16:48
Platform
win10v2004-20240226-en
Max time kernel
152s
Max time network
158s
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\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\sainbox.exe | C:\Users\Admin\AppData\Local\Temp\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.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\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.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\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.exe
"C:\Users\Admin\AppData\Local\Temp\ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506.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\BA699E~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
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4340 --field-trial-handle=2252,i,16022092570067181109,3235558581947505669,262144 --variations-seed-version /prefetch:8
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | 104.219.191.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 172.210.232.199.in-addr.arpa | udp |
| US | 8.8.8.8:53 | lsy1275.u1.luyouxia.net | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 95.221.229.192.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 67.31.126.40.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 196.249.167.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 58.55.71.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 26.165.165.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 97.17.167.52.in-addr.arpa | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 15.164.165.52.in-addr.arpa | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 107.211.222.173.in-addr.arpa | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 19.229.111.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 249.197.17.2.in-addr.arpa | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
| US | 8.8.8.8:53 | 72.239.69.13.in-addr.arpa | udp |
| CN | 123.99.198.201:50257 | lsy1275.u1.luyouxia.net | tcp |
Files
memory/636-0-0x0000000010000000-0x000000001019F000-memory.dmp
C:\Windows\SysWOW64\sainbox.exe
| MD5 | 18cfb21212f6a3356d5685fdf2c43da8 |
| SHA1 | ee69992996a79696f845370b0293fc11f9990c81 |
| SHA256 | ba699e77a856fe703bfdbccf0e354bc83620d70b230b9faf4476dad13615d506 |
| SHA512 | 1042b8a3a42126f991d66de20175500d651e3b16922cdbcd7fc27af48225730ddec48d103f9097206690ae5fdc94342253ff30199eb7161699f84b41352dc9be |
memory/2756-10-0x0000000010000000-0x000000001019F000-memory.dmp
memory/4572-17-0x0000000010000000-0x000000001019F000-memory.dmp