Analysis
-
max time kernel
149s -
max time network
148s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
30-12-2024 17:29
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe
-
Size
241KB
-
MD5
26f82c93b67c17fdc57eb442a9f75cc4
-
SHA1
a3532ef0fc60cefd6923341449c927812190334a
-
SHA256
542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c
-
SHA512
2afc90bce64ca13059ae3861daca7319d216956aeecf935be596c09211c53f1f0b81b0bb5159282d6ac7f7805e762c7d584d8d01565cbd6cd2e76d6672710167
-
SSDEEP
6144:Dvv4iHVncWHsZO694FdXKde7cIncP3Nw:Dvv4iHVrsZO6mdXF7cInE
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 2724 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\mhwktyre\ImagePath = "C:\\Windows\\SysWOW64\\mhwktyre\\tfmglrem.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_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe -
Deletes itself 1 IoCs
pid Process 4952 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4672 tfmglrem.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4672 set thread context of 4952 4672 tfmglrem.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3948 sc.exe 756 sc.exe 2716 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 184 404 WerFault.exe 81 1496 4672 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 svchost.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 tfmglrem.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 404 wrote to memory of 2056 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 82 PID 404 wrote to memory of 2056 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 82 PID 404 wrote to memory of 2056 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 82 PID 404 wrote to memory of 4280 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 84 PID 404 wrote to memory of 4280 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 84 PID 404 wrote to memory of 4280 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 84 PID 404 wrote to memory of 3948 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 86 PID 404 wrote to memory of 3948 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 86 PID 404 wrote to memory of 3948 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 86 PID 404 wrote to memory of 756 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 88 PID 404 wrote to memory of 756 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 88 PID 404 wrote to memory of 756 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 88 PID 404 wrote to memory of 2716 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 90 PID 404 wrote to memory of 2716 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 90 PID 404 wrote to memory of 2716 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 90 PID 404 wrote to memory of 2724 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 93 PID 404 wrote to memory of 2724 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 93 PID 404 wrote to memory of 2724 404 JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe 93 PID 4672 wrote to memory of 4952 4672 tfmglrem.exe 98 PID 4672 wrote to memory of 4952 4672 tfmglrem.exe 98 PID 4672 wrote to memory of 4952 4672 tfmglrem.exe 98 PID 4672 wrote to memory of 4952 4672 tfmglrem.exe 98 PID 4672 wrote to memory of 4952 4672 tfmglrem.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:404 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mhwktyre\2⤵
- System Location Discovery: System Language Discovery
PID:2056
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfmglrem.exe" C:\Windows\SysWOW64\mhwktyre\2⤵
- System Location Discovery: System Language Discovery
PID:4280
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create mhwktyre binPath= "C:\Windows\SysWOW64\mhwktyre\tfmglrem.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3948
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description mhwktyre "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:756
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start mhwktyre2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2716
-
-
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:2724
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 404 -s 11882⤵
- Program crash
PID:184
-
-
C:\Windows\SysWOW64\mhwktyre\tfmglrem.exeC:\Windows\SysWOW64\mhwktyre\tfmglrem.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4672 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4952
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4672 -s 5162⤵
- Program crash
PID:1496
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 404 -ip 4041⤵PID:4180
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4672 -ip 46721⤵PID:5004
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
14.4MB
MD5d0df90d96713e3472031e62f4ceaf773
SHA12b62358bfcf1e0f0825781dd613fbe646140c2c1
SHA2563860762da07ec9ac14a712845b39e279b0ff62ad838997937755b55e9cef6d6e
SHA51258fd2c58962f7b798d7c23a58eb5dcef7f454bca5ac2f0085a327cc151831ea7ee51f1739e3e089c83a89b5c84a2fa2dec073c992d8a639c2c55564b64d037e5