Analysis
-
max time kernel
142s -
max time network
148s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
07/09/2024, 15:02
Static task
static1
Behavioral task
behavioral1
Sample
d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe
-
Size
303KB
-
MD5
d23566a393c34cf331f9ebd17c595d56
-
SHA1
0900e0a7b38b2e109291453cb415e5566c02b44c
-
SHA256
6f10da2e27df06f296652f3264f24975daf5e60f9bee874b0b45f8e19348b6ad
-
SHA512
44f139acb16bc0ca67e64c01eea367726c84118f193b6525720118f10c527082d406f1242d2265f7f1221805d40a1d44a1e2f1f05da983e214c815b4a19b64b5
-
SSDEEP
3072:+mZlKlEzDq60vSgHbem3myQ8E09JVFyqTGbN5QvuS6nqx3s5/nTZxPcSCAppuBZ8:+1bTbykdf/QcDV7NoWq+uhn1ai0YV6c
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 24 IoCs
resource yara_rule behavioral2/memory/1572-7-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/1572-8-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/1572-20-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-31-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-33-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-32-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-40-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-46-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-47-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-48-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-51-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-52-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-55-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-58-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-61-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-64-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-67-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-70-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-73-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-76-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-79-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-82-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-85-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3696-88-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-786284298-625481688-3210388970-1000\Control Panel\International\Geo\Nation d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 2944 mstwain32.exe 3696 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 3696 mstwain32.exe 3696 mstwain32.exe 3696 mstwain32.exe 3696 mstwain32.exe -
resource yara_rule behavioral2/memory/1572-4-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/1572-6-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/1572-7-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/1572-8-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/1572-20-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-30-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-31-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-33-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-32-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-40-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-46-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-47-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-48-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-51-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-52-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-55-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-58-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-61-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-64-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-67-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-70-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-73-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-76-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-79-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-82-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-85-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3696-88-0x0000000000400000-0x0000000000451000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-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 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 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2888 set thread context of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2944 set thread context of 3696 2944 mstwain32.exe 91 -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe d23566a393c34cf331f9ebd17c595d56_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 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 1572 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe Token: SeBackupPrivilege 2348 vssvc.exe Token: SeRestorePrivilege 2348 vssvc.exe Token: SeAuditPrivilege 2348 vssvc.exe Token: SeDebugPrivilege 3696 mstwain32.exe Token: SeDebugPrivilege 3696 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 2944 mstwain32.exe 3696 mstwain32.exe 3696 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 2888 wrote to memory of 1572 2888 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 84 PID 1572 wrote to memory of 2944 1572 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 90 PID 1572 wrote to memory of 2944 1572 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 90 PID 1572 wrote to memory of 2944 1572 d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe 90 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 mstwain32.exe 91 PID 2944 wrote to memory of 3696 2944 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\d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2888 -
C:\Users\Admin\AppData\Local\Temp\d23566a393c34cf331f9ebd17c595d56_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d23566a393c34cf331f9ebd17c595d56_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 WriteProcessMemory
PID:1572 -
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:2944 -
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:3696
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2348
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-786284298-625481688-3210388970-1000\88603cb2913a7df3fbd16b5f958e6447_1b74ca46-c49b-4c52-a57d-8cd1ff70c625
Filesize51B
MD55fc2ac2a310f49c14d195230b91a8885
SHA190855cc11136ba31758fe33b5cf9571f9a104879
SHA256374e0e2897a7a82e0e44794cad89df0f3cdd7703886239c1fe06d625efd48092
SHA512ab46554df9174b9fe9beba50a640f67534c3812f64d96a1fb8adfdc136dfe730ca2370825cd45b7f87a544d6a58dd868cb5a3a7f42e2789f6d679dbc0fdd52c3
-
Filesize
33KB
MD5562ff86a49c0fa6b9c0f9db2dda35bf3
SHA1fda7969f4083584a70d88c3b77eee65aedcbd04e
SHA2566c93ba445c632738db40735e46dd417de14b0af6d18478334e0f8342d6a0b978
SHA5122336b459f46919430bab8d3a26ddacc159283bbe6a072c785e923d9f699ccb1cee7d911bd62d952e38bd1191dbf6f6276f27fa145a4f08091bb3a39838d0696e
-
Filesize
303KB
MD5d23566a393c34cf331f9ebd17c595d56
SHA10900e0a7b38b2e109291453cb415e5566c02b44c
SHA2566f10da2e27df06f296652f3264f24975daf5e60f9bee874b0b45f8e19348b6ad
SHA51244f139acb16bc0ca67e64c01eea367726c84118f193b6525720118f10c527082d406f1242d2265f7f1221805d40a1d44a1e2f1f05da983e214c815b4a19b64b5
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350