Analysis
-
max time kernel
30s -
max time network
35s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
31/08/2024, 07:46
Static task
static1
Behavioral task
behavioral1
Sample
cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe
Resource
win10v2004-20240802-en
Errors
General
-
Target
cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe
-
Size
755KB
-
MD5
cc6f4385cd9e778f241bddc1467e1e8c
-
SHA1
77d091a48cfe12a00e4e9e5ce76ba0df8245d631
-
SHA256
3cf884c82bfa4d0465dc71b089185a784dde18ca0d5dfa6b9f9a35ff5950a92d
-
SHA512
b263cd148f5411e89a77bbc2965d6534c12ffe7759a5757788a0b24884e382077552671dd1447e7c34576d5c2b525035a294723b98381d5302df7d85d9dbc49c
-
SSDEEP
12288:F9pfgD4Ea7F9oTIUrDcD51DTVYEfSp4fTSNvcdXm7H8RG6RbJJvH2:r1gXb7roPVYEf7fWpqXm77+JvH2
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 10 IoCs
resource yara_rule behavioral2/memory/2684-3-0x0000000000401000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2684-6-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/2684-14-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/2684-15-0x0000000000401000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/4368-19-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/4368-26-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/4368-33-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/4368-36-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/4368-37-0x0000000000400000-0x0000000000505000-memory.dmp modiloader_stage2 behavioral2/memory/4368-38-0x0000000000400000-0x0000000000505000-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-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 4368 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 4368 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4368 mstwain32.exe 4368 mstwain32.exe 4368 mstwain32.exe 4368 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-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 cc6f4385cd9e778f241bddc1467e1e8c_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 cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe cc6f4385cd9e778f241bddc1467e1e8c_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 cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Modifies registry class 4 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\wd1342760268b.fdr cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe Set value (data) \REGISTRY\MACHINE\SOFTWARE\Classes\wd1342760268b.fdr\ = 28459d1309f43e19cf746c9a0c8953ae9ea6f33612e2d2ee cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe Key created \REGISTRY\MACHINE\SOFTWARE\Classes\wd1342760268b.fdr mstwain32.exe Set value (data) \REGISTRY\MACHINE\SOFTWARE\Classes\wd1342760268b.fdr\ = 28459d1309f43e19cf746c9a0c8953ae9ea6f33612e2d2ee mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2684 cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe Token: SeBackupPrivilege 3420 vssvc.exe Token: SeRestorePrivilege 3420 vssvc.exe Token: SeAuditPrivilege 3420 vssvc.exe Token: SeDebugPrivilege 4368 mstwain32.exe Token: SeDebugPrivilege 4368 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 4368 mstwain32.exe 4368 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2684 wrote to memory of 4368 2684 cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe 95 PID 2684 wrote to memory of 4368 2684 cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe 95 PID 2684 wrote to memory of 4368 2684 cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe 95 -
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\cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\cc6f4385cd9e778f241bddc1467e1e8c_JaffaCakes118.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2684 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\cc6f4385cd9e778f241bddc1467e1e8c_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
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:4368
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3420
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
MD57c3ff4d4d394fde7c693d04c488a55f8
SHA1ae2b2acc7e91a910f9075e0e095b528e97827ba4
SHA2564878bf71fd37ffac1fd6f5153357298544d0ef1f3a114c1f0451befcb85c59a8
SHA51233c601d9e706cff0c3dce8280b040c361aa51004fd20b51946469b6a02453def5a7aad1e5f58bec3435cc6e25470155d07f71dc0f81ec642efc53215d7be316a
-
Filesize
755KB
MD5cc6f4385cd9e778f241bddc1467e1e8c
SHA177d091a48cfe12a00e4e9e5ce76ba0df8245d631
SHA2563cf884c82bfa4d0465dc71b089185a784dde18ca0d5dfa6b9f9a35ff5950a92d
SHA512b263cd148f5411e89a77bbc2965d6534c12ffe7759a5757788a0b24884e382077552671dd1447e7c34576d5c2b525035a294723b98381d5302df7d85d9dbc49c
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350