Analysis
-
max time kernel
147s -
max time network
119s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
22-09-2024 04:44
Static task
static1
Behavioral task
behavioral1
Sample
f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe
-
Size
868KB
-
MD5
f14e1074cf8f4b7f7dcb86947ff0c9c5
-
SHA1
dceba45017a2f8b7956a391c8045e6a8adeba160
-
SHA256
bea280c2cef269f418a125f5ea1fcbb768603cdb745136f99d78532675f8d923
-
SHA512
6eb60439836bacf36da4cdf24801291382de9d341316e57a5bc973f060679c0e883fdcf9fbb543bf00853fe13c2be12cc431bb500d5b7dd59ed414e62dc4d050
-
SSDEEP
12288:Yxo7YNQg2YcKify3iTntxrr0cuUPnIpVwDIX9cgtWb27+/mooOCUYwi1Aa33s3Ve:YKwQrsiK3Sr0ckHCb2lgCbu4aVCcE
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 21 IoCs
resource yara_rule behavioral1/memory/3024-15-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/3024-17-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/3024-16-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/3024-18-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/3024-29-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-47-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-46-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-48-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-54-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-57-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-58-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-61-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-64-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-67-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-71-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-74-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-77-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-80-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-83-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-86-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 behavioral1/memory/2716-89-0x0000000000400000-0x0000000000493000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 3044 mstwain32.exe 2716 mstwain32.EXE -
resource yara_rule behavioral1/memory/3024-7-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-5-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-11-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-14-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-15-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-17-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-16-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-18-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/3024-29-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-47-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-46-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-45-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-48-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-54-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-57-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-58-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-61-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-64-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-67-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-71-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-74-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-77-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-80-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-83-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-86-0x0000000000400000-0x0000000000493000-memory.dmp upx behavioral1/memory/2716-89-0x0000000000400000-0x0000000000493000-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-2872745919-2748461613-2989606286-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 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2532 set thread context of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 3044 set thread context of 2716 3044 mstwain32.exe 36 -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE File opened for modification C:\Windows\mstwain32.exe f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE File opened for modification C:\Windows\mstwain32.EXE mstwain32.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 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3024 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE Token: SeBackupPrivilege 2528 vssvc.exe Token: SeRestorePrivilege 2528 vssvc.exe Token: SeAuditPrivilege 2528 vssvc.exe Token: SeDebugPrivilege 2716 mstwain32.EXE Token: SeDebugPrivilege 2716 mstwain32.EXE -
Suspicious use of SetWindowsHookEx 6 IoCs
pid Process 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 3044 mstwain32.exe 3044 mstwain32.exe 2716 mstwain32.EXE 2716 mstwain32.EXE -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 2532 wrote to memory of 3024 2532 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe 30 PID 3024 wrote to memory of 3044 3024 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE 35 PID 3024 wrote to memory of 3044 3024 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE 35 PID 3024 wrote to memory of 3044 3024 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE 35 PID 3024 wrote to memory of 3044 3024 f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXE 35 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 PID 3044 wrote to memory of 2716 3044 mstwain32.exe 36 -
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\f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2532 -
C:\Users\Admin\AppData\Local\Temp\f14e1074cf8f4b7f7dcb86947ff0c9c5_JaffaCakes118.EXEf14e1074cf8f4b7f7dcb86947ff0c9c5_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:3024 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3044 -
C:\Windows\mstwain32.EXEmstwain32.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:2716
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2528
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
868KB
MD5f14e1074cf8f4b7f7dcb86947ff0c9c5
SHA1dceba45017a2f8b7956a391c8045e6a8adeba160
SHA256bea280c2cef269f418a125f5ea1fcbb768603cdb745136f99d78532675f8d923
SHA5126eb60439836bacf36da4cdf24801291382de9d341316e57a5bc973f060679c0e883fdcf9fbb543bf00853fe13c2be12cc431bb500d5b7dd59ed414e62dc4d050
-
Filesize
14B
MD5492880a78b55357df2d60f46ba5a7ba6
SHA17140a5988344cb8be103060067b9e352da4cadf8
SHA2565548f3596dd4e39d0503d08fb30ef604ae9e0fc82192a3b8837327b900138baf
SHA512efd4dd9f4baf1718b4d85ca37cf486c2de06c6653240bb5449f39e4836fe7025b188446ccff593f608655054fe4645d9bb92e1fa821919b33348850a62672124