Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows7_x64 -
resource
win7-20241023-en -
resource tags
arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system -
submitted
24-11-2024 18:02
Static task
static1
Behavioral task
behavioral1
Sample
96549569acdd6bd65725091591e32736_JaffaCakes118.exe
Resource
win7-20241023-en
General
-
Target
96549569acdd6bd65725091591e32736_JaffaCakes118.exe
-
Size
1.5MB
-
MD5
96549569acdd6bd65725091591e32736
-
SHA1
0bb0b4ac17386871558b50e1849eeaa7fc334c48
-
SHA256
d02ff86502bfa662130c3f7696b096d26583df7ac790253d01a45cd7a533bdc5
-
SHA512
0c58e49c4c66c0d29140dcdca3f5cb9edefaa715e998470b2e4b96a36277bb761260b4c5dbe896f3fc27c12026e8d75c5c96fefaa53571305d0ebbb1e6c71077
-
SSDEEP
24576:fE61A8Zgh/yQvRnlMksv+G7auvcdP/8ZEcypEbfrvtEDX:VShqQvjMks9I/8ZEcyqfvtI
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
Processes:
mstwain32.exedescription ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 31 IoCs
Processes:
resource yara_rule behavioral1/memory/2656-3-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/2656-4-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2656-19-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-23-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2656-14-0x0000000005480000-0x0000000005606000-memory.dmp modiloader_stage2 behavioral1/memory/2656-11-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2656-18-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/2468-27-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-30-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-31-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-32-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-33-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-34-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-35-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-36-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-37-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-40-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-41-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-42-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-45-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-48-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-51-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-54-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-57-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-60-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-63-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-66-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-69-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-72-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-75-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 behavioral1/memory/2468-78-0x0000000000400000-0x0000000000586000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid Process 2468 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.
Processes:
96549569acdd6bd65725091591e32736_JaffaCakes118.exemstwain32.exedescription ioc Process Key opened \REGISTRY\USER\S-1-5-21-1163522206-1469769407-485553996-1000\Software\Wine 96549569acdd6bd65725091591e32736_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-1163522206-1469769407-485553996-1000\Software\Wine mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1163522206-1469769407-485553996-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
96549569acdd6bd65725091591e32736_JaffaCakes118.exemstwain32.exedescription ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 96549569acdd6bd65725091591e32736_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 -
Drops file in Windows directory 4 IoCs
Processes:
96549569acdd6bd65725091591e32736_JaffaCakes118.exemstwain32.exedescription ioc Process File created C:\Windows\mstwain32.exe 96549569acdd6bd65725091591e32736_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 96549569acdd6bd65725091591e32736_JaffaCakes118.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 2 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
Processes:
96549569acdd6bd65725091591e32736_JaffaCakes118.exemstwain32.exedescription ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 96549569acdd6bd65725091591e32736_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
96549569acdd6bd65725091591e32736_JaffaCakes118.exemstwain32.exedescription pid Process Token: SeDebugPrivilege 2656 96549569acdd6bd65725091591e32736_JaffaCakes118.exe Token: SeDebugPrivilege 2468 mstwain32.exe Token: SeDebugPrivilege 2468 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid Process 2468 mstwain32.exe 2468 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
96549569acdd6bd65725091591e32736_JaffaCakes118.exedescription pid Process procid_target PID 2656 wrote to memory of 2468 2656 96549569acdd6bd65725091591e32736_JaffaCakes118.exe 30 PID 2656 wrote to memory of 2468 2656 96549569acdd6bd65725091591e32736_JaffaCakes118.exe 30 PID 2656 wrote to memory of 2468 2656 96549569acdd6bd65725091591e32736_JaffaCakes118.exe 30 PID 2656 wrote to memory of 2468 2656 96549569acdd6bd65725091591e32736_JaffaCakes118.exe 30 -
System policy modification 1 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\96549569acdd6bd65725091591e32736_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\96549569acdd6bd65725091591e32736_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- 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:2656 -
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
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:2468
-
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.5MB
MD596549569acdd6bd65725091591e32736
SHA10bb0b4ac17386871558b50e1849eeaa7fc334c48
SHA256d02ff86502bfa662130c3f7696b096d26583df7ac790253d01a45cd7a533bdc5
SHA5120c58e49c4c66c0d29140dcdca3f5cb9edefaa715e998470b2e4b96a36277bb761260b4c5dbe896f3fc27c12026e8d75c5c96fefaa53571305d0ebbb1e6c71077