Analysis
-
max time kernel
142s -
max time network
144s -
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:30
Behavioral task
behavioral1
Sample
cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe
-
Size
270KB
-
MD5
cc6ae3629770c39fe95003ca3a54fe95
-
SHA1
cf11ea62ccc43a2eeea4bfa6729c6ded7ae3ea79
-
SHA256
7f9514175be0582e6a099f6012a491de4032a9247ee4f0ae8adeda4cd2a0e41e
-
SHA512
b1df83e71afbcde2dbf4c94b3fabb64d02331c24992ab8e9cb06089b6c62df16a8de4dddd6be99627512cd4c5e9f40c534f142003fcb122c1ddc92f030ad7090
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz531pcCJJvH:Zr7xS2Vp6FwTWbJJvH
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/0x0004000000016985-4.dat modiloader_stage2 behavioral2/memory/3864-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/5056-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-1302416131-1437503476-2806442725-1000\Control Panel\International\Geo\Nation cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 5056 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 5056 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 5056 mstwain32.exe 5056 mstwain32.exe 5056 mstwain32.exe 5056 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1302416131-1437503476-2806442725-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 cc6ae3629770c39fe95003ca3a54fe95_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\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.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 cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3864 cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe Token: SeBackupPrivilege 3532 vssvc.exe Token: SeRestorePrivilege 3532 vssvc.exe Token: SeAuditPrivilege 3532 vssvc.exe Token: SeDebugPrivilege 5056 mstwain32.exe Token: SeDebugPrivilege 5056 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 5056 mstwain32.exe 5056 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 3864 wrote to memory of 5056 3864 cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe 92 PID 3864 wrote to memory of 5056 3864 cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe 92 PID 3864 wrote to memory of 5056 3864 cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe 92 -
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\cc6ae3629770c39fe95003ca3a54fe95_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\cc6ae3629770c39fe95003ca3a54fe95_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:3864 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\cc6ae3629770c39fe95003ca3a54fe95_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:5056
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3532
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
MD50f478cc1cf8c740342a6ba9713e6d581
SHA1640f0f670de22f64a6194efd24c0e598aa2a697d
SHA25676689be7288e11ab08886f182fd20198895bf13a2a7e818420554d72ba74e849
SHA5124671e318747de400b5d9cebaa6eab50a8b724429fe236a8d247dadfcba7e9b337b490dd2f243125963a1906a510b59c2334f542b3814a2ce48e4dbf3158eb6b2
-
Filesize
270KB
MD5cc6ae3629770c39fe95003ca3a54fe95
SHA1cf11ea62ccc43a2eeea4bfa6729c6ded7ae3ea79
SHA2567f9514175be0582e6a099f6012a491de4032a9247ee4f0ae8adeda4cd2a0e41e
SHA512b1df83e71afbcde2dbf4c94b3fabb64d02331c24992ab8e9cb06089b6c62df16a8de4dddd6be99627512cd4c5e9f40c534f142003fcb122c1ddc92f030ad7090
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350