Analysis
-
max time kernel
142s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
02-11-2024 13:49
Static task
static1
Behavioral task
behavioral1
Sample
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe
-
Size
580KB
-
MD5
85c36b7743003c451e9fa4ff26accfa8
-
SHA1
c1c845c1fba3c7590ec202a628067b3b50762e27
-
SHA256
dc94be95ae15956195b8ab6f9327ed76f73db392d02f1da6ac09eb1635b8e666
-
SHA512
73b48916759de3b868dcf82d2988adf9ec32406601512174c510524131430c2dd41fdc910c0bbb38ec1a2a5876283049ebe587a8a7aa9e5c5f0db63ad9562c06
-
SSDEEP
12288:bR5attOIr9Pi0Xi2wJTF7N/rmLTPMWQN+843+bBVBKETb/cZmN8/:cixTGLXQcnObBPf/Kr
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
Processes:
mstwain32.exedescription ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 25 IoCs
Processes:
resource yara_rule behavioral2/memory/2932-3-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/2932-2-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/2932-4-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/2932-5-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/2932-19-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-26-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-27-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-28-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-36-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-37-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-39-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-41-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-42-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-44-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-46-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-48-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-50-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-52-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-54-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-56-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-58-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-60-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-62-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-64-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 behavioral2/memory/404-66-0x0000000000400000-0x0000000000488000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exedescription ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\Control Panel\International\Geo\Nation 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
Processes:
mstwain32.exemstwain32.exepid Process 1068 mstwain32.exe 404 mstwain32.exe -
Loads dropped DLL 2 IoCs
Processes:
mstwain32.exepid Process 404 mstwain32.exe 404 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
mstwain32.exe85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exedescription 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 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
Maps connected drives based on registry 3 TTPs 4 IoCs
Disk information is often read in order to detect sandboxing environments.
Processes:
mstwain32.exe85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exedescription ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum mstwain32.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe -
Suspicious use of SetThreadContext 2 IoCs
Processes:
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exemstwain32.exedescription pid Process procid_target PID 4340 set thread context of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 1068 set thread context of 404 1068 mstwain32.exe 92 -
Drops file in Windows directory 4 IoCs
Processes:
mstwain32.exemstwain32.exe85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exedescription ioc Process File opened for modification C:\Windows\mstwain32.exe mstwain32.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\mstwain32.exe 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.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.
Processes:
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exemstwain32.exemstwain32.exe85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exedescription ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 85c36b7743003c451e9fa4ff26accfa8_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 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
Processes:
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exevssvc.exemstwain32.exedescription pid Process Token: SeDebugPrivilege 2932 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe Token: SeBackupPrivilege 4536 vssvc.exe Token: SeRestorePrivilege 4536 vssvc.exe Token: SeAuditPrivilege 4536 vssvc.exe Token: SeDebugPrivilege 404 mstwain32.exe -
Suspicious use of SetWindowsHookEx 3 IoCs
Processes:
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exemstwain32.exemstwain32.exepid Process 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 1068 mstwain32.exe 404 mstwain32.exe -
Suspicious use of WriteProcessMemory 29 IoCs
Processes:
85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exemstwain32.exedescription pid Process procid_target PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 4340 wrote to memory of 2932 4340 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 84 PID 2932 wrote to memory of 1068 2932 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 91 PID 2932 wrote to memory of 1068 2932 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 91 PID 2932 wrote to memory of 1068 2932 85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe 91 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 PID 1068 wrote to memory of 404 1068 mstwain32.exe 92 -
System policy modification 1 TTPs 1 IoCs
Processes:
mstwain32.exedescription 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\85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe"1⤵
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4340 -
C:\Users\Admin\AppData\Local\Temp\85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\85c36b7743003c451e9fa4ff26accfa8_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:2932 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\85c36b7743003c451e9fa4ff26accfa8_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1068 -
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:404
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4536
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
580KB
MD585c36b7743003c451e9fa4ff26accfa8
SHA1c1c845c1fba3c7590ec202a628067b3b50762e27
SHA256dc94be95ae15956195b8ab6f9327ed76f73db392d02f1da6ac09eb1635b8e666
SHA51273b48916759de3b868dcf82d2988adf9ec32406601512174c510524131430c2dd41fdc910c0bbb38ec1a2a5876283049ebe587a8a7aa9e5c5f0db63ad9562c06
-
Filesize
283KB
MD5f502486767608eafe5b1a090dc0e1014
SHA1205f526a0769baae5426886cb185aa180893969f
SHA256152e6113c794f5f4baaab58a5a90d27b5080a4070cc7602bc3f3f1d51a743501
SHA5127ab56cf892ae261a3ed232b548e70a80962d4aeb2c86580fdcd95efc726a54a0d231a1489acf239381627909bca0567ef0c1c9888e69a5175fab6b2b7c37486e