Analysis
-
max time kernel
148s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
25-11-2024 02:39
Static task
static1
Behavioral task
behavioral1
Sample
98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe
-
Size
238KB
-
MD5
98b62dd2b4b9fca257de75573823e2f5
-
SHA1
ad30ee3dae22e935f8654bf82a58e445e82e8181
-
SHA256
cd39da40f58c16195e18922921d7eef5b3002b7e1598b55af5ac48663c433529
-
SHA512
05399acfa54357ce2e5e805e06648a0ba3a810635606597d070e5f9056410d8569d492781fb6039366aa96b12b5b14a9025dafda2cdd0d094cebae5abbd378da
-
SSDEEP
6144:NNytwy0vP4gE/r4JSzyEc9T3M+0snM6rSuB:NI+XvP4Z4JSzyEg7r0snNB
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 684 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\sqosfdgg\ImagePath = "C:\\Windows\\SysWOW64\\sqosfdgg\\afbtrug.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 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 3640 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2136 afbtrug.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2136 set thread context of 3640 2136 afbtrug.exe 95 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4948 sc.exe 3964 sc.exe 2644 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 -
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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language afbtrug.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.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 sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4508 wrote to memory of 2052 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 82 PID 4508 wrote to memory of 2052 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 82 PID 4508 wrote to memory of 2052 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 82 PID 4508 wrote to memory of 3560 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 84 PID 4508 wrote to memory of 3560 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 84 PID 4508 wrote to memory of 3560 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 84 PID 4508 wrote to memory of 4948 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 86 PID 4508 wrote to memory of 4948 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 86 PID 4508 wrote to memory of 4948 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 86 PID 4508 wrote to memory of 3964 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 88 PID 4508 wrote to memory of 3964 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 88 PID 4508 wrote to memory of 3964 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 88 PID 4508 wrote to memory of 2644 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 90 PID 4508 wrote to memory of 2644 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 90 PID 4508 wrote to memory of 2644 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 90 PID 4508 wrote to memory of 684 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 93 PID 4508 wrote to memory of 684 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 93 PID 4508 wrote to memory of 684 4508 98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe 93 PID 2136 wrote to memory of 3640 2136 afbtrug.exe 95 PID 2136 wrote to memory of 3640 2136 afbtrug.exe 95 PID 2136 wrote to memory of 3640 2136 afbtrug.exe 95 PID 2136 wrote to memory of 3640 2136 afbtrug.exe 95 PID 2136 wrote to memory of 3640 2136 afbtrug.exe 95
Processes
-
C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4508 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sqosfdgg\2⤵
- System Location Discovery: System Language Discovery
PID:2052
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afbtrug.exe" C:\Windows\SysWOW64\sqosfdgg\2⤵
- System Location Discovery: System Language Discovery
PID:3560
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create sqosfdgg binPath= "C:\Windows\SysWOW64\sqosfdgg\afbtrug.exe /d\"C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4948
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description sqosfdgg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3964
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start sqosfdgg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2644
-
-
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:684
-
-
C:\Windows\SysWOW64\sqosfdgg\afbtrug.exeC:\Windows\SysWOW64\sqosfdgg\afbtrug.exe /d"C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2136 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3640
-
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.7MB
MD51be578abe39955d9dccf64d0353a7fa2
SHA1ff8519a336c72882b4b9ae38827b211ac41279f4
SHA2569a9477128af2736ce3a4389ccb78e6b07a857cadd533f5435e8ff2deed184c9b
SHA512906e8b685f1d84c9e68c0b7fbcfbebbc7124dd832e13ed89e0dcc42cf6f3381f9d84fc4f3ab4a295cdc2408d89901368b0a6d0980850096731e47dc365b50f4c