Analysis
-
max time kernel
150s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
22-12-2024 02:25
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe
-
Size
243KB
-
MD5
3252bf56b75b465acbb31cc4dba7daa0
-
SHA1
bb5e8c04d3f135e529777ea59afa9733dcdb9ae1
-
SHA256
162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7
-
SHA512
622d44a2429945a5c0820581654c9eeb2b41960f6c9f560dee3f86f6599be997ef58a946e90ac2427a691b6de6f45c77d8b404b3d507276867bec18c5ba7d56e
-
SSDEEP
6144:XaZQFbqbPXvUCL7qa97wA5yao5ZYnuV8cKi3ZfM:qZxbPXcCLWVA57rk8Ct
Malware Config
Extracted
tofsee
defeatwax.ru
refabyd.info
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3500 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\mgveifaf\ImagePath = "C:\\Windows\\SysWOW64\\mgveifaf\\hkdljltd.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-493223053-2004649691-1575712786-1000\Control Panel\International\Geo\Nation JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe -
Deletes itself 1 IoCs
pid Process 3436 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2780 hkdljltd.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2780 set thread context of 3436 2780 hkdljltd.exe 103 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 5040 sc.exe 4896 sc.exe 4320 sc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs
Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.
description ioc Process Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 4604 4044 WerFault.exe 84 1512 2780 WerFault.exe 96 -
System Location Discovery: System Language Discovery 1 TTPs 9 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language hkdljltd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4044 wrote to memory of 5044 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 85 PID 4044 wrote to memory of 5044 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 85 PID 4044 wrote to memory of 5044 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 85 PID 4044 wrote to memory of 3992 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 87 PID 4044 wrote to memory of 3992 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 87 PID 4044 wrote to memory of 3992 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 87 PID 4044 wrote to memory of 4320 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 89 PID 4044 wrote to memory of 4320 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 89 PID 4044 wrote to memory of 4320 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 89 PID 4044 wrote to memory of 5040 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 92 PID 4044 wrote to memory of 5040 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 92 PID 4044 wrote to memory of 5040 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 92 PID 4044 wrote to memory of 4896 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 94 PID 4044 wrote to memory of 4896 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 94 PID 4044 wrote to memory of 4896 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 94 PID 4044 wrote to memory of 3500 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 97 PID 4044 wrote to memory of 3500 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 97 PID 4044 wrote to memory of 3500 4044 JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe 97 PID 2780 wrote to memory of 3436 2780 hkdljltd.exe 103 PID 2780 wrote to memory of 3436 2780 hkdljltd.exe 103 PID 2780 wrote to memory of 3436 2780 hkdljltd.exe 103 PID 2780 wrote to memory of 3436 2780 hkdljltd.exe 103 PID 2780 wrote to memory of 3436 2780 hkdljltd.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4044 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mgveifaf\2⤵
- System Location Discovery: System Language Discovery
PID:5044
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hkdljltd.exe" C:\Windows\SysWOW64\mgveifaf\2⤵
- System Location Discovery: System Language Discovery
PID:3992
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create mgveifaf binPath= "C:\Windows\SysWOW64\mgveifaf\hkdljltd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4320
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description mgveifaf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5040
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start mgveifaf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4896
-
-
C:\Windows\SysWOW64\netsh.exe"C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul2⤵
- Modifies Windows Firewall
- Event Triggered Execution: Netsh Helper DLL
- System Location Discovery: System Language Discovery
PID:3500
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4044 -s 10362⤵
- Program crash
PID:4604
-
-
C:\Windows\SysWOW64\mgveifaf\hkdljltd.exeC:\Windows\SysWOW64\mgveifaf\hkdljltd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2780 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3436
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2780 -s 5602⤵
- Program crash
PID:1512
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4044 -ip 40441⤵PID:3988
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 2780 -ip 27801⤵PID:2812
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Event Triggered Execution
1Netsh Helper DLL
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Event Triggered Execution
1Netsh Helper DLL
1Defense Evasion
Impair Defenses
1Disable or Modify System Firewall
1Modify Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
11.6MB
MD57f5cfdbaf80ca03b1667e337cc49350d
SHA1fdb08d8da0bea41a5ee8bdff8c9102e0ff17f373
SHA2562857e6f3f86a5db571bd80bba9658721d05b7536b1810390baa1e0a156424716
SHA512c1e89c17a1faeb816f448986df1181c6c24ca1b89c0430fb140b99a3936c0f9dd1c36d90315d719553e69404edd5648f1d14a9a013b85e054b8fec7878cc541d