Analysis
-
max time kernel
148s -
max time network
151s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
03-12-2024 22:32
Static task
static1
Behavioral task
behavioral1
Sample
bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe
-
Size
668KB
-
MD5
bf8ade64c16546f73f5b1aa99cdafb37
-
SHA1
1bde7614738dd428712d143a21b71d3610113fbb
-
SHA256
af5cf325433398598924c87f4a2328566a92a333c8d677983f848911a3aca130
-
SHA512
40c74d5e386dd04549b230baa1ee0c31e219dc903136f84d71c794ed91f555873a06b6150d66cb0ff5a026084bcfbfc44394d57017865a67e8f9a5963f92fcd1
-
SSDEEP
12288:1xTY3OiRSnYdsb+xYtsg12uasnniqhzuAhx3lmQHhu:1y3HRSnY+Q1EaMRhz3mu
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 24 IoCs
resource yara_rule behavioral1/memory/2160-14-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2160-16-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2160-15-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2160-17-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2160-28-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-46-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-59-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-60-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-63-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-66-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-69-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-85-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-88-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/1760-91-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 2200 mstwain32.exe 1760 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1488793075-819845221-1497111674-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 mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2664 set thread context of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2200 set thread context of 1760 2200 mstwain32.exe 35 -
resource yara_rule behavioral1/memory/2160-10-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-12-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-13-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-14-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-16-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-15-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-17-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2160-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-46-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-43-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-59-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-60-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-63-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-66-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-69-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-85-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-88-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/1760-91-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe bf8ade64c16546f73f5b1aa99cdafb37_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 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2160 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe Token: SeBackupPrivilege 2688 vssvc.exe Token: SeRestorePrivilege 2688 vssvc.exe Token: SeAuditPrivilege 2688 vssvc.exe Token: SeDebugPrivilege 1760 mstwain32.exe Token: SeDebugPrivilege 1760 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 2200 mstwain32.exe 1760 mstwain32.exe 1760 mstwain32.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2664 wrote to memory of 2160 2664 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 30 PID 2160 wrote to memory of 2200 2160 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 34 PID 2160 wrote to memory of 2200 2160 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 34 PID 2160 wrote to memory of 2200 2160 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 34 PID 2160 wrote to memory of 2200 2160 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 34 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 PID 2200 wrote to memory of 1760 2200 mstwain32.exe 35 -
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\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2664 -
C:\Users\Admin\AppData\Local\Temp\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe2⤵
- 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:2160 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2200 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- UAC bypass
- Executes dropped EXE
- 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:1760
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2688
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
668KB
MD5bf8ade64c16546f73f5b1aa99cdafb37
SHA11bde7614738dd428712d143a21b71d3610113fbb
SHA256af5cf325433398598924c87f4a2328566a92a333c8d677983f848911a3aca130
SHA51240c74d5e386dd04549b230baa1ee0c31e219dc903136f84d71c794ed91f555873a06b6150d66cb0ff5a026084bcfbfc44394d57017865a67e8f9a5963f92fcd1