Analysis
-
max time kernel
148s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
11-12-2024 20:15
Static task
static1
Behavioral task
behavioral1
Sample
e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe
-
Size
308KB
-
MD5
e30c45beea71d3cd5e8a328f1b31fcf0
-
SHA1
9f582648b3196d69d4b98734803ee4f185e67b45
-
SHA256
f51eab6de9a0efc1b49d6a43a5a669918c7726f13eb7fd72e6c8746039f386e4
-
SHA512
79eaaae566ac3ef1e04778d7ac187887d20ebf9e5a7517c8bc0245b84f39511c6f6c84c43eede8a8f1610dcd76a4604ec94790addf4406ca61878f7cb98116e1
-
SSDEEP
6144:KOYjuXZYzrFb+eayeUtwrLsjV8i7GmjnZaAWrz5o+PwaTy3X:K51zrFb+eptXJjkAWrz5f323X
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/3588-2-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3588-4-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3588-5-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3588-6-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3588-21-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-28-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-30-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-34-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-36-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-37-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-39-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-40-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-42-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-43-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-45-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-46-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/416-48-0x0000000000400000-0x000000000044B000-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 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 748 mstwain32.exe 416 mstwain32.exe -
Loads dropped DLL 1 IoCs
pid Process 416 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 e30c45beea71d3cd5e8a328f1b31fcf0_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 1236 set thread context of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 748 set thread context of 416 748 mstwain32.exe 91 -
Drops file in Windows directory 3 IoCs
description ioc Process File created C:\Windows\mstwain32.exe e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe File created C:\Windows\ntdtcstp.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 mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 3588 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe Token: SeBackupPrivilege 2204 vssvc.exe Token: SeRestorePrivilege 2204 vssvc.exe Token: SeAuditPrivilege 2204 vssvc.exe Token: SeDebugPrivilege 416 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 3588 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 748 mstwain32.exe -
Suspicious use of WriteProcessMemory 29 IoCs
description pid Process procid_target PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 1236 wrote to memory of 3588 1236 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 82 PID 3588 wrote to memory of 748 3588 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 90 PID 3588 wrote to memory of 748 3588 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 90 PID 3588 wrote to memory of 748 3588 e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe 90 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 PID 748 wrote to memory of 416 748 mstwain32.exe 91 -
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\e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1236 -
C:\Users\Admin\AppData\Local\Temp\e30c45beea71d3cd5e8a328f1b31fcf0_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\e30c45beea71d3cd5e8a328f1b31fcf0_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 FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:3588 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:748 -
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
- System policy modification
PID:416
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2204
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
308KB
MD5e30c45beea71d3cd5e8a328f1b31fcf0
SHA19f582648b3196d69d4b98734803ee4f185e67b45
SHA256f51eab6de9a0efc1b49d6a43a5a669918c7726f13eb7fd72e6c8746039f386e4
SHA51279eaaae566ac3ef1e04778d7ac187887d20ebf9e5a7517c8bc0245b84f39511c6f6c84c43eede8a8f1610dcd76a4604ec94790addf4406ca61878f7cb98116e1
-
Filesize
40KB
MD53f689ab34ba20ffbc647f3c4ce7c9c92
SHA10275be6c5d43a4916f4b6b2b4aa06398e193206f
SHA256003eb1ba56dc99c6a6d4e8f35233edcee64aa8001ac5f7289369cae2325ff019
SHA5125336b3d410c21746a81a67c1b0da791d5592d4dc42fe559bc9b12a89b6bc6aef04b385a1566e55a7599c2489741ee7b0953f9cb0b3b5b9a9feb006678e2bdbce