Analysis
-
max time kernel
150s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
12-01-2025 22:06
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe
-
Size
146KB
-
MD5
19787f3a4c80689f750b4538c090b679
-
SHA1
0151e05a93dd4342575060b067350a05149ae7a6
-
SHA256
aecb2ddb8f4263ee7f7be40aa7eb3c1f3553a97c57fef595bf88b05bbd798533
-
SHA512
be20cbeaef5252b480e1b8de6fd4767fc9b671782ba0341e093840770e7bc0c1a417e22aa3fde139432000780683b7ccd023bc5c50c16351b48e42739c024680
-
SSDEEP
3072:LvaDb3CwdRvCwCcGZZ+dq4lUDtmEV9pTSf1dGmkP7Us43vErW7I5YhP:LiDbTjhG7+dq4lUDtv7pTC1n9vsWki9
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/4112-8-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/4112-9-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/4112-10-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/4112-24-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-32-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-31-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-35-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-47-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-48-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-51-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-52-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-55-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-58-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-61-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-64-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-67-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-70-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-73-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-76-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-79-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-82-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-85-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/3196-88-0x0000000000400000-0x000000000044F000-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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe -
Executes dropped EXE 2 IoCs
pid Process 4876 mstwain32.exe 3196 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 3196 mstwain32.exe 3196 mstwain32.exe 3196 mstwain32.exe 3196 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-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 JaffaCakes118_19787f3a4c80689f750b4538c090b679.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 4716 set thread context of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4876 set thread context of 3196 4876 mstwain32.exe 93 -
resource yara_rule behavioral2/memory/4112-3-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/4112-5-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/4112-8-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/4112-9-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/4112-10-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/4112-24-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-30-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-32-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-31-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-35-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-47-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-48-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-51-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-52-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-55-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-58-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-61-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-64-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-67-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-70-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-73-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-76-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-79-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-82-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-85-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/3196-88-0x0000000000400000-0x000000000044F000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_19787f3a4c80689f750b4538c090b679.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 mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4112 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe Token: SeBackupPrivilege 2432 vssvc.exe Token: SeRestorePrivilege 2432 vssvc.exe Token: SeAuditPrivilege 2432 vssvc.exe Token: SeDebugPrivilege 3196 mstwain32.exe Token: SeDebugPrivilege 3196 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 4112 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 4876 mstwain32.exe 3196 mstwain32.exe 3196 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4716 wrote to memory of 4112 4716 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 83 PID 4112 wrote to memory of 4876 4112 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 89 PID 4112 wrote to memory of 4876 4112 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 89 PID 4112 wrote to memory of 4876 4112 JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe 89 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 PID 4876 wrote to memory of 3196 4876 mstwain32.exe 93 -
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_19787f3a4c80689f750b4538c090b679.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_19787f3a4c80689f750b4538c090b679.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4716 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_19787f3a4c80689f750b4538c090b679.exeC:\Users\Admin\AppData\Local\Temp\JaffaCakes118_19787f3a4c80689f750b4538c090b679.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:4112 -
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:4876 -
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:3196
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2432
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
32KB
MD56d34a0ad3a04d997aa1f894453cc2ec1
SHA17a6e56be3c2ceb4df37003c70c370ec9614a2d70
SHA25680bfba133513672caed60332824852006c2a23ba2d028ae7a83b7684ace8dfa7
SHA512dfd3fa5006c51b01dca394e637808928a43daa7ad9c6e7ba0ec284eb629767c52c38aa3caeeba61f5c23e6d02908aad904d597f24495e3719f10de3052db872c
-
Filesize
146KB
MD519787f3a4c80689f750b4538c090b679
SHA10151e05a93dd4342575060b067350a05149ae7a6
SHA256aecb2ddb8f4263ee7f7be40aa7eb3c1f3553a97c57fef595bf88b05bbd798533
SHA512be20cbeaef5252b480e1b8de6fd4767fc9b671782ba0341e093840770e7bc0c1a417e22aa3fde139432000780683b7ccd023bc5c50c16351b48e42739c024680
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350