Analysis
-
max time kernel
142s -
max time network
142s -
platform
windows10-2004_x64 -
resource
win10v2004-20240419-en -
resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system -
submitted
07-05-2024 04:21
Behavioral task
behavioral1
Sample
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe
Resource
win7-20231129-en
Behavioral task
behavioral2
Sample
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe
Resource
win10v2004-20240419-en
General
-
Target
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe
-
Size
270KB
-
MD5
1f6dd8abec7ed164e5663c9324f68839
-
SHA1
1c0fa8ed470522a45c9b06e1a614d7cf877ee1a9
-
SHA256
b902253ab20c158fbec990c5335d1609a2f467ccc74fa40ab91b6f36cd126a2c
-
SHA512
36c8b92dc77caa00ea961ce2b806e35db3d9157a86ed62fa857489800130f2120aea14d686481520639cc3633104dba142e03aad67e27316f69173d911435e13
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53VpcCJJvH:Zr7xS2Vp6FwTObJJvH
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/1056-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2648-65-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:
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-17203666-93769886-2545153620-1000\Control Panel\International\Geo\Nation 1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 2648 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2648 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid process 2648 mstwain32.exe 2648 mstwain32.exe 2648 mstwain32.exe 2648 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-17203666-93769886-2545153620-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 1f6dd8abec7ed164e5663c9324f68839_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:
mstwain32.exe1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exedescription ioc process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe File created C:\Windows\ntdtcstp.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:
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 1056 1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe Token: SeBackupPrivilege 4604 vssvc.exe Token: SeRestorePrivilege 4604 vssvc.exe Token: SeAuditPrivilege 4604 vssvc.exe Token: SeDebugPrivilege 2648 mstwain32.exe Token: SeDebugPrivilege 2648 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2648 mstwain32.exe 2648 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exedescription pid process target process PID 1056 wrote to memory of 2648 1056 1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe mstwain32.exe PID 1056 wrote to memory of 2648 1056 1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe mstwain32.exe PID 1056 wrote to memory of 2648 1056 1f6dd8abec7ed164e5663c9324f68839_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\1f6dd8abec7ed164e5663c9324f68839_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\1f6dd8abec7ed164e5663c9324f68839_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:1056 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\1f6dd8abec7ed164e5663c9324f68839_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
PID:2648
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4604
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
MD5c3db761f339e38c7f3fbf9693fec7f46
SHA177d91c8cd2bd9284c63f6b03673a013c7d4b12f1
SHA256a87a2ca3d6499981f0767c9459d773d658c85f852ea811f5a1374dcab17d3d12
SHA512e4b03052cef0b0e749bd78297fdfee86390fcf1bd84e552538a94401b515fe7fc4881dc3ac8024847ff007aa90a9f74413bb653f7bf37ddd40dc109640652bbe
-
Filesize
270KB
MD51f6dd8abec7ed164e5663c9324f68839
SHA11c0fa8ed470522a45c9b06e1a614d7cf877ee1a9
SHA256b902253ab20c158fbec990c5335d1609a2f467ccc74fa40ab91b6f36cd126a2c
SHA51236c8b92dc77caa00ea961ce2b806e35db3d9157a86ed62fa857489800130f2120aea14d686481520639cc3633104dba142e03aad67e27316f69173d911435e13
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350