Analysis
-
max time kernel
147s -
max time network
119s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
22-01-2025 18:13
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe
-
Size
136KB
-
MD5
0ff5bc6760c5e003005e57ece1073a86
-
SHA1
3eb8f719413886512992e5df88e565f9f1cd85c3
-
SHA256
e0a7c3f6bed891c49170abdba7eb64320f8d6b71cf05c241498b279e804a0733
-
SHA512
62fdc5fc63b37264a4474bee78b22663c4acf02169347a84f6419794297021ee81f7aa2d5d15b15e7c5d68df2e4480ab0c441ef7f9a58339c2b093eb5d30af4f
-
SSDEEP
3072:GZswd5SSJj3JDP+dIzRyQEhpdXFARy6Ne18RhpsxhX/LfG19PeH1iC:sfdASJtzzRH4X1Y9NNzpMSDPfC
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
UAC bypass 3 TTPs 1 IoCs
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/2164-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2164-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2164-8-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2164-9-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2164-20-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-28-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-31-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-37-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-38-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-41-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-53-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-59-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-62-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-65-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-68-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-71-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-74-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2924-77-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 2848 mstwain32.exe 2924 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3551809350-4263495960-1443967649-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Checks whether UAC is enabled 1 TTPs 3 IoCs
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.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 SetThreadContext 2 IoCs
description pid Process procid_target PID 2644 set thread context of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2848 set thread context of 2924 2848 mstwain32.exe 32 -
resource yara_rule behavioral1/memory/2164-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-9-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2164-20-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-27-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-31-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-37-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-38-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-53-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-59-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-62-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-65-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-68-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-71-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-74-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2924-77-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.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 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2164 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Token: SeDebugPrivilege 2924 mstwain32.exe Token: SeDebugPrivilege 2924 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 2164 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe -
Suspicious use of SetWindowsHookEx 6 IoCs
pid Process 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 2848 mstwain32.exe 2848 mstwain32.exe 2924 mstwain32.exe 2924 mstwain32.exe -
Suspicious use of WriteProcessMemory 22 IoCs
description pid Process procid_target PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2644 wrote to memory of 2164 2644 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 30 PID 2164 wrote to memory of 2848 2164 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 31 PID 2164 wrote to memory of 2848 2164 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 31 PID 2164 wrote to memory of 2848 2164 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 31 PID 2164 wrote to memory of 2848 2164 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 31 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 PID 2848 wrote to memory of 2924 2848 mstwain32.exe 32 -
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
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2644 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exeC:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe2⤵
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:2164 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.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:2848 -
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:2924
-
-
-
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
136KB
MD50ff5bc6760c5e003005e57ece1073a86
SHA13eb8f719413886512992e5df88e565f9f1cd85c3
SHA256e0a7c3f6bed891c49170abdba7eb64320f8d6b71cf05c241498b279e804a0733
SHA51262fdc5fc63b37264a4474bee78b22663c4acf02169347a84f6419794297021ee81f7aa2d5d15b15e7c5d68df2e4480ab0c441ef7f9a58339c2b093eb5d30af4f