Analysis
-
max time kernel
149s -
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
24-12-2024 22:47
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe
-
Size
254KB
-
MD5
9d849c8ca21b5adea5bcf3f673b74517
-
SHA1
728ddd3fad37b744a26621e3bcae9f65cc743c9d
-
SHA256
5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95
-
SHA512
453761d3d8486e1f406db3700f60a469b8b5855b16cc52923bb59f22901a414b305a6cfacfd5abcba802e53376c63f568cbf61f364ff7c4d05ba17184f04e674
-
SSDEEP
6144:XvcjRGQr7zfreXSM7h0V9beG5k+zbZ0rpPRxN+JxU:XUVPr7zfCXfe9bOQbZspPRPq
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 3872 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\yrnptgjt\ImagePath = "C:\\Windows\\SysWOW64\\yrnptgjt\\gsztyerz.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-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe -
Deletes itself 1 IoCs
pid Process 2624 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 880 gsztyerz.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 880 set thread context of 2624 880 gsztyerz.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3960 sc.exe 5032 sc.exe 4500 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 4144 2788 WerFault.exe 82 4736 880 WerFault.exe 94 -
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 cmd.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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 gsztyerz.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2788 wrote to memory of 4652 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 83 PID 2788 wrote to memory of 4652 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 83 PID 2788 wrote to memory of 4652 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 83 PID 2788 wrote to memory of 4468 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 85 PID 2788 wrote to memory of 4468 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 85 PID 2788 wrote to memory of 4468 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 85 PID 2788 wrote to memory of 5032 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 87 PID 2788 wrote to memory of 5032 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 87 PID 2788 wrote to memory of 5032 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 87 PID 2788 wrote to memory of 4500 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 90 PID 2788 wrote to memory of 4500 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 90 PID 2788 wrote to memory of 4500 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 90 PID 2788 wrote to memory of 3960 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 92 PID 2788 wrote to memory of 3960 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 92 PID 2788 wrote to memory of 3960 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 92 PID 2788 wrote to memory of 3872 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 95 PID 2788 wrote to memory of 3872 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 95 PID 2788 wrote to memory of 3872 2788 JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe 95 PID 880 wrote to memory of 2624 880 gsztyerz.exe 101 PID 880 wrote to memory of 2624 880 gsztyerz.exe 101 PID 880 wrote to memory of 2624 880 gsztyerz.exe 101 PID 880 wrote to memory of 2624 880 gsztyerz.exe 101 PID 880 wrote to memory of 2624 880 gsztyerz.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2788 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yrnptgjt\2⤵
- System Location Discovery: System Language Discovery
PID:4652
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gsztyerz.exe" C:\Windows\SysWOW64\yrnptgjt\2⤵
- System Location Discovery: System Language Discovery
PID:4468
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create yrnptgjt binPath= "C:\Windows\SysWOW64\yrnptgjt\gsztyerz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5032
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description yrnptgjt "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4500
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start yrnptgjt2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3960
-
-
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:3872
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2788 -s 12482⤵
- Program crash
PID:4144
-
-
C:\Windows\SysWOW64\yrnptgjt\gsztyerz.exeC:\Windows\SysWOW64\yrnptgjt\gsztyerz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:880 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2624
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 880 -s 2442⤵
- Program crash
PID:4736
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2788 -ip 27881⤵PID:1692
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 880 -ip 8801⤵PID:3972
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
12.2MB
MD54bc62f8c2469e76a79f66cabb4c78611
SHA1d6c47da352282896e86706d72c35eaa3055b2170
SHA2569d717e06d13b66f2226090ab22fee54cc92446e7c41f72a1dcd3f4550ee4e24e
SHA5120bcd1a696a8a22634c9e3970036bcf648e7d8c537d0281e712d004761dafa8ad1e416fc5e27480ac14b816af83435c3830394e1cbabe32fdf7c9f050225cf8a1