Analysis
-
max time kernel
146s -
max time network
150s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
18-09-2024 12:24
Static task
static1
Behavioral task
behavioral1
Sample
e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe
-
Size
241KB
-
MD5
e91bfaf6436c8e7cea12d5c4e7dd41cb
-
SHA1
cc890aef4bfa783860401a4888c4c5a8f6b99889
-
SHA256
d58c0807d9e47a1aa642cfcddc849d76608cbe8e9e8cb8604f47db93f54f1a59
-
SHA512
f501f31c3d1d3215485fa204eebdb3885efd35cd62a8236ca76452328abd1d95ae232e876e0d0d4ff3680a14f9d5b394920ff6fb2034d17da5cd64f440bebaff
-
SSDEEP
6144:WbTo8mhn+TupXuBPhhDZ2NllBzuTnDuwX5:zLnuPhhsNrBcDuwX5
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 24 IoCs
resource yara_rule behavioral1/memory/2752-13-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2752-14-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2752-25-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-43-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-42-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-49-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-52-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-53-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-57-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-60-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-61-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-64-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral1/memory/2772-85-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 2868 mstwain32.exe 2772 mstwain32.exe -
resource yara_rule behavioral1/memory/2752-11-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-3-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-12-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-13-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-14-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2752-25-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-43-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-42-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-49-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-52-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-53-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-57-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-60-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-61-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-64-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral1/memory/2772-85-0x0000000000400000-0x0000000000450000-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-1506706701-1246725540-2219210854-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 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2848 set thread context of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2868 set thread context of 2772 2868 mstwain32.exe 32 -
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 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe e91bfaf6436c8e7cea12d5c4e7dd41cb_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 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2752 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe Token: SeDebugPrivilege 2772 mstwain32.exe Token: SeDebugPrivilege 2772 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2772 mstwain32.exe 2772 mstwain32.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2848 wrote to memory of 2752 2848 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 30 PID 2752 wrote to memory of 2868 2752 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 31 PID 2752 wrote to memory of 2868 2752 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 31 PID 2752 wrote to memory of 2868 2752 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 31 PID 2752 wrote to memory of 2868 2752 e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe 31 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 mstwain32.exe 32 PID 2868 wrote to memory of 2772 2868 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\e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2848 -
C:\Users\Admin\AppData\Local\Temp\e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e91bfaf6436c8e7cea12d5c4e7dd41cb_JaffaCakes118.exe"2⤵
- 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:2752 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2868 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"4⤵
- 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:2772
-
-
-
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
241KB
MD5e91bfaf6436c8e7cea12d5c4e7dd41cb
SHA1cc890aef4bfa783860401a4888c4c5a8f6b99889
SHA256d58c0807d9e47a1aa642cfcddc849d76608cbe8e9e8cb8604f47db93f54f1a59
SHA512f501f31c3d1d3215485fa204eebdb3885efd35cd62a8236ca76452328abd1d95ae232e876e0d0d4ff3680a14f9d5b394920ff6fb2034d17da5cd64f440bebaff