Analysis
-
max time kernel
146s -
max time network
147s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
02-01-2025 09:24
Behavioral task
behavioral1
Sample
JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe
-
Size
1.1MB
-
MD5
64179b788070c7a749e61ac5d2eb98b7
-
SHA1
041d870e8d00b235dab5a0772266deec5addc5cd
-
SHA256
f43212082d07918ce844db135899ab0d9b55690a60e0543764e54f1c19197311
-
SHA512
dd19d4ceb4ec81cd0ef886bb8f15af7cd8e93e413f06b8a28f01bf4ac695effd5560c7d821bf42e3c43e550cea5b02a5aa936b13e4c5d022fc5dc7d41465b4f2
-
SSDEEP
24576:AS2Vp6RwTVJvHB71ZuWASuMinP+rTc8+RCLhNvq:Kp6STVdh7TdASKP+rTc82C1NS
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 16 IoCs
resource yara_rule behavioral2/files/0x000d000000023b6e-4.dat modiloader_stage2 behavioral2/memory/1692-8-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-24-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-27-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-30-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-33-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-36-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-39-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-42-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-45-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-48-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-51-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-54-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-57-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-60-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4384-63-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-493223053-2004649691-1575712786-1000\Control Panel\International\Geo\Nation JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe -
Deletes itself 1 IoCs
pid Process 4384 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 4384 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4384 mstwain32.exe 4384 mstwain32.exe 4384 mstwain32.exe 4384 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 JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.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 -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.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 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_64179b788070c7a749e61ac5d2eb98b7.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1692 JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe Token: SeDebugPrivilege 4384 mstwain32.exe Token: SeDebugPrivilege 4384 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 4384 mstwain32.exe 4384 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 1692 wrote to memory of 4384 1692 JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe 83 PID 1692 wrote to memory of 4384 1692 JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe 83 PID 1692 wrote to memory of 4384 1692 JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe 83 -
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
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe"1⤵
- 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:1692 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_64179b788070c7a749e61ac5d2eb98b7.exe"2⤵
- UAC bypass
- Deletes itself
- 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:4384
-
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
33KB
MD51d5c883679268cd0e9252a58fec06f04
SHA1ce3d4d9f17beb79c47267d3dd44c140597216f75
SHA256196da6f19d57f6b0d9efc7082a965a38af750b7b9ec9a8a8a0bc13055037b435
SHA51253cfa39eb67f5e95715ed449fbae02cdff945fb7ddaba2218c265db9e8d6158cacfed15823cbf20222563a247d3910e86b6738c47e2845641b860766984ed294
-
Filesize
1.1MB
MD564179b788070c7a749e61ac5d2eb98b7
SHA1041d870e8d00b235dab5a0772266deec5addc5cd
SHA256f43212082d07918ce844db135899ab0d9b55690a60e0543764e54f1c19197311
SHA512dd19d4ceb4ec81cd0ef886bb8f15af7cd8e93e413f06b8a28f01bf4ac695effd5560c7d821bf42e3c43e550cea5b02a5aa936b13e4c5d022fc5dc7d41465b4f2
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350