Analysis
-
max time kernel
146s -
max time network
145s -
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:10
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe
-
Size
146KB
-
MD5
23bdb6333269fdd7c286742e9964d04e
-
SHA1
043b6cea048f3e2bb09c60e6b7a732f7c4522720
-
SHA256
18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b
-
SHA512
b16321669cc825afd184394a9693d1c508b317a75af918e7dca507d290f5eb70d3b10fc76c9372463db1afd6b14655e0a5d7f8a2a7a13b943b80f50801fb14a3
-
SSDEEP
3072:leRcOvgBZ3qPqLigLEoFMHxZnxqfPSAaz:lhOIB0zGEbqfXU
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 3172 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hpviuupx\ImagePath = "C:\\Windows\\SysWOW64\\hpviuupx\\dknlmmcq.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 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe -
Deletes itself 1 IoCs
pid Process 4468 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1432 dknlmmcq.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1432 set thread context of 4468 1432 dknlmmcq.exe 95 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 5000 sc.exe 3076 sc.exe 3084 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_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.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 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language dknlmmcq.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3820 wrote to memory of 4312 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 82 PID 3820 wrote to memory of 4312 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 82 PID 3820 wrote to memory of 4312 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 82 PID 3820 wrote to memory of 5112 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 84 PID 3820 wrote to memory of 5112 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 84 PID 3820 wrote to memory of 5112 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 84 PID 3820 wrote to memory of 3084 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 86 PID 3820 wrote to memory of 3084 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 86 PID 3820 wrote to memory of 3084 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 86 PID 3820 wrote to memory of 5000 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 88 PID 3820 wrote to memory of 5000 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 88 PID 3820 wrote to memory of 5000 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 88 PID 3820 wrote to memory of 3076 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 90 PID 3820 wrote to memory of 3076 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 90 PID 3820 wrote to memory of 3076 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 90 PID 3820 wrote to memory of 3172 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 93 PID 3820 wrote to memory of 3172 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 93 PID 3820 wrote to memory of 3172 3820 JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe 93 PID 1432 wrote to memory of 4468 1432 dknlmmcq.exe 95 PID 1432 wrote to memory of 4468 1432 dknlmmcq.exe 95 PID 1432 wrote to memory of 4468 1432 dknlmmcq.exe 95 PID 1432 wrote to memory of 4468 1432 dknlmmcq.exe 95 PID 1432 wrote to memory of 4468 1432 dknlmmcq.exe 95
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3820 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpviuupx\2⤵
- System Location Discovery: System Language Discovery
PID:4312
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dknlmmcq.exe" C:\Windows\SysWOW64\hpviuupx\2⤵
- System Location Discovery: System Language Discovery
PID:5112
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hpviuupx binPath= "C:\Windows\SysWOW64\hpviuupx\dknlmmcq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3084
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hpviuupx "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5000
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hpviuupx2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3076
-
-
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:3172
-
-
C:\Windows\SysWOW64\hpviuupx\dknlmmcq.exeC:\Windows\SysWOW64\hpviuupx\dknlmmcq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1432 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4468
-
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.5MB
MD52f5c51c3f75babd5a3beda41bb59eb06
SHA1bef027a094cd2c435afa2f0c2857b1507a09b52e
SHA2569d20138c6fff97b5ad797cd99d0d29e0cc47146eb46212e2481ec65336824142
SHA512140a408d63c59bc6de124e6be75f08155a59a010af49f06d4830fef728bc3962b2ee6cef9ba42022ae35f01259f0782a0577d4f8986b66dfc3505612dae6cea1