Analysis
-
max time kernel
145s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
06-12-2024 01:16
Static task
static1
Behavioral task
behavioral1
Sample
ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe
-
Size
205KB
-
MD5
ca529b9a36c74d66f877cf52addefab0
-
SHA1
6e932f4e2f51fa351070cf0e2c426f930da7e19b
-
SHA256
bb7552982ca26ee9cb795930acf815b60593d6705a5160c92de6f186dfef784a
-
SHA512
25921db9d542af8caa62145d43e699c095f324a1020e5fe13943748f093d165240443e2520c5e5352a171697b60f0ca73be603430cee64c8c2db1df8d3dc0239
-
SSDEEP
6144:GXkVBFAveiN7Za1NVGFdi7AEQGjCahwCrKoU:GXCYxZYsdGAHGj/XU
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 22 IoCs
resource yara_rule behavioral2/memory/3076-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3076-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3076-8-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3076-25-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-33-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-34-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-46-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-57-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-60-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-63-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-66-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-69-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-72-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-75-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-78-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-81-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-84-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2424-87-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 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 2308 mstwain32.exe 2424 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2424 mstwain32.exe 2424 mstwain32.exe 2424 mstwain32.exe 2424 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 -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA ca529b9a36c74d66f877cf52addefab0_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 1144 set thread context of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 2308 set thread context of 2424 2308 mstwain32.exe 88 -
resource yara_rule behavioral2/memory/3076-3-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3076-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3076-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3076-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3076-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3076-25-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-31-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-32-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-33-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-34-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-46-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-57-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-60-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-63-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-66-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-69-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-72-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-75-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-78-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-81-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-84-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2424-87-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.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 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ca529b9a36c74d66f877cf52addefab0_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 3076 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe Token: SeBackupPrivilege 468 vssvc.exe Token: SeRestorePrivilege 468 vssvc.exe Token: SeAuditPrivilege 468 vssvc.exe Token: SeDebugPrivilege 2424 mstwain32.exe Token: SeDebugPrivilege 2424 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 3076 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 2308 mstwain32.exe 2424 mstwain32.exe 2424 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 1144 wrote to memory of 3076 1144 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 83 PID 3076 wrote to memory of 2308 3076 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 87 PID 3076 wrote to memory of 2308 3076 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 87 PID 3076 wrote to memory of 2308 3076 ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe 87 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 mstwain32.exe 88 PID 2308 wrote to memory of 2424 2308 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\ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1144 -
C:\Users\Admin\AppData\Local\Temp\ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\ca529b9a36c74d66f877cf52addefab0_JaffaCakes118.exe"2⤵
- 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:3076 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.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:2308 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.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:2424
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:468
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
-
C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-493223053-2004649691-1575712786-1000\699c4b9cdebca7aaea5193cae8a50098_755b0f1a-bb38-4bb2-bc7e-240c892146ee
Filesize50B
MD55b63d4dd8c04c88c0e30e494ec6a609a
SHA1884d5a8bdc25fe794dc22ef9518009dcf0069d09
SHA2564d93c22555b3169e5c13716ca59b8b22892c69b3025aea841afe5259698102fd
SHA51215ff8551ac6b9de978050569bcdc26f44dfc06a0eaf445ac70fd45453a21bdafa3e4c8b4857d6a1c3226f4102a639682bdfb71d7b255062fb81a51c9126896cb
-
Filesize
32KB
MD5d4ec2ce3b40ff37e44b3400d98d520cd
SHA1d3609c9e187e4d868806629cff79a8d02831bc17
SHA2560ee80487165108540b6895f7f3fe1246c45019cba39abb848628e91e71107cae
SHA51295d132f67f65d672f0301641595ac3079c8b334a9a85577416177722092690e97f03d1cb8d53ed996d6681c92b37a67b249ff10e987eb518e3def6ff75e7bc1a
-
Filesize
205KB
MD5ca529b9a36c74d66f877cf52addefab0
SHA16e932f4e2f51fa351070cf0e2c426f930da7e19b
SHA256bb7552982ca26ee9cb795930acf815b60593d6705a5160c92de6f186dfef784a
SHA51225921db9d542af8caa62145d43e699c095f324a1020e5fe13943748f093d165240443e2520c5e5352a171697b60f0ca73be603430cee64c8c2db1df8d3dc0239
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350