Analysis
-
max time kernel
150s -
max time network
156s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
31/12/2024, 04:27
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe
-
Size
149KB
-
MD5
0497edad198cee5945d03ef3dcd13e49
-
SHA1
0f959b05f8e28392ed7c3f53a4cdc9254c714307
-
SHA256
f4f31ff44c3073adb53801d268a9db8a51b628530af549c4d8b0bf3ab1cd3e67
-
SHA512
98dffbdfea9c778a20d9e77a7f5fed372b8914742143dc5779ca526b9f3a472b6aafce079ffa5f587f93536d8e85a3793ccdf798d2f741e1a1e5cef28891b510
-
SSDEEP
3072:CQB0zCOqle2lo1UllnCKgP70dC/gBV6e9n:AzKJ+1UnCKZE/gBV6e9n
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 23 IoCs
resource yara_rule behavioral2/memory/3212-5-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3212-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3212-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3212-19-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-26-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-27-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-28-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-40-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-41-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-57-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-60-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-63-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-66-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-69-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-72-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-75-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-78-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/5004-81-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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe -
Executes dropped EXE 2 IoCs
pid Process 5116 mstwain32.exe 5004 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 5004 mstwain32.exe 5004 mstwain32.exe 5004 mstwain32.exe 5004 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.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 -
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 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum mstwain32.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 4488 set thread context of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 5116 set thread context of 5004 5116 mstwain32.exe 87 -
resource yara_rule behavioral2/memory/3212-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3212-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3212-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3212-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3212-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3212-19-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-25-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-26-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-27-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-40-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-57-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-60-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-63-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-66-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-69-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-72-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-75-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-78-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/5004-81-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.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_0497edad198cee5945d03ef3dcd13e49.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.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 3212 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe Token: SeBackupPrivilege 3076 vssvc.exe Token: SeRestorePrivilege 3076 vssvc.exe Token: SeAuditPrivilege 3076 vssvc.exe Token: SeDebugPrivilege 5004 mstwain32.exe Token: SeDebugPrivilege 5004 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 5116 mstwain32.exe 5004 mstwain32.exe 5004 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 4488 wrote to memory of 3212 4488 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 82 PID 3212 wrote to memory of 5116 3212 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 86 PID 3212 wrote to memory of 5116 3212 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 86 PID 3212 wrote to memory of 5116 3212 JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe 86 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 PID 5116 wrote to memory of 5004 5116 mstwain32.exe 87 -
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_0497edad198cee5945d03ef3dcd13e49.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe"1⤵
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4488 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exeC:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe2⤵
- 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:3212 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0497edad198cee5945d03ef3dcd13e49.exe"3⤵
- Executes dropped EXE
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:5116 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- 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:5004
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3076
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
MD57c930c2ab56b526187f01d2f2be65561
SHA18571fefff7c8f672d5a9d9b32e1114ec476fd155
SHA2567552d0de599d59ffe89183f67c5a485740c3dc47dca4c97b25c7ee63cdf3e195
SHA5120558d2d04b866bcde5ebe8632ba2b9d02241148d0367790fc663eb9f1288e27f48a34d7386da2574ada15d2efa0e495e6ff0f5b0241c30b91e132fe67bbdb7e7
-
Filesize
149KB
MD50497edad198cee5945d03ef3dcd13e49
SHA10f959b05f8e28392ed7c3f53a4cdc9254c714307
SHA256f4f31ff44c3073adb53801d268a9db8a51b628530af549c4d8b0bf3ab1cd3e67
SHA51298dffbdfea9c778a20d9e77a7f5fed372b8914742143dc5779ca526b9f3a472b6aafce079ffa5f587f93536d8e85a3793ccdf798d2f741e1a1e5cef28891b510
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350