Analysis
-
max time kernel
145s -
max time network
147s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-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 24 IoCs
resource yara_rule behavioral2/memory/1552-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1552-5-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1552-18-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-28-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-37-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-43-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-49-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-52-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-58-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-61-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-64-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4416-85-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
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-493223053-2004649691-1575712786-1000\Control Panel\International\Geo\Nation JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe -
Executes dropped EXE 2 IoCs
pid Process 4852 mstwain32.exe 4416 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4416 mstwain32.exe 4416 mstwain32.exe 4416 mstwain32.exe 4416 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-493223053-2004649691-1575712786-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 668 set thread context of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 4852 set thread context of 4416 4852 mstwain32.exe 88 -
resource yara_rule behavioral2/memory/1552-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1552-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1552-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1552-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1552-18-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-27-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-37-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-43-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-49-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-52-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-58-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-61-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-64-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4416-85-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 1552 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe Token: SeBackupPrivilege 4496 vssvc.exe Token: SeRestorePrivilege 4496 vssvc.exe Token: SeAuditPrivilege 4496 vssvc.exe Token: SeDebugPrivilege 4416 mstwain32.exe Token: SeDebugPrivilege 4416 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 4852 mstwain32.exe 4416 mstwain32.exe 4416 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 668 wrote to memory of 1552 668 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 83 PID 1552 wrote to memory of 4852 1552 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 87 PID 1552 wrote to memory of 4852 1552 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 87 PID 1552 wrote to memory of 4852 1552 JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe 87 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 PID 4852 wrote to memory of 4416 4852 mstwain32.exe 88 -
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:668 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe
- Checks computer location settings
- 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:1552 -
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:4852 -
C:\Windows\mstwain32.exe\melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03b9671be7d36d355c365e01b91c4ec6.exe"4⤵
- UAC bypass
- Executes dropped EXE
- Loads dropped DLL
- 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:4416
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4496
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
33KB
MD5d2b20db3f5352befbf6d2a38f3dd8d5c
SHA125cdc577ac81bca03def5b34916d4ffd81444604
SHA256ef61b13e879b9ddacff5a073a53640b485951931fc68c6399fa6ffacaa91c5f6
SHA512474a35c11a80f6bfb3718a520b89f8d747f4ac1e0ca9bda66c34a0692e08d8e0d4841c1931035faa4ccebc14fa26dac660331278d4a0696b59d8704092771435
-
Filesize
256KB
MD503b9671be7d36d355c365e01b91c4ec6
SHA17b3a1acdee78ab20271757218166319b13def4f4
SHA256ae28321888cc6214ceb5bbeb42ed2d37a38e3f2316f25076506b70fc9fd1a59f
SHA512eba21e8975c3d9ee45221e8ed309ab29ce88872ad664026db8e01888b92954471f9594f0d552e9e632bf54a5afd02b763961d47e70ddf0e0660099af531fba52
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350