Analysis
-
max time kernel
145s -
max time network
20s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
23/01/2025, 18:50
Behavioral task
behavioral1
Sample
JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe
-
Size
978KB
-
MD5
1a1f85cc49b477a4dadfeb0052be0f82
-
SHA1
fcf96d2f2f291bdc429c26c07118d5fdb053018b
-
SHA256
e94c6c3d999695275cad377fa980d1217e60af88aa16ef0f75b749e4fda5aa69
-
SHA512
4d7693177430784ace62e6f3cd1db62d5c0898aa9bb9ec3bb1989c2a5863601aacc47b833a751d9d38201a8510127776651b683d0b4b8840c4b52db684b96ac5
-
SSDEEP
24576:IAnhkffi6tn7qBC9aiu5zu3C+KycgN+YxZyu/f3rm94:IAhyttV6nHycg8Yzrm9
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 34 IoCs
resource yara_rule behavioral1/memory/2736-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2736-2-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-3-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-4-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-5-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-6-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-8-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-7-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-9-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/2736-21-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-23-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-26-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-29-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-30-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-31-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-32-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-33-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-36-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-37-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-38-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-40-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-42-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-43-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-45-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-47-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-50-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-52-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-54-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-56-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-58-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-60-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-62-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-64-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 behavioral1/memory/1512-66-0x0000000000400000-0x00000000005B8000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 1512 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 1512 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 2 IoCs
Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-1000\Software\Wine JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe Key opened \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-1000\Software\Wine mstwain32.exe -
resource yara_rule behavioral1/memory/2736-0-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-2-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-3-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-4-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-5-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-6-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-8-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-7-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/2736-9-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/files/0x00060000000055d7-18.dat themida behavioral1/memory/2736-21-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-20-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-23-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-26-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-29-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-30-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-31-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-32-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-33-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-36-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-37-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-38-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-40-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-42-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-43-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-45-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-47-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-50-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-52-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-54-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-56-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-58-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-60-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-62-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-64-0x0000000000400000-0x00000000005B8000-memory.dmp themida behavioral1/memory/1512-66-0x0000000000400000-0x00000000005B8000-memory.dmp themida -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-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 mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe 1512 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.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 2 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_1a1f85cc49b477a4dadfeb0052be0f82.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe 1512 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe Token: SeBackupPrivilege 1452 vssvc.exe Token: SeRestorePrivilege 1452 vssvc.exe Token: SeAuditPrivilege 1452 vssvc.exe Token: SeDebugPrivilege 1512 mstwain32.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1512 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2736 wrote to memory of 1512 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe 33 PID 2736 wrote to memory of 1512 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe 33 PID 2736 wrote to memory of 1512 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe 33 PID 2736 wrote to memory of 1512 2736 JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe 33 -
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_1a1f85cc49b477a4dadfeb0052be0f82.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe"1⤵
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2736 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1a1f85cc49b477a4dadfeb0052be0f82.exe"2⤵
- UAC bypass
- Deletes itself
- Executes dropped EXE
- Identifies Wine through registry keys
- Adds Run key to start application
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:1512
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1452
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
3Virtualization/Sandbox Evasion
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
978KB
MD51a1f85cc49b477a4dadfeb0052be0f82
SHA1fcf96d2f2f291bdc429c26c07118d5fdb053018b
SHA256e94c6c3d999695275cad377fa980d1217e60af88aa16ef0f75b749e4fda5aa69
SHA5124d7693177430784ace62e6f3cd1db62d5c0898aa9bb9ec3bb1989c2a5863601aacc47b833a751d9d38201a8510127776651b683d0b4b8840c4b52db684b96ac5