Analysis
-
max time kernel
147s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240508-en -
resource tags
arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system -
submitted
01-06-2024 21:38
Behavioral task
behavioral1
Sample
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe
Resource
win10v2004-20240426-en
General
-
Target
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe
-
Size
270KB
-
MD5
8bdeac226552fb683eff2f43cd79ac15
-
SHA1
cb40b583d0feaa8355edcc4e7fe889d60d456492
-
SHA256
44422c987d161f2c41450fc0bfad5eaee5668ff13e37a492c0d078ecd0a7aab0
-
SHA512
033cb79abe0e8fc3025fafb1f4a098b7941c9ce07da9b2da3f5540bac2c8439b6098759d3200d349636af1f26e41db0086244be6496f79bace0dd2bc17d2dfce
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53OD3pcCJJvH:Zr7xS2Vp6FwTt3bJJvH
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 16 IoCs
Processes:
resource yara_rule C:\Windows\mstwain32.exe modiloader_stage2 behavioral1/memory/2364-8-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-17-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-20-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-23-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2888-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 2888 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2888 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-3691908287-3775019229-3534252667-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 8bdeac226552fb683eff2f43cd79ac15_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:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exemstwain32.exedescription pid process Token: SeDebugPrivilege 2364 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe Token: SeDebugPrivilege 2888 mstwain32.exe Token: SeDebugPrivilege 2888 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2888 mstwain32.exe 2888 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exedescription pid process target process PID 2364 wrote to memory of 2888 2364 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe mstwain32.exe PID 2364 wrote to memory of 2888 2364 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe mstwain32.exe PID 2364 wrote to memory of 2888 2364 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe mstwain32.exe PID 2364 wrote to memory of 2888 2364 8bdeac226552fb683eff2f43cd79ac15_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
Processes
-
C:\Users\Admin\AppData\Local\Temp\8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\8bdeac226552fb683eff2f43cd79ac15_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\8bdeac226552fb683eff2f43cd79ac15_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
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
270KB
MD58bdeac226552fb683eff2f43cd79ac15
SHA1cb40b583d0feaa8355edcc4e7fe889d60d456492
SHA25644422c987d161f2c41450fc0bfad5eaee5668ff13e37a492c0d078ecd0a7aab0
SHA512033cb79abe0e8fc3025fafb1f4a098b7941c9ce07da9b2da3f5540bac2c8439b6098759d3200d349636af1f26e41db0086244be6496f79bace0dd2bc17d2dfce
-
memory/2364-0-0x00000000003E0000-0x00000000003E1000-memory.dmpFilesize
4KB
-
memory/2364-8-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-20-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-26-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-15-0x00000000760C0000-0x00000000760C1000-memory.dmpFilesize
4KB
-
memory/2888-16-0x00000000760B0000-0x00000000761A0000-memory.dmpFilesize
960KB
-
memory/2888-17-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-19-0x00000000005E0000-0x00000000005EE000-memory.dmpFilesize
56KB
-
memory/2888-18-0x0000000000300000-0x0000000000308000-memory.dmpFilesize
32KB
-
memory/2888-12-0x00000000002B0000-0x00000000002B1000-memory.dmpFilesize
4KB
-
memory/2888-23-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-13-0x00000000005E0000-0x00000000005EE000-memory.dmpFilesize
56KB
-
memory/2888-29-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-32-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-35-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-38-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-41-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-44-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-47-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-50-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-53-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2888-56-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB