Analysis
-
max time kernel
150s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-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 23 IoCs
resource yara_rule behavioral2/memory/3408-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3408-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3408-8-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3408-23-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-31-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-32-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-49-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-52-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-58-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-61-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-64-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2348-85-0x0000000000400000-0x0000000000450000-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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 4540 mstwain32.exe 2348 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2348 mstwain32.exe 2348 mstwain32.exe 2348 mstwain32.exe 2348 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process 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 Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 1668 set thread context of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 4540 set thread context of 2348 4540 mstwain32.exe 88 -
resource yara_rule behavioral2/memory/3408-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3408-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3408-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3408-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3408-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3408-23-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-31-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-32-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-49-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-52-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-58-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-61-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-64-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2348-85-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 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3408 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe Token: SeBackupPrivilege 860 vssvc.exe Token: SeRestorePrivilege 860 vssvc.exe Token: SeAuditPrivilege 860 vssvc.exe Token: SeDebugPrivilege 2348 mstwain32.exe Token: SeDebugPrivilege 2348 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 4540 mstwain32.exe 2348 mstwain32.exe 2348 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 1668 wrote to memory of 3408 1668 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 83 PID 3408 wrote to memory of 4540 3408 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 87 PID 3408 wrote to memory of 4540 3408 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 87 PID 3408 wrote to memory of 4540 3408 bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe 87 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 PID 4540 wrote to memory of 2348 4540 mstwain32.exe 88 -
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:1668 -
C:\Users\Admin\AppData\Local\Temp\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\bf8ade64c16546f73f5b1aa99cdafb37_JaffaCakes118.exe2⤵
- 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:3408 -
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:4540 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- 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:2348
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:860
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
MD57dec4afba0ac9fd2878021522dc2749a
SHA1c684c957a75a4beba7ce821954ab402e2e1f1fc7
SHA256722fda29fca8b96a80772540a674b24bc428380cf1252796312ee36bc61c5f35
SHA512d68514fe51b6b6eda547a79af1baed219c806da0d3375043600f17367b7438b98896ceb5dcf3e29015a86f9a9c18d1f9b901c7a592f8e3545afb78b799026b93
-
Filesize
668KB
MD5bf8ade64c16546f73f5b1aa99cdafb37
SHA11bde7614738dd428712d143a21b71d3610113fbb
SHA256af5cf325433398598924c87f4a2328566a92a333c8d677983f848911a3aca130
SHA51240c74d5e386dd04549b230baa1ee0c31e219dc903136f84d71c794ed91f555873a06b6150d66cb0ff5a026084bcfbfc44394d57017865a67e8f9a5963f92fcd1
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350