Analysis
-
max time kernel
149s -
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
29-12-2024 06:05
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe
-
Size
287KB
-
MD5
f8c4e7377e1e2c004785641eb1ac23b9
-
SHA1
2cc839dc523d85058144d5d8f98e16665750ebd2
-
SHA256
e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef
-
SHA512
484bd7ead8788031732df37084fd7d84b2e6c8768a88c0ec519bdd767dc20af6c898d61586915e49d95db12b16cde3cdbd8096b3899e5d27ccf91b4092b8aab6
-
SSDEEP
6144:QidOABJIY38y2btsv96WhaznPPkyyr9Z1wmkE:QiEEJl38Ftsv96mek79Z1wmkE
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 4996 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\lyfenhbg\ImagePath = "C:\\Windows\\SysWOW64\\lyfenhbg\\tfaxeddr.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-3350944739-639801879-157714471-1000\Control Panel\International\Geo\Nation JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe -
Deletes itself 1 IoCs
pid Process 1372 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1056 tfaxeddr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1056 set thread context of 1372 1056 tfaxeddr.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 228 sc.exe 1748 sc.exe 212 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 queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 2512 2172 WerFault.exe 82 4828 1056 WerFault.exe 93 -
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 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_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.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 tfaxeddr.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2172 wrote to memory of 4868 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 83 PID 2172 wrote to memory of 4868 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 83 PID 2172 wrote to memory of 4868 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 83 PID 2172 wrote to memory of 3228 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 85 PID 2172 wrote to memory of 3228 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 85 PID 2172 wrote to memory of 3228 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 85 PID 2172 wrote to memory of 228 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 87 PID 2172 wrote to memory of 228 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 87 PID 2172 wrote to memory of 228 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 87 PID 2172 wrote to memory of 1748 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 89 PID 2172 wrote to memory of 1748 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 89 PID 2172 wrote to memory of 1748 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 89 PID 2172 wrote to memory of 212 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 91 PID 2172 wrote to memory of 212 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 91 PID 2172 wrote to memory of 212 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 91 PID 2172 wrote to memory of 4996 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 94 PID 2172 wrote to memory of 4996 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 94 PID 2172 wrote to memory of 4996 2172 JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe 94 PID 1056 wrote to memory of 1372 1056 tfaxeddr.exe 100 PID 1056 wrote to memory of 1372 1056 tfaxeddr.exe 100 PID 1056 wrote to memory of 1372 1056 tfaxeddr.exe 100 PID 1056 wrote to memory of 1372 1056 tfaxeddr.exe 100 PID 1056 wrote to memory of 1372 1056 tfaxeddr.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2172 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lyfenhbg\2⤵
- System Location Discovery: System Language Discovery
PID:4868
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfaxeddr.exe" C:\Windows\SysWOW64\lyfenhbg\2⤵
- System Location Discovery: System Language Discovery
PID:3228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create lyfenhbg binPath= "C:\Windows\SysWOW64\lyfenhbg\tfaxeddr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description lyfenhbg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1748
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start lyfenhbg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:212
-
-
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:4996
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2172 -s 8082⤵
- Program crash
PID:2512
-
-
C:\Windows\SysWOW64\lyfenhbg\tfaxeddr.exeC:\Windows\SysWOW64\lyfenhbg\tfaxeddr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1056 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1372
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1056 -s 5242⤵
- Program crash
PID:4828
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2172 -ip 21721⤵PID:3368
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1056 -ip 10561⤵PID:4936
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
10.3MB
MD59dba7cca6628b7b37c906f2c01cf1080
SHA10c7ccefdf74ca91c0cc2788f20526d136213fbdf
SHA256a5f52ee35fc98a52ddf8dc0be2e1bc3fc4164929eb753d172add34afd75f4ac1
SHA5123ef13758d5d8e7ffbdd931b574cec49be06c28509daebda07a15863d4ebe1d36cab5bf015ac3e561ad8e51194138885e6c3c9754a2d40d25d8ed8a0bf854701c