Analysis
- max time kernel
150s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20241007-en - resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system - submitted
29/12/2024, 23:17
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe
Resource
win10v2004-20241007-en
General
- Target JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe
- Size 237KB
- Sample241229-294fysznct
- SHA256 a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c
- MD5 1191183d3c4cca2e9799d6a6d1c67b18
- SHA1 6924ade5ffeef5b226223b83820e0e7c962a6102
- SHA512 7dcf7b30bb597917996ae1b22125df13127ee0a67242440c4b1ca3d7eb3f14f7435d180b1141d7c0cdee6e50891398ccac2a05c7953b372173b20bd66b282353
- SSDEEP 6144:64Mm3W6nJ+lQ/7O3gLtA3wdZwwisdBLyJFJN5P0:6dbYJ+lQMgLtAgtiMxyJFJNN0
- MD5 SHA1 SHA512 SSDEEP
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 1992 netsh.exe - Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\lykjrqia\ImagePath = "C:\\Windows\\SysWOW64\\lykjrqia\\mtfsbopj.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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe - Deletes itself 1 IoCs
pid Process 3996 svchost.exe - Executes dropped EXE 1 IoCs
pid Process 1136 mtfsbopj.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1136 set thread context of 3996 1136 mtfsbopj.exe 99 - Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4700 sc.exe 2920 sc.exe 392 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 4 IoCs
pid pid_target Process procid_target 1924 3896 WerFault.exe 81 2288 3896 WerFault.exe 81 3912 1136 WerFault.exe 92 756 1136 WerFault.exe 92 - 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 cmd.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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mtfsbopj.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe - Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3896 wrote to memory of 4792 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 82 PID 3896 wrote to memory of 4792 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 82 PID 3896 wrote to memory of 4792 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 82 PID 3896 wrote to memory of 1396 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 84 PID 3896 wrote to memory of 1396 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 84 PID 3896 wrote to memory of 1396 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 84 PID 3896 wrote to memory of 2920 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 86 PID 3896 wrote to memory of 2920 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 86 PID 3896 wrote to memory of 2920 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 86 PID 3896 wrote to memory of 392 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 88 PID 3896 wrote to memory of 392 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 88 PID 3896 wrote to memory of 392 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 88 PID 3896 wrote to memory of 4700 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 90 PID 3896 wrote to memory of 4700 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 90 PID 3896 wrote to memory of 4700 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 90 PID 3896 wrote to memory of 1992 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 93 PID 3896 wrote to memory of 1992 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 93 PID 3896 wrote to memory of 1992 3896 JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe 93 PID 1136 wrote to memory of 3996 1136 mtfsbopj.exe 99 PID 1136 wrote to memory of 3996 1136 mtfsbopj.exe 99 PID 1136 wrote to memory of 3996 1136 mtfsbopj.exe 99 PID 1136 wrote to memory of 3996 1136 mtfsbopj.exe 99 PID 1136 wrote to memory of 3996 1136 mtfsbopj.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3896 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lykjrqia\2⤵
- System Location Discovery: System Language Discovery
PID:4792
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mtfsbopj.exe" C:\Windows\SysWOW64\lykjrqia\2⤵
- System Location Discovery: System Language Discovery
PID:1396
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create lykjrqia binPath= "C:\Windows\SysWOW64\lykjrqia\mtfsbopj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2920
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description lykjrqia "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:392
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start lykjrqia2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4700
-
-
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:1992
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3896 -s 10322⤵
- Program crash
PID:1924
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3896 -s 11602⤵
- Program crash
PID:2288
-
-
C:\Windows\SysWOW64\lykjrqia\mtfsbopj.exeC:\Windows\SysWOW64\lykjrqia\mtfsbopj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1136 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3996
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1136 -s 5242⤵
- Program crash
PID:3912
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1136 -s 5642⤵
- Program crash
PID:756
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3896 -ip 38961⤵PID:1636
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 3896 -ip 38961⤵PID:4484
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1136 -ip 11361⤵PID:3476
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1136 -ip 11361⤵PID:3084
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
- Path C:\Users\Admin\AppData\Local\Temp\mtfsbopj.exe
- Size 11.0MB
- SHA256 315b588d9ea9a25ec42539be4dfaa35e1e3962ca72e489949c31d5d18707b5d4
- MD5 695db9f7141922a0f2cd508785a9e9df
- SHA1 2bdc07ee9f75f9bce0d32a0cbfe00cfef8150648
- SHA512 619d31ba72ef0cb09de22521d978e29d952a8c5739c972af01523f9fce39a9d703667e3041ba869fb77be838562adbdd9eccee5875fef02ec46f6dd8cef00a2f
- SSDEEP 12288:GdbYJ+lQMgLtAgtiMxyJFJNN0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaan:CvQMwRtiMO
- MD5 SHA1 SHA512 SSDEEP