Analysis
-
max time kernel
150s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
26-08-2024 02:56
Static task
static1
Behavioral task
behavioral1
Sample
c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe
Resource
win7-20240704-en
General
-
Target
c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe
-
Size
400KB
-
MD5
731c934bbadf1140fefbedbd7cb1cc52
-
SHA1
1883b6192d99b930de8d0d3be6798bd4a67b0784
-
SHA256
c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1
-
SHA512
0a390fde2cb95bf3c4b1a179b37d0fe873fd4bcc8d5a2f4bc93cc703e1c9fdf4c0b7edbc5dc9628baaebe5bb65ad4b48797afb761bcf614b06636447aac01859
-
SSDEEP
6144:kSutg448cyV/q/T9yl/128y05cpn7zMpvF3CuFxZrPgfsxRAjXxbCl4VC:hutTZV/qb9ylN28aE2GThX8xba
Malware Config
Signatures
-
resource yara_rule behavioral1/memory/2520-2-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/2520-3-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/2520-6-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/2140-12-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/2140-16-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/928-25-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/928-22-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/928-21-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/928-20-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/928-19-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit behavioral1/memory/928-27-0x0000000010000000-0x00000000101BA000-memory.dmp purplefox_rootkit -
Gh0st RAT payload 11 IoCs
resource yara_rule behavioral1/memory/2520-2-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/2520-3-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/2520-6-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/2140-12-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/2140-16-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/928-25-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/928-22-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/928-21-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/928-20-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/928-19-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat behavioral1/memory/928-27-0x0000000010000000-0x00000000101BA000-memory.dmp family_gh0strat -
Drops file in Drivers directory 1 IoCs
description ioc Process File created C:\Windows\system32\drivers\QAssist.sys Nfghy.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" Nfghy.exe -
Deletes itself 1 IoCs
pid Process 2284 cmd.exe -
Executes dropped EXE 2 IoCs
pid Process 2140 Nfghy.exe 928 Nfghy.exe -
Loads dropped DLL 1 IoCs
pid Process 2140 Nfghy.exe -
resource yara_rule behavioral1/memory/2520-2-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/2520-3-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/2520-0-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/2520-6-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/2140-12-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/2140-16-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-25-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-22-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-21-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-20-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-19-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-17-0x0000000010000000-0x00000000101BA000-memory.dmp upx behavioral1/memory/928-27-0x0000000010000000-0x00000000101BA000-memory.dmp upx -
Drops file in System32 directory 2 IoCs
description ioc Process File created C:\Windows\SysWOW64\Nfghy.exe c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe File opened for modification C:\Windows\SysWOW64\Nfghy.exe c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe -
System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language PING.EXE Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Nfghy.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs
Adversaries may check for Internet connectivity on compromised systems.
pid Process 2284 cmd.exe 2308 PING.EXE -
Runs ping.exe 1 TTPs 1 IoCs
pid Process 2308 PING.EXE -
Suspicious behavior: LoadsDriver 1 IoCs
pid Process 928 Nfghy.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeIncBasePriorityPrivilege 2520 c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe Token: SeLoadDriverPrivilege 928 Nfghy.exe Token: 33 928 Nfghy.exe Token: SeIncBasePriorityPrivilege 928 Nfghy.exe Token: 33 928 Nfghy.exe Token: SeIncBasePriorityPrivilege 928 Nfghy.exe -
Suspicious use of WriteProcessMemory 15 IoCs
description pid Process procid_target PID 2520 wrote to memory of 2284 2520 c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe 32 PID 2520 wrote to memory of 2284 2520 c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe 32 PID 2520 wrote to memory of 2284 2520 c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe 32 PID 2520 wrote to memory of 2284 2520 c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe 32 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2140 wrote to memory of 928 2140 Nfghy.exe 34 PID 2284 wrote to memory of 2308 2284 cmd.exe 35 PID 2284 wrote to memory of 2308 2284 cmd.exe 35 PID 2284 wrote to memory of 2308 2284 cmd.exe 35 PID 2284 wrote to memory of 2308 2284 cmd.exe 35
Processes
-
C:\Users\Admin\AppData\Local\Temp\c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe"C:\Users\Admin\AppData\Local\Temp\c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1.exe"1⤵
- Drops file in System32 directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2520 -
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\C7F516~1.EXE > nul2⤵
- Deletes itself
- System Location Discovery: System Language Discovery
- System Network Configuration Discovery: Internet Connection Discovery
- Suspicious use of WriteProcessMemory
PID:2284 -
C:\Windows\SysWOW64\PING.EXEping -n 2 127.0.0.13⤵
- System Location Discovery: System Language Discovery
- System Network Configuration Discovery: Internet Connection Discovery
- Runs ping.exe
PID:2308
-
-
-
C:\Windows\SysWOW64\Nfghy.exeC:\Windows\SysWOW64\Nfghy.exe -auto1⤵
- Executes dropped EXE
- Loads dropped DLL
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2140 -
C:\Windows\SysWOW64\Nfghy.exeC:\Windows\SysWOW64\Nfghy.exe -acsi2⤵
- Drops file in Drivers directory
- Sets service image path in registry
- Executes dropped EXE
- Suspicious behavior: LoadsDriver
- Suspicious use of AdjustPrivilegeToken
PID:928
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
400KB
MD5731c934bbadf1140fefbedbd7cb1cc52
SHA11883b6192d99b930de8d0d3be6798bd4a67b0784
SHA256c7f516eeb26e08100f5264237aadf168d1b592e1ffe79f9533967f69b48981a1
SHA5120a390fde2cb95bf3c4b1a179b37d0fe873fd4bcc8d5a2f4bc93cc703e1c9fdf4c0b7edbc5dc9628baaebe5bb65ad4b48797afb761bcf614b06636447aac01859