Analysis
-
max time kernel
146s -
max time network
149s -
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 06:38
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe
-
Size
295KB
-
MD5
9030655a6f62f9a680bc9469372e55fe
-
SHA1
fd87e7b02a3bda1a7d3c783cf24f43def0437e5f
-
SHA256
78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714
-
SHA512
934a53e399665bffff8cf6a68fd139ed18d60c464fbc1969471a113897282353038f9daa01ccf6366b5846810d41b9fed11dec2b3d18129bc2048f3c6a4d546b
-
SSDEEP
6144:cQv1fCPcQsRDgQ6QucrF82jg6rhR3TN/x4ue:1dfC/igSucrFpgQhFNs
Malware Config
Extracted
tofsee
patmushta.info
parubey.info
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 760 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xhczhnbw\ImagePath = "C:\\Windows\\SysWOW64\\xhczhnbw\\tmgscynm.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-2878641211-696417878-3864914810-1000\Control Panel\International\Geo\Nation JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe -
Deletes itself 1 IoCs
pid Process 4928 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2340 tmgscynm.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2340 set thread context of 4928 2340 tmgscynm.exe 104 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3328 sc.exe 1568 sc.exe 4060 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 3 IoCs
pid pid_target Process procid_target 4440 2892 WerFault.exe 84 3928 2892 WerFault.exe 84 4812 2340 WerFault.exe 95 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language tmgscynm.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2892 wrote to memory of 2528 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 85 PID 2892 wrote to memory of 2528 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 85 PID 2892 wrote to memory of 2528 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 85 PID 2892 wrote to memory of 2204 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 87 PID 2892 wrote to memory of 2204 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 87 PID 2892 wrote to memory of 2204 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 87 PID 2892 wrote to memory of 3328 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 89 PID 2892 wrote to memory of 3328 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 89 PID 2892 wrote to memory of 3328 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 89 PID 2892 wrote to memory of 1568 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 91 PID 2892 wrote to memory of 1568 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 91 PID 2892 wrote to memory of 1568 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 91 PID 2892 wrote to memory of 4060 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 93 PID 2892 wrote to memory of 4060 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 93 PID 2892 wrote to memory of 4060 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 93 PID 2892 wrote to memory of 760 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 96 PID 2892 wrote to memory of 760 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 96 PID 2892 wrote to memory of 760 2892 JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe 96 PID 2340 wrote to memory of 4928 2340 tmgscynm.exe 104 PID 2340 wrote to memory of 4928 2340 tmgscynm.exe 104 PID 2340 wrote to memory of 4928 2340 tmgscynm.exe 104 PID 2340 wrote to memory of 4928 2340 tmgscynm.exe 104 PID 2340 wrote to memory of 4928 2340 tmgscynm.exe 104
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2892 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xhczhnbw\2⤵
- System Location Discovery: System Language Discovery
PID:2528
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tmgscynm.exe" C:\Windows\SysWOW64\xhczhnbw\2⤵
- System Location Discovery: System Language Discovery
PID:2204
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xhczhnbw binPath= "C:\Windows\SysWOW64\xhczhnbw\tmgscynm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3328
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xhczhnbw "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1568
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xhczhnbw2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4060
-
-
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:760
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2892 -s 6562⤵
- Program crash
PID:4440
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2892 -s 7882⤵
- Program crash
PID:3928
-
-
C:\Windows\SysWOW64\xhczhnbw\tmgscynm.exeC:\Windows\SysWOW64\xhczhnbw\tmgscynm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_78a529d7e685e6ae4c78c54e7638a607abc7684bf6b165b12c67d337047ee714.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2340 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4928
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 5082⤵
- Program crash
PID:4812
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2892 -ip 28921⤵PID:3764
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 2892 -ip 28921⤵PID:216
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 2340 -ip 23401⤵PID:2640
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.9MB
MD5b93044b8613ca55723394f3c5a31d120
SHA10cef156a8d7ebc94d1864878684668169520ba2a
SHA256ef77c6b82cb3aa04d8036bac2f57219a7a7adc83318467c863d3f2e24495292e
SHA512bf25a606bcd769a4b5e34da15b37f541f025dca3bb8dcd03accc0dd20e65f3a692ccdd4851dc9e85ebccd3f4d95474f50c16ab8d2c2a97d1edce67ed12b64742