Analysis
-
max time kernel
150s -
max time network
160s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
15-12-2024 12:00
Static task
static1
Behavioral task
behavioral1
Sample
f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe
-
Size
590KB
-
MD5
f3e5ff58e0e0e8744ec917e88ba6eed9
-
SHA1
031f392e2362432bfd1cc4a9d506a35ef1dfeb9c
-
SHA256
cbe95a72e8c326113e7e5d8af4c8e31767acf6a13eb9bf58b4529eaa398bc404
-
SHA512
01b6360ba1c699d5d1d4c1d1737581124a4cec0fdf9039e004c2b1b8dbca6d8723c5606300249d04ad6ec44d0a8bd047b7030323a2b704489bd91a2ac4c6bd0c
-
SSDEEP
12288:U1FIAhwASC2AFCYG9+LbRQ+RhKr5rZnlB15A4wJ2/F:8r2ASCt7vJQ+RhKNJlWd29
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 7 IoCs
resource yara_rule behavioral2/memory/220-5-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/220-6-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/220-17-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/2932-24-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/2932-25-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/2932-26-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/2932-39-0x0000000000400000-0x0000000000451000-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 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 4088 mstwain32.exe 2932 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2932 mstwain32.exe 2932 mstwain32.exe 2932 mstwain32.exe 2932 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 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.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 3092 set thread context of 220 3092 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 82 PID 4088 set thread context of 2932 4088 mstwain32.exe 87 -
resource yara_rule behavioral2/memory/220-1-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/220-4-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/220-5-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/220-6-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/220-17-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/2932-22-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/2932-24-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/2932-25-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/2932-26-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/2932-39-0x0000000000400000-0x0000000000451000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.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 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.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 220 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe Token: SeBackupPrivilege 336 vssvc.exe Token: SeRestorePrivilege 336 vssvc.exe Token: SeAuditPrivilege 336 vssvc.exe Token: SeDebugPrivilege 2932 mstwain32.exe Token: SeDebugPrivilege 2932 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2932 mstwain32.exe 2932 mstwain32.exe -
Suspicious use of WriteProcessMemory 13 IoCs
description pid Process procid_target PID 3092 wrote to memory of 220 3092 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 82 PID 3092 wrote to memory of 220 3092 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 82 PID 3092 wrote to memory of 220 3092 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 82 PID 3092 wrote to memory of 220 3092 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 82 PID 3092 wrote to memory of 220 3092 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 82 PID 220 wrote to memory of 4088 220 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 86 PID 220 wrote to memory of 4088 220 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 86 PID 220 wrote to memory of 4088 220 f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe 86 PID 4088 wrote to memory of 2932 4088 mstwain32.exe 87 PID 4088 wrote to memory of 2932 4088 mstwain32.exe 87 PID 4088 wrote to memory of 2932 4088 mstwain32.exe 87 PID 4088 wrote to memory of 2932 4088 mstwain32.exe 87 PID 4088 wrote to memory of 2932 4088 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\f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3092 -
C:\Users\Admin\AppData\Local\Temp\f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.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:220 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\f3e5ff58e0e0e8744ec917e88ba6eed9_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4088 -
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:2932
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:336
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
MD5a03d77e830fd1450577d31232e455430
SHA10f4ae99a4b6a85f0647fbddfa8d07ef0f49a5022
SHA256d8326cd8174926c737b6fd9986052db7b19251d4726ea20700b1014ed03924fa
SHA5122a9334572e3f835b63a52afdfb5e9dbf2fb749842118508260df93046fddda7d41ae95ba85fe0066836fd26e32058b81b435d04995516fecb762852a53037420
-
Filesize
590KB
MD5f3e5ff58e0e0e8744ec917e88ba6eed9
SHA1031f392e2362432bfd1cc4a9d506a35ef1dfeb9c
SHA256cbe95a72e8c326113e7e5d8af4c8e31767acf6a13eb9bf58b4529eaa398bc404
SHA51201b6360ba1c699d5d1d4c1d1737581124a4cec0fdf9039e004c2b1b8dbca6d8723c5606300249d04ad6ec44d0a8bd047b7030323a2b704489bd91a2ac4c6bd0c
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350