Analysis
-
max time kernel
147s -
max time network
122s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
29/11/2024, 19:26
Behavioral task
behavioral1
Sample
b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe
-
Size
758KB
-
MD5
b3315f1bc055b4f007fad4504586b854
-
SHA1
54d6761cc45d5762235ba181f69c5d5d65fbcb7f
-
SHA256
c153b8d720febb83961d8107e89a9bca44a6e0a034114bf0b35ef40b5e64a443
-
SHA512
eb22d9211e7a736485526deb54ada3ceaf3a5d980c483a598b5231d5bcb3153b352242b1334ef6e61e9e5301b3967fd33ab352abaeaf068a596f1be0c50b1fcd
-
SSDEEP
12288:e5LiBcB7013Wy3sGb1qIwm3XszHSfsHOMoEbUlOA0aN7uuP0yA8rZH8DTAJY+Z:e5maY1mDU1D389OySN7sr1TSY+Z
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 34 IoCs
resource yara_rule behavioral1/memory/2624-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2624-2-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-4-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-3-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-5-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-6-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-14-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-18-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/2624-17-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-21-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-23-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-26-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-30-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-29-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-31-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-32-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-33-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-34-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-35-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-36-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-39-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-40-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-43-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-46-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-49-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-53-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-56-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-59-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-62-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-65-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-68-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-71-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-74-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 behavioral1/memory/3008-77-0x0000000000400000-0x00000000005B2000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 3008 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 3008 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-3533259084-2542256011-65585152-1000\Software\Wine mstwain32.exe Key opened \REGISTRY\USER\S-1-5-21-3533259084-2542256011-65585152-1000\Software\Wine b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe -
resource yara_rule behavioral1/memory/2624-0-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-2-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-4-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-3-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-5-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-6-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-14-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-18-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/2624-17-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/files/0x00060000000055d8-11.dat themida behavioral1/memory/3008-20-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-21-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-23-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-26-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-30-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-29-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-31-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-32-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-33-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-34-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-35-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-36-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-39-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-40-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-43-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-46-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-49-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-53-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-56-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-59-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-62-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-65-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-68-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-71-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-74-0x0000000000400000-0x00000000005B2000-memory.dmp themida behavioral1/memory/3008-77-0x0000000000400000-0x00000000005B2000-memory.dmp themida -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3533259084-2542256011-65585152-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 b3315f1bc055b4f007fad4504586b854_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 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe 3008 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe b3315f1bc055b4f007fad4504586b854_JaffaCakes118.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 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe 3008 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe Token: SeBackupPrivilege 3048 vssvc.exe Token: SeRestorePrivilege 3048 vssvc.exe Token: SeAuditPrivilege 3048 vssvc.exe Token: SeDebugPrivilege 3008 mstwain32.exe Token: SeDebugPrivilege 3008 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3008 mstwain32.exe 3008 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2624 wrote to memory of 3008 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe 33 PID 2624 wrote to memory of 3008 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe 33 PID 2624 wrote to memory of 3008 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe 33 PID 2624 wrote to memory of 3008 2624 b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe 33 -
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\b3315f1bc055b4f007fad4504586b854_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\b3315f1bc055b4f007fad4504586b854_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 WriteProcessMemory
PID:2624 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\b3315f1bc055b4f007fad4504586b854_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:3008
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3048
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
758KB
MD5b3315f1bc055b4f007fad4504586b854
SHA154d6761cc45d5762235ba181f69c5d5d65fbcb7f
SHA256c153b8d720febb83961d8107e89a9bca44a6e0a034114bf0b35ef40b5e64a443
SHA512eb22d9211e7a736485526deb54ada3ceaf3a5d980c483a598b5231d5bcb3153b352242b1334ef6e61e9e5301b3967fd33ab352abaeaf068a596f1be0c50b1fcd