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
23-12-2024 17:57
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe
-
Size
238KB
-
MD5
59495123890f405379efb2be1f540734
-
SHA1
921d2c24a21fdf66e0146b406e03a14922423b07
-
SHA256
70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934
-
SHA512
78dbfbcc4c6be158e698022fdbaea8d4b7ef3a63b8b05e0fa93cd3186f63eddba7dcfb3d24bbe11dd199420ec530dc0c8eaebc81121ebfdcaef8eaa839d69643
-
SSDEEP
6144:qzNQs30ECx6n19V+OEpr5d7ITsq7igavwVf:qRQs34x6n/I1d79
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 4112 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\bmgnnsay\ImagePath = "C:\\Windows\\SysWOW64\\bmgnnsay\\pzerytsh.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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe -
Deletes itself 1 IoCs
pid Process 3676 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 5016 pzerytsh.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5016 set thread context of 3676 5016 pzerytsh.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3784 sc.exe 5036 sc.exe 2284 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 2520 2684 WerFault.exe 82 440 5016 WerFault.exe 94 -
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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language pzerytsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2684 wrote to memory of 4512 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 83 PID 2684 wrote to memory of 4512 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 83 PID 2684 wrote to memory of 4512 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 83 PID 2684 wrote to memory of 516 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 85 PID 2684 wrote to memory of 516 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 85 PID 2684 wrote to memory of 516 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 85 PID 2684 wrote to memory of 3784 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 87 PID 2684 wrote to memory of 3784 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 87 PID 2684 wrote to memory of 3784 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 87 PID 2684 wrote to memory of 5036 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 89 PID 2684 wrote to memory of 5036 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 89 PID 2684 wrote to memory of 5036 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 89 PID 2684 wrote to memory of 2284 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 92 PID 2684 wrote to memory of 2284 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 92 PID 2684 wrote to memory of 2284 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 92 PID 2684 wrote to memory of 4112 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 95 PID 2684 wrote to memory of 4112 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 95 PID 2684 wrote to memory of 4112 2684 JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe 95 PID 5016 wrote to memory of 3676 5016 pzerytsh.exe 101 PID 5016 wrote to memory of 3676 5016 pzerytsh.exe 101 PID 5016 wrote to memory of 3676 5016 pzerytsh.exe 101 PID 5016 wrote to memory of 3676 5016 pzerytsh.exe 101 PID 5016 wrote to memory of 3676 5016 pzerytsh.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2684 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bmgnnsay\2⤵
- System Location Discovery: System Language Discovery
PID:4512
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pzerytsh.exe" C:\Windows\SysWOW64\bmgnnsay\2⤵
- System Location Discovery: System Language Discovery
PID:516
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create bmgnnsay binPath= "C:\Windows\SysWOW64\bmgnnsay\pzerytsh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3784
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description bmgnnsay "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5036
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start bmgnnsay2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2284
-
-
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:4112
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2684 -s 12482⤵
- Program crash
PID:2520
-
-
C:\Windows\SysWOW64\bmgnnsay\pzerytsh.exeC:\Windows\SysWOW64\bmgnnsay\pzerytsh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5016 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3676
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5016 -s 5162⤵
- Program crash
PID:440
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 2684 -ip 26841⤵PID:1420
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 5016 -ip 50161⤵PID:4536
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
MD5ddf0bcc13226fd9e5fc23a8ce5f303c4
SHA145e9de9325b3a46c28acc0f796ec401fd61ac1e8
SHA256c1ae749c75a5099deb1ef83d49729c7668dcd9a5410b8d7997eaaade3a1501cf
SHA512a217ac449021a3f0c679701b518b6e2ebe6978a085d316e736a90d5578b25255a448eaed7cdd5b22e1ec357113d98ba990cb93a5728eba1ffaaeaeabb85c4711