Analysis
-
max time kernel
144s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
12-09-2024 06:47
Static task
static1
Behavioral task
behavioral1
Sample
dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe
-
Size
762KB
-
MD5
dc02d48fc7b29bcaff90dfb674920fa5
-
SHA1
370a447d54de40dc39e463fb07316471a184c42a
-
SHA256
d88594a670cba62e899178bbfe1e93f4480589c98fe29040e53c828c03e419ec
-
SHA512
12691e83ddfa25cbcc3128b5d7dd9c32b14e3c5590a85c8551f4a02fae558d8d9b9acf4e71c5eaf8ff06ce352b33f9305061dc6a345b704c3221ac68c61dfb8c
-
SSDEEP
12288:bHmJBVtYjJBE+H22or8zFF10gWR7NlpzrMCRcKbnNpCc1zJVMyFVzq/bOF/Qoj:b0A9ySF10gU77pfMCRjbnNpCc1zJVMyb
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 38 IoCs
resource yara_rule behavioral1/memory/2080-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2080-2-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/2080-3-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/2080-4-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/2080-5-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/2080-6-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/2080-17-0x0000000005FF0000-0x00000000061A3000-memory.dmp modiloader_stage2 behavioral1/memory/2080-20-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-22-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-23-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-26-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-28-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-29-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-32-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-33-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-34-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-35-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-36-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-37-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-38-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-39-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-40-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-41-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-44-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-45-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-46-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-49-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-52-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-55-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-59-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-62-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-65-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-68-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-71-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-74-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-77-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-80-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 behavioral1/memory/3020-83-0x0000000000400000-0x00000000005B3000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 3020 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 3020 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 2 IoCs
Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1846800975-3917212583-2893086201-1000\Software\Wine dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-1846800975-3917212583-2893086201-1000\Software\Wine mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1846800975-3917212583-2893086201-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 dc02d48fc7b29bcaff90dfb674920fa5_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 -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe 3020 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe -
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 mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe 3020 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe Token: SeBackupPrivilege 2704 vssvc.exe Token: SeRestorePrivilege 2704 vssvc.exe Token: SeAuditPrivilege 2704 vssvc.exe Token: SeDebugPrivilege 3020 mstwain32.exe Token: SeDebugPrivilege 3020 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3020 mstwain32.exe 3020 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2080 wrote to memory of 3020 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe 34 PID 2080 wrote to memory of 3020 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe 34 PID 2080 wrote to memory of 3020 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe 34 PID 2080 wrote to memory of 3020 2080 dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe 34 -
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\dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:2080 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\dc02d48fc7b29bcaff90dfb674920fa5_JaffaCakes118.exe"2⤵
- UAC bypass
- Deletes itself
- Executes dropped EXE
- Identifies Wine through registry keys
- Adds Run key to start application
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:3020
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2704
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
3Virtualization/Sandbox Evasion
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
762KB
MD5dc02d48fc7b29bcaff90dfb674920fa5
SHA1370a447d54de40dc39e463fb07316471a184c42a
SHA256d88594a670cba62e899178bbfe1e93f4480589c98fe29040e53c828c03e419ec
SHA51212691e83ddfa25cbcc3128b5d7dd9c32b14e3c5590a85c8551f4a02fae558d8d9b9acf4e71c5eaf8ff06ce352b33f9305061dc6a345b704c3221ac68c61dfb8c