Analysis
- max time kernel
140s - max time network
151s - platform
windows7_x64 - resource
win7-20230831-en - resource tags
arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system - submitted
01/09/2023, 02:24
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe
Resource
win7-20230831-en
17 signatures
150 seconds
General
- Target 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe
- Size 1.3MB
- Sample230901-cv3hnsca67
- SHA256 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77
- MD5 8a2dbefec715b475c092ef1aeea015c3
- SHA1 49a324ecdcf7f0d0bc526dcb5cc04f47e427f296
- SHA512 252769eae97d18a4000c5ba8a3d531a7f0bccf388600b30b97941095afc9ba9bbcf2eb880dc069c2cc854e3279a813bdf238f3bc1e9729cb554f624e27cfed77
- SSDEEP 24576:dOyHutimZ9VSly2hVvHW6qMnSbTBBhBMNN:QHPkVOBTK
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
-
resource yara_rule behavioral1/memory/2196-0-0x0000000010000000-0x000000001019F000-memory.dmp purplefox_rootkit - Gh0st RAT payload 1 IoCs
resource yara_rule behavioral1/memory/2196-0-0x0000000010000000-0x000000001019F000-memory.dmp family_gh0strat - Drops file in Drivers directory 1 IoCs
description ioc Process File created C:\Windows\system32\drivers\QAssist.sys sainbox.exe - Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\QAssist\ImagePath = "system32\\DRIVERS\\QAssist.sys" sainbox.exe - Deletes itself 1 IoCs
pid Process 2804 cmd.exe - Executes dropped EXE 1 IoCs
pid Process 2708 sainbox.exe - Loads dropped DLL 1 IoCs
pid Process 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe - Enumerates connected drives 3 TTPs 22 IoCs
Attempts to read the root path of hard drives other than the default C: drive.
description ioc Process File opened (read-only) \??\T: sainbox.exe File opened (read-only) \??\W: sainbox.exe File opened (read-only) \??\Z: sainbox.exe File opened (read-only) \??\G: sainbox.exe File opened (read-only) \??\H: sainbox.exe File opened (read-only) \??\M: sainbox.exe File opened (read-only) \??\R: sainbox.exe File opened (read-only) \??\S: sainbox.exe File opened (read-only) \??\K: sainbox.exe File opened (read-only) \??\L: sainbox.exe File opened (read-only) \??\P: sainbox.exe File opened (read-only) \??\Q: sainbox.exe File opened (read-only) \??\V: sainbox.exe File opened (read-only) \??\X: sainbox.exe File opened (read-only) \??\B: sainbox.exe File opened (read-only) \??\J: sainbox.exe File opened (read-only) \??\N: sainbox.exe File opened (read-only) \??\U: sainbox.exe File opened (read-only) \??\Y: sainbox.exe File opened (read-only) \??\E: sainbox.exe File opened (read-only) \??\I: sainbox.exe File opened (read-only) \??\O: sainbox.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Checks processor information in registry 2 TTPs 2 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 sainbox.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz sainbox.exe - Runs ping.exe 1 TTPs 1 IoCs
pid Process 2672 PING.EXE - Suspicious behavior: EnumeratesProcesses 33 IoCs
pid Process 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe 2708 sainbox.exe - Suspicious behavior: LoadsDriver 1 IoCs
pid Process 2708 sainbox.exe - Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeIncBasePriorityPrivilege 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe Token: SeLoadDriverPrivilege 2708 sainbox.exe Token: 33 2708 sainbox.exe Token: SeIncBasePriorityPrivilege 2708 sainbox.exe Token: 33 2708 sainbox.exe Token: SeIncBasePriorityPrivilege 2708 sainbox.exe - Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 2196 wrote to memory of 2708 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 28 PID 2196 wrote to memory of 2708 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 28 PID 2196 wrote to memory of 2708 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 28 PID 2196 wrote to memory of 2708 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 28 PID 2196 wrote to memory of 2804 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 29 PID 2196 wrote to memory of 2804 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 29 PID 2196 wrote to memory of 2804 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 29 PID 2196 wrote to memory of 2804 2196 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe 29 PID 2804 wrote to memory of 2672 2804 cmd.exe 31 PID 2804 wrote to memory of 2672 2804 cmd.exe 31 PID 2804 wrote to memory of 2672 2804 cmd.exe 31 PID 2804 wrote to memory of 2672 2804 cmd.exe 31
Processes
-
C:\Users\Admin\AppData\Local\Temp\5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe"C:\Users\Admin\AppData\Local\Temp\5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77.exe"1⤵
- Loads dropped DLL
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2196 -
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\sainbox.exe"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\sainbox.exe"2⤵
- Drops file in Drivers directory
- Sets service image path in registry
- Executes dropped EXE
- Enumerates connected drives
- Checks processor information in registry
- Suspicious behavior: EnumeratesProcesses
- Suspicious behavior: LoadsDriver
- Suspicious use of AdjustPrivilegeToken
PID:2708
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c ping -n 2 127.0.0.1 > nul && del C:\Users\Admin\AppData\Local\Temp\5D8F83~1.EXE > nul2⤵
- Deletes itself
- Suspicious use of WriteProcessMemory
PID:2804 -
C:\Windows\SysWOW64\PING.EXEping -n 2 127.0.0.13⤵
- Runs ping.exe
PID:2672
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\sainbox.exe
- Size 1.3MB
- SHA256 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77
- MD5 8a2dbefec715b475c092ef1aeea015c3
- SHA1 49a324ecdcf7f0d0bc526dcb5cc04f47e427f296
- SHA512 252769eae97d18a4000c5ba8a3d531a7f0bccf388600b30b97941095afc9ba9bbcf2eb880dc069c2cc854e3279a813bdf238f3bc1e9729cb554f624e27cfed77
- SSDEEP 24576:dOyHutimZ9VSly2hVvHW6qMnSbTBBhBMNN:QHPkVOBTK
- MD5 SHA1 SHA512 SSDEEP
- Path \ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\sainbox.exe
- Size 1.3MB
- SHA256 5d8f837b81f47ce1733a322b5c5d46bf7f710b833505dd26beae73e22dda2a77
- MD5 8a2dbefec715b475c092ef1aeea015c3
- SHA1 49a324ecdcf7f0d0bc526dcb5cc04f47e427f296
- SHA512 252769eae97d18a4000c5ba8a3d531a7f0bccf388600b30b97941095afc9ba9bbcf2eb880dc069c2cc854e3279a813bdf238f3bc1e9729cb554f624e27cfed77
- SSDEEP 24576:dOyHutimZ9VSly2hVvHW6qMnSbTBBhBMNN:QHPkVOBTK
- MD5 SHA1 SHA512 SSDEEP