Analysis
-
max time kernel
148s -
max time network
119s -
platform
windows7_x64 -
resource
win7-20240419-en -
resource tags
arch:x64arch:x86image:win7-20240419-enlocale:en-usos:windows7-x64system -
submitted
01-07-2024 10:26
Behavioral task
behavioral1
Sample
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe
Resource
win7-20240419-en
Behavioral task
behavioral2
Sample
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe
Resource
win10v2004-20240611-en
General
-
Target
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe
-
Size
116KB
-
MD5
1aefe6756a4d57861c59fb9498270be5
-
SHA1
641525e347f140dd0cc3edd6413f0aa627c95c36
-
SHA256
0a88a5feca66ce14a5df509acd129ee18d1568c2901c670d7c2eaf9215a532d9
-
SHA512
3daa55edaac01196f662e9af51ebf67213f630cd3005cb0efce844216714b975c39fee93d190dcc0b8329f4abfe76109f6e9353160077d5481005ef62dd7c375
-
SSDEEP
3072:hGoy8j7VnNdrPHaSekwi+mW17CFahBout8:hm8jZ7rvaU3+mW1OYhBoS8
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Processes:
mstwain32.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 17 IoCs
Processes:
resource yara_rule behavioral1/memory/1752-14-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-23-0x0000000075D80000-0x0000000075E70000-memory.dmp modiloader_stage2 behavioral1/memory/2604-24-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-27-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-28-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-33-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-36-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-39-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-43-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-46-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-49-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-52-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-55-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-58-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-61-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-64-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 behavioral1/memory/2604-67-0x0000000000400000-0x0000000000454000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 2604 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2604 mstwain32.exe -
Processes:
resource yara_rule behavioral1/memory/1752-0-0x0000000000400000-0x0000000000454000-memory.dmp upx C:\Windows\mstwain32.exe upx behavioral1/memory/2604-15-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/1752-14-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-23-0x0000000075D80000-0x0000000075E70000-memory.dmp upx behavioral1/memory/2604-24-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-27-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-28-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-33-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-36-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-39-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-43-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-46-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-49-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-52-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-55-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-58-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-61-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-64-0x0000000000400000-0x0000000000454000-memory.dmp upx behavioral1/memory/2604-67-0x0000000000400000-0x0000000000454000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-481678230-3773327859-3495911762-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 1aefe6756a4d57861c59fb9498270be5_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:
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exemstwain32.exedescription ioc process File opened for modification C:\Windows\mstwain32.exe 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 1752 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe Token: SeBackupPrivilege 1988 vssvc.exe Token: SeRestorePrivilege 1988 vssvc.exe Token: SeAuditPrivilege 1988 vssvc.exe Token: SeDebugPrivilege 2604 mstwain32.exe Token: SeDebugPrivilege 2604 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2604 mstwain32.exe 2604 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exedescription pid process target process PID 1752 wrote to memory of 2604 1752 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe mstwain32.exe PID 1752 wrote to memory of 2604 1752 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe mstwain32.exe PID 1752 wrote to memory of 2604 1752 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe mstwain32.exe PID 1752 wrote to memory of 2604 1752 1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe mstwain32.exe -
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 -
Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Users\Admin\AppData\Local\Temp\1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe"1⤵
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\1aefe6756a4d57861c59fb9498270be5_JaffaCakes118.exe"2⤵
- UAC bypass
- Deletes itself
- Executes dropped EXE
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
Network
MITRE ATT&CK Matrix ATT&CK v13
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Windows\mstwain32.exeFilesize
116KB
MD51aefe6756a4d57861c59fb9498270be5
SHA1641525e347f140dd0cc3edd6413f0aa627c95c36
SHA2560a88a5feca66ce14a5df509acd129ee18d1568c2901c670d7c2eaf9215a532d9
SHA5123daa55edaac01196f662e9af51ebf67213f630cd3005cb0efce844216714b975c39fee93d190dcc0b8329f4abfe76109f6e9353160077d5481005ef62dd7c375
-
memory/1752-12-0x0000000003710000-0x0000000003764000-memory.dmpFilesize
336KB
-
memory/1752-1-0x00000000002C0000-0x00000000002C1000-memory.dmpFilesize
4KB
-
memory/1752-11-0x0000000002810000-0x0000000002820000-memory.dmpFilesize
64KB
-
memory/1752-0-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/1752-14-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/1752-13-0x0000000003710000-0x0000000003764000-memory.dmpFilesize
336KB
-
memory/2604-25-0x0000000000270000-0x0000000000278000-memory.dmpFilesize
32KB
-
memory/2604-32-0x0000000075D80000-0x0000000075E70000-memory.dmpFilesize
960KB
-
memory/2604-20-0x0000000000460000-0x000000000046E000-memory.dmpFilesize
56KB
-
memory/2604-23-0x0000000075D80000-0x0000000075E70000-memory.dmpFilesize
960KB
-
memory/2604-22-0x0000000075D90000-0x0000000075D91000-memory.dmpFilesize
4KB
-
memory/2604-24-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-26-0x0000000000460000-0x000000000046E000-memory.dmpFilesize
56KB
-
memory/2604-15-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-27-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-28-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-31-0x0000000075D80000-0x0000000075E70000-memory.dmpFilesize
960KB
-
memory/2604-19-0x0000000000260000-0x0000000000261000-memory.dmpFilesize
4KB
-
memory/2604-33-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-36-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-39-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-43-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-46-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-49-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-52-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-55-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-58-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-61-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-64-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB
-
memory/2604-67-0x0000000000400000-0x0000000000454000-memory.dmpFilesize
336KB