Analysis
-
max time kernel
141s -
max time network
122s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
25-09-2024 10:49
Static task
static1
Behavioral task
behavioral1
Sample
f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe
-
Size
938KB
-
MD5
f5d76318313fac4cb63fd2aa6e4b2394
-
SHA1
1f34489b1a6bb8037226ba8ed92794920742ba54
-
SHA256
2bf5f454cce1455b9ef9aa28f1a0bd40d9dcb4233844a19c8d4f93870c6e051a
-
SHA512
661d310eab09d54708855e0f84d3a6be6e69e6664664a2a95bf556962d3aa4d8e51b2f144bc585a437a457d29215c9fc9ff3185684b33b0a0299ebce1d3bd95b
-
SSDEEP
24576:s+1MnftMja9z3/gy06p+Y2qJvltqf+AwX1LAYSb5P0ztK102:51j6MX6MpCLrAwhAYSbtsY
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 30 IoCs
resource yara_rule behavioral1/memory/2376-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2376-3-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2376-5-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2376-12-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-16-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-19-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-18-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-20-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-23-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-25-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-24-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-26-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-27-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-28-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-29-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-32-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-33-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-34-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-37-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-40-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-43-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-46-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-49-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-52-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-55-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-58-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-61-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-64-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-67-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral1/memory/2140-70-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
pid Process 2140 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-2872745919-2748461613-2989606286-1000\Software\Wine f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-2872745919-2748461613-2989606286-1000\Software\Wine mstwain32.exe -
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 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 2140 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe f5d76318313fac4cb63fd2aa6e4b2394_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 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 2140 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe Token: SeDebugPrivilege 2140 mstwain32.exe Token: SeDebugPrivilege 2140 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2140 mstwain32.exe 2140 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2376 wrote to memory of 2140 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 31 PID 2376 wrote to memory of 2140 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 31 PID 2376 wrote to memory of 2140 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 31 PID 2376 wrote to memory of 2140 2376 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 31 -
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\f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f5d76318313fac4cb63fd2aa6e4b2394_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:2376 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- 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:2140
-
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
938KB
MD5f5d76318313fac4cb63fd2aa6e4b2394
SHA11f34489b1a6bb8037226ba8ed92794920742ba54
SHA2562bf5f454cce1455b9ef9aa28f1a0bd40d9dcb4233844a19c8d4f93870c6e051a
SHA512661d310eab09d54708855e0f84d3a6be6e69e6664664a2a95bf556962d3aa4d8e51b2f144bc585a437a457d29215c9fc9ff3185684b33b0a0299ebce1d3bd95b