Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
22-12-2024 07:39
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe
-
Size
212KB
-
MD5
1312ee3ef6696123f14c35e1bcaf57e9
-
SHA1
701d67afbdbd1dc90321b4e4f6be95566aa83d52
-
SHA256
b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a
-
SHA512
94e4493e4776c76b2748d7a93064020dd001ab533b1f48aa738d884f9ff8967bdd01d778f803edce5ececbcd47f18acdbb1f4360f68aff575a742731dcb30967
-
SSDEEP
6144:ZN0TNRkdq8G+ZYdX/2+VxjKFW7ITsquwVf:D0T7kdq8EdXres7
Malware Config
Extracted
tofsee
quadoil.ru
lakeflex.ru
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 1108 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wtptwqgs\ImagePath = "C:\\Windows\\SysWOW64\\wtptwqgs\\phzgfwho.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-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe -
Deletes itself 1 IoCs
pid Process 2272 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1220 phzgfwho.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1220 set thread context of 2272 1220 phzgfwho.exe 99 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3476 sc.exe 1884 sc.exe 2652 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 4028 1288 WerFault.exe 82 4420 1220 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 phzgfwho.exe 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 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 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1288 wrote to memory of 3068 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 83 PID 1288 wrote to memory of 3068 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 83 PID 1288 wrote to memory of 3068 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 83 PID 1288 wrote to memory of 4528 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 85 PID 1288 wrote to memory of 4528 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 85 PID 1288 wrote to memory of 4528 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 85 PID 1288 wrote to memory of 3476 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 87 PID 1288 wrote to memory of 3476 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 87 PID 1288 wrote to memory of 3476 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 87 PID 1288 wrote to memory of 1884 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 89 PID 1288 wrote to memory of 1884 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 89 PID 1288 wrote to memory of 1884 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 89 PID 1288 wrote to memory of 2652 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 91 PID 1288 wrote to memory of 2652 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 91 PID 1288 wrote to memory of 2652 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 91 PID 1288 wrote to memory of 1108 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 94 PID 1288 wrote to memory of 1108 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 94 PID 1288 wrote to memory of 1108 1288 JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe 94 PID 1220 wrote to memory of 2272 1220 phzgfwho.exe 99 PID 1220 wrote to memory of 2272 1220 phzgfwho.exe 99 PID 1220 wrote to memory of 2272 1220 phzgfwho.exe 99 PID 1220 wrote to memory of 2272 1220 phzgfwho.exe 99 PID 1220 wrote to memory of 2272 1220 phzgfwho.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1288 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wtptwqgs\2⤵
- System Location Discovery: System Language Discovery
PID:3068
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\phzgfwho.exe" C:\Windows\SysWOW64\wtptwqgs\2⤵
- System Location Discovery: System Language Discovery
PID:4528
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create wtptwqgs binPath= "C:\Windows\SysWOW64\wtptwqgs\phzgfwho.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3476
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description wtptwqgs "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1884
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start wtptwqgs2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2652
-
-
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:1108
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1288 -s 10362⤵
- Program crash
PID:4028
-
-
C:\Windows\SysWOW64\wtptwqgs\phzgfwho.exeC:\Windows\SysWOW64\wtptwqgs\phzgfwho.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1220 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2272
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1220 -s 5162⤵
- Program crash
PID:4420
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1288 -ip 12881⤵PID:1760
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1220 -ip 12201⤵PID:3840
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
12.8MB
MD5222c1ae4ebc5f1a5e920708f9a10201a
SHA1ef4bdcfce0108029fb0c533abe8d88f78bc81a9d
SHA25677e603707a90aa54211431ff97259e53e70397caf62277fc3cba2918e21dcde1
SHA51295bce36d914cde18a978423fc762fc4d0f80598d94eced55787709387cb1c087ea0fa21c8dda0549ef487f3c2d554f2a0075f060d9219f9aa8a2562b1b9688bd