Analysis
-
max time kernel
148s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20240709-en -
resource tags
arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system -
submitted
19-07-2024 07:52
Behavioral task
behavioral1
Sample
5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe
Resource
win7-20240705-en
Behavioral task
behavioral2
Sample
5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe
Resource
win10v2004-20240709-en
General
-
Target
5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe
-
Size
270KB
-
MD5
5b0db0b46dd8bb01d245802b62172ed9
-
SHA1
238211f37041dd4e8090b594c5d93eb7509ebe48
-
SHA256
1f114a13ebe6d7ef8e45540482f01632f27f2a618e3c09dd337df955de331f64
-
SHA512
c8504a5f5a037075cf4b0c76551d014baa205edbe8cea1dd5899a361110ce3adb3e802542968e3bc032b5e827ec0294a0f96e545ea048f052c3343f948319059
-
SSDEEP
6144:NG377xS2Vp2CeiorXdwTBgWx4v53HpcCJJvHS:wr7xS2Vp6RwTyC2bJJvHS
Malware Config
Extracted
latentbot
arciajacinto.zapto.org
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/0x0008000000023494-5.dat modiloader_stage2 behavioral2/memory/4056-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/4356-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-47134698-4092160662-1261813102-1000\Control Panel\International\Geo\Nation 5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 4356 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 4356 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4356 mstwain32.exe 4356 mstwain32.exe 4356 mstwain32.exe 4356 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-47134698-4092160662-1261813102-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 5b0db0b46dd8bb01d245802b62172ed9_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 5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 5b0db0b46dd8bb01d245802b62172ed9_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).
-
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4056 5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe Token: SeBackupPrivilege 4704 vssvc.exe Token: SeRestorePrivilege 4704 vssvc.exe Token: SeAuditPrivilege 4704 vssvc.exe Token: SeDebugPrivilege 4356 mstwain32.exe Token: SeDebugPrivilege 4356 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 4356 mstwain32.exe 4356 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4056 wrote to memory of 4356 4056 5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe 95 PID 4056 wrote to memory of 4356 4056 5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe 95 PID 4056 wrote to memory of 4356 4056 5b0db0b46dd8bb01d245802b62172ed9_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\5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\5b0db0b46dd8bb01d245802b62172ed9_JaffaCakes118.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4056 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\5b0db0b46dd8bb01d245802b62172ed9_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
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:4356
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4704
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
33KB
MD50545bd70066de4b352ed055275aa0813
SHA197d750f8d3b17ef7270254a5535a947cd1d52944
SHA256f042daa9ab1f4a742185e1938952620fd4dadec2f7c2bf44721d819c77ce478e
SHA512c0fc31006dd004a12d50a447e5fb179a4869b247be2570ddd9e48761595f2da34a92714e88711ff30a84a4dff562748358e3376801cb0da018e1967e71e2937c
-
Filesize
270KB
MD55b0db0b46dd8bb01d245802b62172ed9
SHA1238211f37041dd4e8090b594c5d93eb7509ebe48
SHA2561f114a13ebe6d7ef8e45540482f01632f27f2a618e3c09dd337df955de331f64
SHA512c8504a5f5a037075cf4b0c76551d014baa205edbe8cea1dd5899a361110ce3adb3e802542968e3bc032b5e827ec0294a0f96e545ea048f052c3343f948319059
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350