Analysis
-
max time kernel
146s -
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
02-11-2024 21:52
Static task
static1
Behavioral task
behavioral1
Sample
87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe
-
Size
14.6MB
-
MD5
87f88fbd6fc1edef8d83bfaaee8f53fe
-
SHA1
27509f29c2b3b490cf2a7322f7f2cd828806c88f
-
SHA256
d1b6ff4842c5e9ed4c82f2cc8abb8c449896dd3316be09c2ad8a8e64418480d0
-
SHA512
08edb0c2a5be848dcca234d3f5f2df9c7ff85b54e2ec7a2ba9ed43dd0b7e7e00ad7b06eaba3b34253ef6c852596f1dbca9aaca3d5a5029585748a094a6bc9c72
-
SSDEEP
12288:eZlC6v/5oQU6buXH53333333333333333333333333333333333333333333333H:ebjvluXH
Malware Config
Extracted
tofsee
defeatwax.ru
refabyd.info
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 1480 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
Processes:
svchost.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\ukvwcbns\ImagePath = "C:\\Windows\\SysWOW64\\ukvwcbns\\mpiqoqyi.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 1896 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
mpiqoqyi.exepid process 2172 mpiqoqyi.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
mpiqoqyi.exedescription pid process target process PID 2172 set thread context of 1896 2172 mpiqoqyi.exe svchost.exe -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
Processes:
sc.exesc.exesc.exepid process 4548 sc.exe 2656 sc.exe 4580 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.
Processes:
netsh.exedescription 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
Processes:
WerFault.exeWerFault.exepid pid_target process target process 3476 3852 WerFault.exe 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe 4120 2172 WerFault.exe mpiqoqyi.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.
Processes:
cmd.exesc.exenetsh.exesvchost.exe87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.execmd.exesc.exesc.exempiqoqyi.exedescription 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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.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 mpiqoqyi.exe -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exempiqoqyi.exedescription pid process target process PID 3852 wrote to memory of 3032 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe cmd.exe PID 3852 wrote to memory of 3032 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe cmd.exe PID 3852 wrote to memory of 3032 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe cmd.exe PID 3852 wrote to memory of 4684 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe cmd.exe PID 3852 wrote to memory of 4684 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe cmd.exe PID 3852 wrote to memory of 4684 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe cmd.exe PID 3852 wrote to memory of 2656 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 2656 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 2656 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 4580 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 4580 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 4580 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 4548 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 4548 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 4548 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe sc.exe PID 3852 wrote to memory of 1480 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe netsh.exe PID 3852 wrote to memory of 1480 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe netsh.exe PID 3852 wrote to memory of 1480 3852 87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe netsh.exe PID 2172 wrote to memory of 1896 2172 mpiqoqyi.exe svchost.exe PID 2172 wrote to memory of 1896 2172 mpiqoqyi.exe svchost.exe PID 2172 wrote to memory of 1896 2172 mpiqoqyi.exe svchost.exe PID 2172 wrote to memory of 1896 2172 mpiqoqyi.exe svchost.exe PID 2172 wrote to memory of 1896 2172 mpiqoqyi.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3852 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ukvwcbns\2⤵
- System Location Discovery: System Language Discovery
PID:3032
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mpiqoqyi.exe" C:\Windows\SysWOW64\ukvwcbns\2⤵
- System Location Discovery: System Language Discovery
PID:4684
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ukvwcbns binPath= "C:\Windows\SysWOW64\ukvwcbns\mpiqoqyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2656
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ukvwcbns "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4580
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ukvwcbns2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4548
-
-
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:1480
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3852 -s 6482⤵
- Program crash
PID:3476
-
-
C:\Windows\SysWOW64\ukvwcbns\mpiqoqyi.exeC:\Windows\SysWOW64\ukvwcbns\mpiqoqyi.exe /d"C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2172 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1896
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2172 -s 5602⤵
- Program crash
PID:4120
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3852 -ip 38521⤵PID:4804
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2172 -ip 21721⤵PID:4824
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
MD5b8ca87803c4528e953948ea8e5aa1783
SHA11257a171632a565c7b32d0e79c75633838e16871
SHA256703e4f8028d1020bf059446badad973988e4a63ab62d2d17a3db069e3219d42b
SHA5121c0cd101e5ea1390f267850b3fff277e1bbd92248427b550ef7a3d8fd6bca1fa9ea389a7907179ba96932ae8d95e82d3754ec3c4e62683e374a6b326b95df1dc