Analysis
-
max time kernel
142s -
max time network
143s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
08/09/2024, 04:23
Behavioral task
behavioral1
Sample
d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe
-
Size
270KB
-
MD5
d387dcb83f444c6ab1494c1a5a58bb61
-
SHA1
445e8e1441b9d8d25efafae9ede03853b72d6f35
-
SHA256
91fb5980d55cbb0b4178e34cf4ba6159ce2014e5d04cc4c7074bdd0f1cf40786
-
SHA512
f5a2fb962b5856ecc106d70ed1835ded9f0cd7df942f95a22c952b6ca256705094ef4ab77983ee9c8091bf07fccad7598155427ae86950133b304820591a02ee
-
SSDEEP
6144:dG377xS2Vp2CeiorXdwTBgWx4v535pcCJJvHP:gr7xS2Vp6RwTyC8bJJvHP
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/0x000400000001db14-4.dat modiloader_stage2 behavioral2/memory/3216-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1844-65-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-945322488-2060912225-3527527000-1000\Control Panel\International\Geo\Nation d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 1844 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 1844 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 1844 mstwain32.exe 1844 mstwain32.exe 1844 mstwain32.exe 1844 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-945322488-2060912225-3527527000-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process 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 d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe d387dcb83f444c6ab1494c1a5a58bb61_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 d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3216 d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe Token: SeBackupPrivilege 676 vssvc.exe Token: SeRestorePrivilege 676 vssvc.exe Token: SeAuditPrivilege 676 vssvc.exe Token: SeDebugPrivilege 1844 mstwain32.exe Token: SeDebugPrivilege 1844 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1844 mstwain32.exe 1844 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 3216 wrote to memory of 1844 3216 d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe 89 PID 3216 wrote to memory of 1844 3216 d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe 89 PID 3216 wrote to memory of 1844 3216 d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe 89 -
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\d387dcb83f444c6ab1494c1a5a58bb61_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d387dcb83f444c6ab1494c1a5a58bb61_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:3216 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\d387dcb83f444c6ab1494c1a5a58bb61_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:1844
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:676
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
MD54d0dba8fd4e9df778e06a0e376a5ed6c
SHA18fff73f6c4396339067c3d2e89f142b1858de23c
SHA2562847d00fd5e02f627c3f624e8c4877ab8b896233e888829c554d71f93308db0a
SHA5122cebabf4156cafa87c2ee3dd7c79c80af98b5c31339e0821a38c157fea2b93b0a7ac78afbeba8cdb97edb01f8d9d16b2e2c080e4f53c36d020ee7127fb5f002a
-
Filesize
270KB
MD5d387dcb83f444c6ab1494c1a5a58bb61
SHA1445e8e1441b9d8d25efafae9ede03853b72d6f35
SHA25691fb5980d55cbb0b4178e34cf4ba6159ce2014e5d04cc4c7074bdd0f1cf40786
SHA512f5a2fb962b5856ecc106d70ed1835ded9f0cd7df942f95a22c952b6ca256705094ef4ab77983ee9c8091bf07fccad7598155427ae86950133b304820591a02ee
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350