Analysis
-
max time kernel
148s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
01-10-2024 06:20
Static task
static1
Behavioral task
behavioral1
Sample
04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe
-
Size
1.3MB
-
MD5
04ab2d29ac5a39f62206c6b4b9efa203
-
SHA1
4cc7054d8cab5b36b12b377e03e3ff3d15e8ae11
-
SHA256
0f333f994bc671d049a6c198a1705a73a09db67686a6d0bb26844764337eac00
-
SHA512
b293827e9825cdf403da589f0b6567209d587a0a5ee121850bc44c935c9e2a7b108b795464bf7c0a2c746fbb9eca4a8f8cf21012d1b3a88c99686a7541aec9fd
-
SSDEEP
24576:CIYfITf7Z3ILdWPy2USG+7wQdiyIakEL/pqz+q8AmpIAb9dO:CIYwTf7VI4TUSvl8L8hqz+3b9dO
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 22 IoCs
resource yara_rule behavioral1/memory/2876-22-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2876-19-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2876-18-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2876-23-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2876-24-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2876-36-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-58-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-64-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-68-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-71-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-74-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-77-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-80-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-83-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-86-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-89-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-92-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-95-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2104-98-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 2848 mstwain32.exe 2104 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 04ab2d29ac5a39f62206c6b4b9efa203_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 04ab2d29ac5a39f62206c6b4b9efa203_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 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 2848 mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 1320 set thread context of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 2848 set thread context of 2104 2848 mstwain32.exe 33 -
resource yara_rule behavioral1/memory/2876-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-16-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-13-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-22-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-19-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-18-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-9-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-23-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-24-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2876-36-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-58-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-53-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-64-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-68-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-71-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-74-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-77-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-80-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-83-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-86-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-89-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-92-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-95-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2104-98-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process 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 File created C:\Windows\mstwain32.exe 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 04ab2d29ac5a39f62206c6b4b9efa203_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.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 04ab2d29ac5a39f62206c6b4b9efa203_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 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 2848 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2876 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe Token: SeDebugPrivilege 2104 mstwain32.exe Token: SeDebugPrivilege 2104 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 2876 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe -
Suspicious use of SetWindowsHookEx 6 IoCs
pid Process 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 2848 mstwain32.exe 2848 mstwain32.exe 2104 mstwain32.exe 2104 mstwain32.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 1320 wrote to memory of 2876 1320 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 31 PID 2876 wrote to memory of 2848 2876 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 32 PID 2876 wrote to memory of 2848 2876 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 32 PID 2876 wrote to memory of 2848 2876 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 32 PID 2876 wrote to memory of 2848 2876 04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe 32 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.exe 33 PID 2848 wrote to memory of 2104 2848 mstwain32.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
Processes
-
C:\Users\Admin\AppData\Local\Temp\04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1320 -
C:\Users\Admin\AppData\Local\Temp\04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe
- 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:2876 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\04ab2d29ac5a39f62206c6b4b9efa203_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Identifies Wine through registry keys
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2848 -
C:\Windows\mstwain32.exe
- 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:2104
-
-
-
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
1.3MB
MD504ab2d29ac5a39f62206c6b4b9efa203
SHA14cc7054d8cab5b36b12b377e03e3ff3d15e8ae11
SHA2560f333f994bc671d049a6c198a1705a73a09db67686a6d0bb26844764337eac00
SHA512b293827e9825cdf403da589f0b6567209d587a0a5ee121850bc44c935c9e2a7b108b795464bf7c0a2c746fbb9eca4a8f8cf21012d1b3a88c99686a7541aec9fd
-
Filesize
14B
MD52ae19a39bd9b2f830bff85a99e7a1bcc
SHA12ca8b0842cb74647cc25f48a7bb906edef543797
SHA256f48b83c2e8e57a2a397900f9b4fcbfe4991e06aff1163def544acac8b03eb92d
SHA512be35ca92ef8dd6b283c108fbfe3616821a6a9130e2ea59ddeb521abac64ca19f5dfa7511b62b9b77f20ed3bf62dcd8b725b94acc3051c15b6507a69f718757a0