Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
14-05-2024 20:33
Behavioral task
behavioral1
Sample
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe
Resource
win10v2004-20240508-en
General
-
Target
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe
-
Size
308KB
-
MD5
42f491944de28a22641978b4e94b1a45
-
SHA1
806c3c7c72c2f3adbdf724d54fca89a291a06a85
-
SHA256
f1316532c633dddc4f42156ec50e019b755c9a128e0d7a788946d8e0b9e31adc
-
SHA512
2f049f11e72d439303106290799e27a8545125c0af1ae416e03f444753cbf5521979c9aa8e839186e408ba7dbd88884eb5c23a51529c98d61bc567d4b6888a6d
-
SSDEEP
6144:w1G377xS2Vp2CeiorXhwTBOdeWIY4Afm53wpcCJJvH:wYr7xS2Vp6FwTnWIYzTbJJvH
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/3632-9-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-26-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-29-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-32-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-35-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-38-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-41-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-44-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-47-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-50-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-53-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-56-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-59-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-62-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 behavioral2/memory/2296-65-0x0000000000400000-0x0000000000455000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation 42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2296 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid process 2296 mstwain32.exe 2296 mstwain32.exe 2296 mstwain32.exe 2296 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-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 42f491944de28a22641978b4e94b1a45_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:
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe 42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 42f491944de28a22641978b4e94b1a45_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 6 IoCs
Processes:
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 3632 42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe Token: SeBackupPrivilege 2300 vssvc.exe Token: SeRestorePrivilege 2300 vssvc.exe Token: SeAuditPrivilege 2300 vssvc.exe Token: SeDebugPrivilege 2296 mstwain32.exe Token: SeDebugPrivilege 2296 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2296 mstwain32.exe 2296 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
42f491944de28a22641978b4e94b1a45_JaffaCakes118.exedescription pid process target process PID 3632 wrote to memory of 2296 3632 42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe mstwain32.exe PID 3632 wrote to memory of 2296 3632 42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe mstwain32.exe PID 3632 wrote to memory of 2296 3632 42f491944de28a22641978b4e94b1a45_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\42f491944de28a22641978b4e94b1a45_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\42f491944de28a22641978b4e94b1a45_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
PID:3632 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- 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
PID:2296
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2300
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
33KB
MD54f61158d1c832a5e34e86d7daeaa808e
SHA1f80bbfe3654fe21ffc66cdbdff0e39072443485b
SHA256aef7d35a5cd2e5a6aaf7804d62ec7855162f4165582cc175774779a28453159f
SHA512b5e043219702a625045d5df5258534f41d7cf296a5c281526cadcff52eda97f4076c74643ea92fb2539b52f84700d904d15cd2d6db2674f3fd143fa10ef8f41f
-
Filesize
308KB
MD542f491944de28a22641978b4e94b1a45
SHA1806c3c7c72c2f3adbdf724d54fca89a291a06a85
SHA256f1316532c633dddc4f42156ec50e019b755c9a128e0d7a788946d8e0b9e31adc
SHA5122f049f11e72d439303106290799e27a8545125c0af1ae416e03f444753cbf5521979c9aa8e839186e408ba7dbd88884eb5c23a51529c98d61bc567d4b6888a6d
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350