Analysis
-
max time kernel
147s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
22-09-2024 06:18
Behavioral task
behavioral1
Sample
f17157400e11b19195620f4199324c89_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f17157400e11b19195620f4199324c89_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f17157400e11b19195620f4199324c89_JaffaCakes118.exe
-
Size
297KB
-
MD5
f17157400e11b19195620f4199324c89
-
SHA1
60825eca1820c1bebdca713a73cbd6c59562164a
-
SHA256
bc0bb85cc583c853d80899a23f3eae8b0edb3a2105174f1fc0faaedc226a6f55
-
SHA512
b8937164873191864939e750f21522bad939bb6195675809550d0dd8db98c7995f4c49302b314f246e2d4b05100719ec8553b20167b50216f1d3b509b3ebfddc
-
SSDEEP
6144:PG377xS2Vp2CeiorXdwTBgWx4W153RpcCJJvH1:ur7xS2Vp6RwTyCTbJJvH1
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 16 IoCs
resource yara_rule behavioral2/files/0x0008000000023501-5.dat modiloader_stage2 behavioral2/memory/5112-10-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-26-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-29-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-32-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-35-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-38-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-41-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-44-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-47-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-50-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-53-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-56-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-59-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-62-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/4268-65-0x0000000000400000-0x0000000000452000-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-4182098368-2521458979-3782681353-1000\Control Panel\International\Geo\Nation f17157400e11b19195620f4199324c89_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 4268 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 4268 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4268 mstwain32.exe 4268 mstwain32.exe 4268 mstwain32.exe 4268 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-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 f17157400e11b19195620f4199324c89_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 -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe f17157400e11b19195620f4199324c89_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f17157400e11b19195620f4199324c89_JaffaCakes118.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 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 f17157400e11b19195620f4199324c89_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 5112 f17157400e11b19195620f4199324c89_JaffaCakes118.exe Token: SeBackupPrivilege 3364 vssvc.exe Token: SeRestorePrivilege 3364 vssvc.exe Token: SeAuditPrivilege 3364 vssvc.exe Token: SeDebugPrivilege 4268 mstwain32.exe Token: SeDebugPrivilege 4268 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 4268 mstwain32.exe 4268 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 5112 wrote to memory of 4268 5112 f17157400e11b19195620f4199324c89_JaffaCakes118.exe 90 PID 5112 wrote to memory of 4268 5112 f17157400e11b19195620f4199324c89_JaffaCakes118.exe 90 PID 5112 wrote to memory of 4268 5112 f17157400e11b19195620f4199324c89_JaffaCakes118.exe 90 -
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\f17157400e11b19195620f4199324c89_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f17157400e11b19195620f4199324c89_JaffaCakes118.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:5112 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\f17157400e11b19195620f4199324c89_JaffaCakes118.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:4268
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3364
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
MD5f3399707eb2774f5e3ea4207f20d0f2b
SHA187c9b44df83da17da46c207e9dd0c839c9789111
SHA25694f1b32550bd6b53cc432223e9b192d0a7c9109ac88eccc25ab1a4ff15428d39
SHA512271a99d18b15628df694865a8505824482bdff1ada149c6c2de8df7e864917830f2b16b2a21abd97277f8d55d3b1ea76a7b6ffbfbf34d561169617dcd2fbc728
-
Filesize
297KB
MD5f17157400e11b19195620f4199324c89
SHA160825eca1820c1bebdca713a73cbd6c59562164a
SHA256bc0bb85cc583c853d80899a23f3eae8b0edb3a2105174f1fc0faaedc226a6f55
SHA512b8937164873191864939e750f21522bad939bb6195675809550d0dd8db98c7995f4c49302b314f246e2d4b05100719ec8553b20167b50216f1d3b509b3ebfddc
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350