Analysis
-
max time kernel
148s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20240426-en -
resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-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 behavioral2/memory/4496-9-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-25-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-28-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-31-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-34-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-37-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-40-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-43-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-46-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-49-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-52-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-55-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-58-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-61-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2912-64-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1162180587-977231257-2194346871-1000\Control Panel\International\Geo\Nation 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 2912 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2912 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid process 2912 mstwain32.exe 2912 mstwain32.exe 2912 mstwain32.exe 2912 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-1162180587-977231257-2194346871-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 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exemstwain32.exedescription pid process Token: SeDebugPrivilege 4496 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe Token: SeDebugPrivilege 2912 mstwain32.exe Token: SeDebugPrivilege 2912 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2912 mstwain32.exe 2912 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exedescription pid process target process PID 4496 wrote to memory of 2912 4496 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe mstwain32.exe PID 4496 wrote to memory of 2912 4496 8bdeac226552fb683eff2f43cd79ac15_JaffaCakes118.exe mstwain32.exe PID 4496 wrote to memory of 2912 4496 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 computer location settings
- 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
- Loads dropped DLL
- 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\cmsetac.dllFilesize
33KB
MD59181c7e1eda61f0a7a0fb5274af16c34
SHA1b94853848d9cd45d322830d443650918b52783b3
SHA2563f3c433c36af8bcb290a23e94cd276e17b269b6094679f740242f591e712ee70
SHA5128a20253e4990fe732cae66f0cc81350ac3a4b33f474bbb06b1d275e8bb6eeb2e07bfec79e00590e57cabf92b52cfa2e6caec7b45276a97c2da0c74522323a674
-
C:\Windows\mstwain32.exeFilesize
270KB
MD58bdeac226552fb683eff2f43cd79ac15
SHA1cb40b583d0feaa8355edcc4e7fe889d60d456492
SHA25644422c987d161f2c41450fc0bfad5eaee5668ff13e37a492c0d078ecd0a7aab0
SHA512033cb79abe0e8fc3025fafb1f4a098b7941c9ce07da9b2da3f5540bac2c8439b6098759d3200d349636af1f26e41db0086244be6496f79bace0dd2bc17d2dfce
-
C:\Windows\ntdtcstp.dllFilesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
-
memory/2912-31-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-37-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-64-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-21-0x00000000028E0000-0x00000000028EE000-memory.dmpFilesize
56KB
-
memory/2912-24-0x0000000002440000-0x0000000002441000-memory.dmpFilesize
4KB
-
memory/2912-25-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-27-0x00000000028E0000-0x00000000028EE000-memory.dmpFilesize
56KB
-
memory/2912-26-0x0000000002220000-0x0000000002228000-memory.dmpFilesize
32KB
-
memory/2912-28-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-61-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-34-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-17-0x0000000000920000-0x0000000000921000-memory.dmpFilesize
4KB
-
memory/2912-40-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-43-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-46-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-49-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-52-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-55-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2912-58-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/4496-0-0x0000000000A30000-0x0000000000A31000-memory.dmpFilesize
4KB
-
memory/4496-9-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB