Analysis
-
max time kernel
148s -
max time network
153s -
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, 20:44
Behavioral task
behavioral1
Sample
d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe
-
Size
752KB
-
MD5
d5119bad8d259c0dcd9a5445e2408f5c
-
SHA1
c7a2b103ebeecd53c4f52c5992639dca1817df7a
-
SHA256
5e91523f98aee1e1dc04fa06d5165a0bf6b248001e3a2cf95d7ef217c2df85fd
-
SHA512
2ce2e26c6ef7b6c0ea09f0ce2f88915628ba1aa3b756eae884362506bb49765d8f6a82eb058e9fff6bf4da6adfabd179f87b13a5cb05f9d93807866a2e9e9f29
-
SSDEEP
12288:dBMmKGnhDT+JlCTXMjUZfT1uxp62KW8CcCzyU56RZv+HFkZ+COo:DMmnDC+T3fEv8W8CcQy2U1VZ+4
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 23 IoCs
resource yara_rule behavioral2/memory/1128-1-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1128-2-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1128-3-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1128-5-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1128-7-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1128-21-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-24-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-27-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-39-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-40-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-43-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-46-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-49-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-52-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-55-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-58-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-61-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-64-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-67-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-70-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-73-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-76-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2304-79-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-786284298-625481688-3210388970-1000\Control Panel\International\Geo\Nation d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 456 mstwain32.exe 2304 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2304 mstwain32.exe 2304 mstwain32.exe 2304 mstwain32.exe 2304 mstwain32.exe -
resource yara_rule behavioral2/memory/3164-0-0x0000000000400000-0x0000000000518000-memory.dmp upx behavioral2/memory/3164-6-0x0000000000400000-0x0000000000518000-memory.dmp upx behavioral2/files/0x00050000000006db-12.dat upx behavioral2/memory/456-26-0x0000000000400000-0x0000000000518000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-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 d5119bad8d259c0dcd9a5445e2408f5c_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 -
AutoIT Executable 2 IoCs
AutoIT scripts compiled to PE executables.
resource yara_rule behavioral2/memory/3164-6-0x0000000000400000-0x0000000000518000-memory.dmp autoit_exe behavioral2/memory/456-26-0x0000000000400000-0x0000000000518000-memory.dmp autoit_exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 3164 set thread context of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 456 set thread context of 2304 456 mstwain32.exe 96 -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe d5119bad8d259c0dcd9a5445e2408f5c_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 4 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 mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 1128 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe Token: SeBackupPrivilege 5012 vssvc.exe Token: SeRestorePrivilege 5012 vssvc.exe Token: SeAuditPrivilege 5012 vssvc.exe Token: SeDebugPrivilege 2304 mstwain32.exe Token: SeDebugPrivilege 2304 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2304 mstwain32.exe 2304 mstwain32.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 3164 wrote to memory of 1128 3164 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 84 PID 1128 wrote to memory of 456 1128 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 95 PID 1128 wrote to memory of 456 1128 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 95 PID 1128 wrote to memory of 456 1128 d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe 95 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 PID 456 wrote to memory of 2304 456 mstwain32.exe 96 -
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\d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3164 -
C:\Users\Admin\AppData\Local\Temp\d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe"2⤵
- 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:1128 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\d5119bad8d259c0dcd9a5445e2408f5c_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:456 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"4⤵
- UAC bypass
- 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:2304
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:5012
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
MD50de787a732b8cbe02749a5c1afc08348
SHA1b42938e16b0e4ca8ede508a90a9901a433b76d2b
SHA256c0a33b351841dabed4c036ae5d27fa4c287b9295a7d4be9e081e8391b5ecc777
SHA5125432dc2f65dfb672fd4223deed5403d12b09e293783408f3da873cf76a49f9d327b4bfd4ccf410109cfe5aa7cb658c5bf8e66c14d470cf5603776a187ebd0b40
-
Filesize
752KB
MD5d5119bad8d259c0dcd9a5445e2408f5c
SHA1c7a2b103ebeecd53c4f52c5992639dca1817df7a
SHA2565e91523f98aee1e1dc04fa06d5165a0bf6b248001e3a2cf95d7ef217c2df85fd
SHA5122ce2e26c6ef7b6c0ea09f0ce2f88915628ba1aa3b756eae884362506bb49765d8f6a82eb058e9fff6bf4da6adfabd179f87b13a5cb05f9d93807866a2e9e9f29
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350