Analysis
- max time kernel
117s - max time network
134s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
14/08/2024, 22:19
Static task
static1
Behavioral task
behavioral1
Sample
97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe
Resource
win7-20240708-en
General
- Target 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe
- Size 744KB
- Sample240814-18f4laycmf
- SHA256 7276e02e7aa3c712f7a946bf123bb51e6e8fb5bc29665af241346f418b31a545
- MD5 97e520729929a1fe45a2102b6fc2f79d
- SHA1 ced95f580da9ff4f407ec29cb6626c8c299af938
- SHA512 ecb567f5a56444d665aafc5e9892b95bcdcdb25e814c0669677d6420847352cae0fe5ac661008f8c41225e67bf93966aa3b7030bbc7164ed708230cf76012232
- SSDEEP 12288:fv2vH1ZUU4CB/+QntZBi8JQeQPnQJokgw31dRqfT:C1ZUUPB/Tn3B1AngH3
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
cybergate
-
2.6
-
vítima
-
192.168.1.16:81
-
5676u5X***
-
enable_keylogger
true
-
enable_message_box
false
-
ftp_directory
./logs/
-
ftp_interval
30
-
injected_process
explorer.exe
-
install_dir
spynet
-
install_file
testing.exe
-
install_flag
true
-
keylogger_enable_ftp
false
-
message_box_caption
texto da mensagem
-
message_box_title
título da mensagem
-
password
abcd1234
-
regkey_hkcu
HKCU
-
regkey_hklm
HKLM
Signatures
- Adds policy Run key to start application 2 TTPs 4 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run\Policies = "c:\\dir\\install\\spynet\\testing.exe" 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run\Policies = "c:\\dir\\install\\spynet\\testing.exe" 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key created \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe - Boot or Logon Autostart Execution: Active Setup 2 TTPs 2 IoCs
Adversaries may achieve persistence by adding a Registry key to the Active Setup of the local machine.
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Active Setup\Installed Components\{QPJ30LO5-Y2FV-1NR0-764V-4Y6F6PV5HO57}\StubPath = "c:\\dir\\install\\spynet\\testing.exe Restart" 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key created \REGISTRY\MACHINE\Software\WOW6432Node\Microsoft\Active Setup\Installed Components\{QPJ30LO5-Y2FV-1NR0-764V-4Y6F6PV5HO57} 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.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-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe - Executes dropped EXE 1 IoCs
pid Process 4948 testing.exe - Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\HKLM = "c:\\dir\\install\\spynet\\testing.exe" 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\HKCU = "c:\\dir\\install\\spynet\\testing.exe" 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe - Maps connected drives based on registry 3 TTPs 4 IoCs
Disk information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum testing.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 testing.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1496 set thread context of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- System Location Discovery: System Language Discovery 1 TTPs 3 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 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language testing.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 4948 testing.exe 4948 testing.exe - Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 4948 testing.exe - Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 1496 wrote to memory of 2800 1496 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 84 PID 2800 wrote to memory of 4948 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 88 PID 2800 wrote to memory of 4948 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 88 PID 2800 wrote to memory of 4948 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 88 PID 2800 wrote to memory of 3424 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 56 PID 2800 wrote to memory of 3424 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 56 PID 2800 wrote to memory of 3424 2800 97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe 56
Processes
-
C:\Windows\Explorer.EXEC:\Windows\Explorer.EXE1⤵PID:3424
-
C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe"2⤵
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1496 -
C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe"3⤵
- Adds policy Run key to start application
- Boot or Logon Autostart Execution: Active Setup
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:2800 -
C:\dir\install\spynet\testing.exe"C:\dir\install\spynet\testing.exe"4⤵
- Executes dropped EXE
- Maps connected drives based on registry
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of SetWindowsHookEx
PID:4948
-
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
3Active Setup
1Registry Run Keys / Startup Folder
2Privilege Escalation
Boot or Logon Autostart Execution
3Active Setup
1Registry Run Keys / Startup Folder
2Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\dir\install\spynet\testing.exe
- Size 744KB
- SHA256 7276e02e7aa3c712f7a946bf123bb51e6e8fb5bc29665af241346f418b31a545
- MD5 97e520729929a1fe45a2102b6fc2f79d
- SHA1 ced95f580da9ff4f407ec29cb6626c8c299af938
- SHA512 ecb567f5a56444d665aafc5e9892b95bcdcdb25e814c0669677d6420847352cae0fe5ac661008f8c41225e67bf93966aa3b7030bbc7164ed708230cf76012232
- SSDEEP 12288:fv2vH1ZUU4CB/+QntZBi8JQeQPnQJokgw31dRqfT:C1ZUUPB/Tn3B1AngH3
- MD5 SHA1 SHA512 SSDEEP