Analysis
-
max time kernel
150s -
max time network
151s -
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 11:29
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe
-
Size
184KB
-
MD5
3053973d0d187f27f6154532ea00ee17
-
SHA1
c15d2971bed0e89f52193e09a94971d455d757cf
-
SHA256
83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef
-
SHA512
eb5058b97a67b2b2ddd1f36e25d9f3a67e5115dab0ea520ab574261a12feab6541a38ec63ee7e9b0ef38e9f6a68677573fe4e690443ddb7230b8ac039d69d504
-
SSDEEP
3072:7SmyTMOQe1NOvLqfbsjUivt2QejgkNXSfMtcaJK3jPZPw8XehgC:7UTMHeajUQKBNXSkWaITP7m
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 1032 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hznmpdje\ImagePath = "C:\\Windows\\SysWOW64\\hznmpdje\\bgcusvh.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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe -
Deletes itself 1 IoCs
pid Process 2800 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1076 bgcusvh.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1076 set thread context of 2800 1076 bgcusvh.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4784 sc.exe 4484 sc.exe 3320 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 804 3252 WerFault.exe 81 3176 1076 WerFault.exe 92 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.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 bgcusvh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3252 wrote to memory of 3284 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 82 PID 3252 wrote to memory of 3284 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 82 PID 3252 wrote to memory of 3284 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 82 PID 3252 wrote to memory of 2140 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 84 PID 3252 wrote to memory of 2140 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 84 PID 3252 wrote to memory of 2140 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 84 PID 3252 wrote to memory of 4784 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 86 PID 3252 wrote to memory of 4784 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 86 PID 3252 wrote to memory of 4784 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 86 PID 3252 wrote to memory of 4484 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 88 PID 3252 wrote to memory of 4484 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 88 PID 3252 wrote to memory of 4484 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 88 PID 3252 wrote to memory of 3320 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 90 PID 3252 wrote to memory of 3320 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 90 PID 3252 wrote to memory of 3320 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 90 PID 3252 wrote to memory of 1032 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 93 PID 3252 wrote to memory of 1032 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 93 PID 3252 wrote to memory of 1032 3252 JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe 93 PID 1076 wrote to memory of 2800 1076 bgcusvh.exe 98 PID 1076 wrote to memory of 2800 1076 bgcusvh.exe 98 PID 1076 wrote to memory of 2800 1076 bgcusvh.exe 98 PID 1076 wrote to memory of 2800 1076 bgcusvh.exe 98 PID 1076 wrote to memory of 2800 1076 bgcusvh.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3252 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hznmpdje\2⤵
- System Location Discovery: System Language Discovery
PID:3284
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgcusvh.exe" C:\Windows\SysWOW64\hznmpdje\2⤵
- System Location Discovery: System Language Discovery
PID:2140
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hznmpdje binPath= "C:\Windows\SysWOW64\hznmpdje\bgcusvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4784
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hznmpdje "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4484
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hznmpdje2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3320
-
-
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:1032
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3252 -s 6482⤵
- Program crash
PID:804
-
-
C:\Windows\SysWOW64\hznmpdje\bgcusvh.exeC:\Windows\SysWOW64\hznmpdje\bgcusvh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1076 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2800
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1076 -s 5122⤵
- Program crash
PID:3176
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3252 -ip 32521⤵PID:2740
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1076 -ip 10761⤵PID:4920
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
MD55255220e7a48d0bc4feedec9b2b3f9a7
SHA12c52879c9d31e35d819e9bbb1ed7e605d9c78f01
SHA256fbc829a80b9aaf497f77cfc00c854d790a19a1069e081144aff4ff612006003f
SHA512a69b62fbd671ded1f8c17e5e1be7baf93d02e52c5b49d6064922515119f6e95177bc8928ccad4d7c7d618aa5a89eab37cb32014a1f302c52d9f799efe8d137f2