Analysis
-
max time kernel
143s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
21-01-2025 09:54
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe
-
Size
256KB
-
MD5
03b9671be7d36d355c365e01b91c4ec6
-
SHA1
7b3a1acdee78ab20271757218166319b13def4f4
-
SHA256
ae28321888cc6214ceb5bbeb42ed2d37a38e3f2316f25076506b70fc9fd1a59f
-
SHA512
eba21e8975c3d9ee45221e8ed309ab29ce88872ad664026db8e01888b92954471f9594f0d552e9e632bf54a5afd02b763961d47e70ddf0e0660099af531fba52
-
SSDEEP
3072:r2Ut9IeAwf0RMEIVTpfEIEdaVo8TcWky4w6Y6J69fa8ew5vG8cXJ4OSqAy2IYjYl:r7tfqixJaQ37XqlTL4mLHZBWpnCUbQf
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
UAC bypass 3 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 22 IoCs
resource yara_rule behavioral1/memory/1780-13-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1780-12-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1780-24-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-39-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-41-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-40-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-49-0x0000000076490000-0x0000000076580000-memory.dmp modiloader_stage2 behavioral1/memory/2976-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-51-0x0000000076490000-0x0000000076580000-memory.dmp modiloader_stage2 behavioral1/memory/2976-52-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-59-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-62-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-65-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-69-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-72-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-75-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-78-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-81-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-84-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-87-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2976-90-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 1192 mstwain32.exe 2976 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3533259084-2542256011-65585152-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Checks whether UAC is enabled 1 TTPs 3 IoCs
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 768 set thread context of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 1192 set thread context of 2976 1192 mstwain32.exe 35 -
resource yara_rule behavioral1/memory/1780-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-10-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-11-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-13-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-12-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1780-24-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-39-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-38-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-37-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-40-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-51-0x0000000076490000-0x0000000076580000-memory.dmp upx behavioral1/memory/2976-52-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-59-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-62-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-65-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-69-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-72-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-75-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-78-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-81-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-84-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-87-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2976-90-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe File opened for modification C:\Windows\mstwain32.exe mstwain32.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 4 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 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 1780 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe Token: SeBackupPrivilege 2336 vssvc.exe Token: SeRestorePrivilege 2336 vssvc.exe Token: SeAuditPrivilege 2336 vssvc.exe Token: SeDebugPrivilege 2976 mstwain32.exe Token: SeDebugPrivilege 2976 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 1192 mstwain32.exe 2976 mstwain32.exe 2976 mstwain32.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 768 wrote to memory of 1780 768 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 30 PID 1780 wrote to memory of 1192 1780 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 34 PID 1780 wrote to memory of 1192 1780 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 34 PID 1780 wrote to memory of 1192 1780 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 34 PID 1780 wrote to memory of 1192 1780 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 34 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 PID 1192 wrote to memory of 2976 1192 mstwain32.exe 35 -
System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:768 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1780 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1192 -
C:\Windows\mstwain32.exe\melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe"4⤵
- UAC bypass
- Executes dropped EXE
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:2976
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2336
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Impair Defenses
1Disable or Modify Tools
1Modify Registry
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
256KB
MD503b9671be7d36d355c365e01b91c4ec6
SHA17b3a1acdee78ab20271757218166319b13def4f4
SHA256ae28321888cc6214ceb5bbeb42ed2d37a38e3f2316f25076506b70fc9fd1a59f
SHA512eba21e8975c3d9ee45221e8ed309ab29ce88872ad664026db8e01888b92954471f9594f0d552e9e632bf54a5afd02b763961d47e70ddf0e0660099af531fba52