Analysis
-
max time kernel
155s -
max time network
162s -
platform
windows10-2004_x64 -
resource
win10v2004-20240412-en -
resource tags
arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system -
submitted
19-04-2024 08:19
Static task
static1
Behavioral task
behavioral1
Sample
f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe
Resource
win10v2004-20240412-en
General
-
Target
f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe
-
Size
10.8MB
-
MD5
f9e4d29cbf1383086b1eeac1cee11bcc
-
SHA1
76011bf992a5c81d5b24842358f72144b2d221c4
-
SHA256
de8a8858b5540698142f413e8990070ce478c2d314f4e61c32496e9eff9a31bf
-
SHA512
30b3ecbfa24d685f6e99babc58f4af7ed3b966c3e5659843a5fc52a1c60a46645247c38a67674ad5bac2c37797f5de2f5aacb20d75c9726cdf1d3b57b5865348
-
SSDEEP
12288:BVkuScTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTE:BVX
Malware Config
Extracted
tofsee
defeatwax.ru
refabyd.info
Signatures
-
Creates new service(s) 1 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 2572 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\hpxrynbd\ImagePath = "C:\\Windows\\SysWOW64\\hpxrynbd\\zgjhiiym.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1826666146-2574340311-1877551059-1000\Control Panel\International\Geo\Nation f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 4040 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
zgjhiiym.exepid process 4200 zgjhiiym.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
zgjhiiym.exedescription pid process target process PID 4200 set thread context of 4040 4200 zgjhiiym.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 3796 sc.exe 4808 sc.exe 2504 sc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exezgjhiiym.exedescription pid process target process PID 3040 wrote to memory of 1256 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe cmd.exe PID 3040 wrote to memory of 1256 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe cmd.exe PID 3040 wrote to memory of 1256 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe cmd.exe PID 3040 wrote to memory of 1632 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe cmd.exe PID 3040 wrote to memory of 1632 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe cmd.exe PID 3040 wrote to memory of 1632 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe cmd.exe PID 3040 wrote to memory of 4808 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 4808 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 4808 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 2504 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 2504 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 2504 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 3796 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 3796 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 3796 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe sc.exe PID 3040 wrote to memory of 2572 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe netsh.exe PID 3040 wrote to memory of 2572 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe netsh.exe PID 3040 wrote to memory of 2572 3040 f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe netsh.exe PID 4200 wrote to memory of 4040 4200 zgjhiiym.exe svchost.exe PID 4200 wrote to memory of 4040 4200 zgjhiiym.exe svchost.exe PID 4200 wrote to memory of 4040 4200 zgjhiiym.exe svchost.exe PID 4200 wrote to memory of 4040 4200 zgjhiiym.exe svchost.exe PID 4200 wrote to memory of 4040 4200 zgjhiiym.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3040 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpxrynbd\2⤵PID:1256
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zgjhiiym.exe" C:\Windows\SysWOW64\hpxrynbd\2⤵PID:1632
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hpxrynbd binPath= "C:\Windows\SysWOW64\hpxrynbd\zgjhiiym.exe /d\"C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:4808 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hpxrynbd "wifi internet conection"2⤵
- Launches sc.exe
PID:2504 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hpxrynbd2⤵
- Launches sc.exe
PID:3796 -
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
PID:2572
-
C:\Windows\SysWOW64\hpxrynbd\zgjhiiym.exeC:\Windows\SysWOW64\hpxrynbd\zgjhiiym.exe /d"C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4200 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:4040
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
12.9MB
MD58b27066bdf94509fe5e93fbc28c5044b
SHA1d7f5fd4eeec72b4247f1a0dff57779cf6aedeff3
SHA256fc35d3e659e9ad6049d442557a2610fcabb994f685620d698dfd35d7f3086569
SHA512fc12ac9c83e77fb72d2acd6951fa0b9f00736e5a225d1db394dcae52b3fa046d8bd7e922449b0185ee3fe195fe27a7fb54c6c4f50b359fdad268ccffd15e6a01