Analysis
-
max time kernel
146s -
max time network
159s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
22-05-2024 23:59
Behavioral task
behavioral1
Sample
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe
Resource
win10v2004-20240226-en
General
-
Target
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe
-
Size
270KB
-
MD5
691343b44b33b95e16250d29a8a888d7
-
SHA1
561e94dfb321aa5f17f30f1dc58b2ece398e6287
-
SHA256
0dd42d20a7e238c1d39138d3d7898f4b12fbe9f86587ee7dbbb27b93aaaf9c32
-
SHA512
adc000c944f583188e4ff23c23c73cc2454b2f244ac3bde468459f64c701f2e7308d41daabaf79353c35c99cddebffc41235231961b78244b3ce561ffc8eef46
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz537pcCJJvH: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 behavioral2/memory/2720-0-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 C:\Windows\mstwain32.exe modiloader_stage2 behavioral2/memory/2720-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3384-62-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:
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Control Panel\International\Geo\Nation 691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 3384 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 3384 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid process 3384 mstwain32.exe 3384 mstwain32.exe 3384 mstwain32.exe 3384 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-3808065738-1666277613-1125846146-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 691343b44b33b95e16250d29a8a888d7_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:
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe 691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 691343b44b33b95e16250d29a8a888d7_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:
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 2720 691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe Token: SeBackupPrivilege 4960 vssvc.exe Token: SeRestorePrivilege 4960 vssvc.exe Token: SeAuditPrivilege 4960 vssvc.exe Token: SeDebugPrivilege 3384 mstwain32.exe Token: SeDebugPrivilege 3384 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 3384 mstwain32.exe 3384 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exedescription pid process target process PID 2720 wrote to memory of 3384 2720 691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe mstwain32.exe PID 2720 wrote to memory of 3384 2720 691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe mstwain32.exe PID 2720 wrote to memory of 3384 2720 691343b44b33b95e16250d29a8a888d7_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\691343b44b33b95e16250d29a8a888d7_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\691343b44b33b95e16250d29a8a888d7_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\691343b44b33b95e16250d29a8a888d7_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
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4160 --field-trial-handle=2304,i,6987730730348465820,3913273227385401271,262144 --variations-seed-version /prefetch:81⤵
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
MD59ab4a63fa6ffa4848eccd890af665389
SHA1bb8610d8f777a62cc4d1ca602d9b6677b10ce47d
SHA256e1429b601db5e7141e21e93edda1d3dad17208133bbba696758370a3c35bf72e
SHA512814a27c29bfa49185213e52369c3a8dcfe60bc2f728c3a2afbfd572a61d3fa07fd273483ce41c09369877a877d83d6a9e1bd794d2aeef3de4ed25abf50c4b84e
-
C:\Windows\mstwain32.exeFilesize
270KB
MD5691343b44b33b95e16250d29a8a888d7
SHA1561e94dfb321aa5f17f30f1dc58b2ece398e6287
SHA2560dd42d20a7e238c1d39138d3d7898f4b12fbe9f86587ee7dbbb27b93aaaf9c32
SHA512adc000c944f583188e4ff23c23c73cc2454b2f244ac3bde468459f64c701f2e7308d41daabaf79353c35c99cddebffc41235231961b78244b3ce561ffc8eef46
-
C:\Windows\ntdtcstp.dllFilesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
-
memory/2720-10-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2720-0-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-27-0x00000000005D0000-0x00000000005D8000-memory.dmpFilesize
32KB
-
memory/3384-38-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-25-0x0000000002160000-0x0000000002161000-memory.dmpFilesize
4KB
-
memory/3384-26-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-28-0x0000000002170000-0x000000000217E000-memory.dmpFilesize
56KB
-
memory/3384-18-0x00000000005C0000-0x00000000005C1000-memory.dmpFilesize
4KB
-
memory/3384-29-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-32-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-35-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-22-0x0000000002170000-0x000000000217E000-memory.dmpFilesize
56KB
-
memory/3384-41-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-44-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-47-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-50-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-53-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-56-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-59-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/3384-62-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB