Analysis
-
max time kernel
147s -
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
29-12-2024 00:38
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe
-
Size
166KB
-
MD5
367fb0a93e9ac87417d1f5b717677492
-
SHA1
35e334f3b6b197124f3de2f1b75d56b886445c88
-
SHA256
f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2
-
SHA512
ed12349162e8880f5ed416c36fde94fc669bf71f816345b20d3a0e553ac8c73a47d4b196364f54cd3d059e3e2cfe2bc57420e55d4c64fa646f2ff8afc3afa230
-
SSDEEP
3072:LclL4ayAU13WhlasNxijKEeDG/5eaHKA/EqX/aTX:AYATHNIunzaHzM2/a
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 3436 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hqlnpezy\ImagePath = "C:\\Windows\\SysWOW64\\hqlnpezy\\otphfiu.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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe -
Deletes itself 1 IoCs
pid Process 3876 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1304 otphfiu.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1304 set thread context of 3876 1304 otphfiu.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1476 sc.exe 4572 sc.exe 3304 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 4624 3680 WerFault.exe 81 4024 1304 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 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.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 otphfiu.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 svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3680 wrote to memory of 2788 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 82 PID 3680 wrote to memory of 2788 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 82 PID 3680 wrote to memory of 2788 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 82 PID 3680 wrote to memory of 2736 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 84 PID 3680 wrote to memory of 2736 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 84 PID 3680 wrote to memory of 2736 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 84 PID 3680 wrote to memory of 1476 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 86 PID 3680 wrote to memory of 1476 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 86 PID 3680 wrote to memory of 1476 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 86 PID 3680 wrote to memory of 4572 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 88 PID 3680 wrote to memory of 4572 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 88 PID 3680 wrote to memory of 4572 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 88 PID 3680 wrote to memory of 3304 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 90 PID 3680 wrote to memory of 3304 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 90 PID 3680 wrote to memory of 3304 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 90 PID 3680 wrote to memory of 3436 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 93 PID 3680 wrote to memory of 3436 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 93 PID 3680 wrote to memory of 3436 3680 JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe 93 PID 1304 wrote to memory of 3876 1304 otphfiu.exe 98 PID 1304 wrote to memory of 3876 1304 otphfiu.exe 98 PID 1304 wrote to memory of 3876 1304 otphfiu.exe 98 PID 1304 wrote to memory of 3876 1304 otphfiu.exe 98 PID 1304 wrote to memory of 3876 1304 otphfiu.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3680 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hqlnpezy\2⤵
- System Location Discovery: System Language Discovery
PID:2788
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\otphfiu.exe" C:\Windows\SysWOW64\hqlnpezy\2⤵
- System Location Discovery: System Language Discovery
PID:2736
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hqlnpezy binPath= "C:\Windows\SysWOW64\hqlnpezy\otphfiu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1476
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hqlnpezy "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4572
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hqlnpezy2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3304
-
-
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:3436
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3680 -s 6682⤵
- Program crash
PID:4624
-
-
C:\Windows\SysWOW64\hqlnpezy\otphfiu.exeC:\Windows\SysWOW64\hqlnpezy\otphfiu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f1adfa1faa086249af51ed20fc83cdb03399f197807c4fadaa5e8b4dcd1f04d2.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1304 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3876
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1304 -s 5162⤵
- Program crash
PID:4024
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3680 -ip 36801⤵PID:4656
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1304 -ip 13041⤵PID:2972
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.5MB
MD57d5a08c337fa1ce983a601e608245fc8
SHA1636367749337c234503824f742c7b811b209b49c
SHA256bfe1dbe0cdf8b826ecf7f5724e9d729f8dcf1e8541151b0679e4f2cd92b2838e
SHA512403d3c0179226299007ab678e75237d9fd5b9399056b9ced86eb6750fa968cf49f4685078ca08c27014446fb0accdbaac1dde2f2e3d4af6487e5ecb534cf7dfd