Analysis
-
max time kernel
149s -
max time network
149s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
23-12-2024 14:00
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe
-
Size
188KB
-
MD5
b902bbf8979f1a374cf1bac4e0be9767
-
SHA1
01f9cdfc71e798acdab741c4b702abdbc4561348
-
SHA256
b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00
-
SHA512
0edd6331d158f267ae081e075b3256c600655c9b0afd6c669baa1a8b72a5b51fc54567ca4911c6fb60c715588717590fe8d6c0a0e311e15b4bdf1184c3f68784
-
SSDEEP
3072:x17s49QB1NQWpUsMYvHaa9wLMZHHtpZa9uD6Vdyhkf:x59QB1NQWp1bH2MBtwVf
Malware Config
Extracted
tofsee
quadoil.ru
lakeflex.ru
Signatures
-
Tofsee family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\mrkhmfi = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2848 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\mrkhmfi\ImagePath = "C:\\Windows\\SysWOW64\\mrkhmfi\\apqwjuon.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2820 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2896 apqwjuon.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2896 set thread context of 2820 2896 apqwjuon.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2964 sc.exe 2728 sc.exe 2844 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 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.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 netsh.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 apqwjuon.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2696 wrote to memory of 2196 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 30 PID 2696 wrote to memory of 2196 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 30 PID 2696 wrote to memory of 2196 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 30 PID 2696 wrote to memory of 2196 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 30 PID 2696 wrote to memory of 2372 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 32 PID 2696 wrote to memory of 2372 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 32 PID 2696 wrote to memory of 2372 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 32 PID 2696 wrote to memory of 2372 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 32 PID 2696 wrote to memory of 2964 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 34 PID 2696 wrote to memory of 2964 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 34 PID 2696 wrote to memory of 2964 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 34 PID 2696 wrote to memory of 2964 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 34 PID 2696 wrote to memory of 2728 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 36 PID 2696 wrote to memory of 2728 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 36 PID 2696 wrote to memory of 2728 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 36 PID 2696 wrote to memory of 2728 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 36 PID 2696 wrote to memory of 2844 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 38 PID 2696 wrote to memory of 2844 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 38 PID 2696 wrote to memory of 2844 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 38 PID 2696 wrote to memory of 2844 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 38 PID 2696 wrote to memory of 2848 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 41 PID 2696 wrote to memory of 2848 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 41 PID 2696 wrote to memory of 2848 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 41 PID 2696 wrote to memory of 2848 2696 JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe 41 PID 2896 wrote to memory of 2820 2896 apqwjuon.exe 43 PID 2896 wrote to memory of 2820 2896 apqwjuon.exe 43 PID 2896 wrote to memory of 2820 2896 apqwjuon.exe 43 PID 2896 wrote to memory of 2820 2896 apqwjuon.exe 43 PID 2896 wrote to memory of 2820 2896 apqwjuon.exe 43 PID 2896 wrote to memory of 2820 2896 apqwjuon.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2696 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mrkhmfi\2⤵
- System Location Discovery: System Language Discovery
PID:2196
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\apqwjuon.exe" C:\Windows\SysWOW64\mrkhmfi\2⤵
- System Location Discovery: System Language Discovery
PID:2372
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create mrkhmfi binPath= "C:\Windows\SysWOW64\mrkhmfi\apqwjuon.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2964
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description mrkhmfi "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2728
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start mrkhmfi2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2844
-
-
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:2848
-
-
C:\Windows\SysWOW64\mrkhmfi\apqwjuon.exeC:\Windows\SysWOW64\mrkhmfi\apqwjuon.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2896 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2820
-
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
2Disable or Modify System Firewall
1Disable or Modify Tools
1Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
13.5MB
MD5292a4602c353a3bbb64796cda3ca8bea
SHA189b83e1cb6c4e43d0501eb4f9c38fe290ab3d496
SHA256933221f51ece388846049b417194ba36c94bcbf42b5c1ac9550bf653718b48aa
SHA51201f6701c9c125a86cf372f3723f78318d801da7d3d354961720488680448ea2f0bb4e371b09df9602ade019391d2b2c0bb3ef05cb9909bc5f43d5281b8065bdc