Analysis
-
max time kernel
148s -
max time network
157s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
17-06-2024 09:46
Behavioral task
behavioral1
Sample
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe
Resource
win10v2004-20240226-en
General
-
Target
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe
-
Size
270KB
-
MD5
b7f8816f98231848635192696ec1d2ad
-
SHA1
30b4e445156ce7264ba8786ddb62eb8bf9262a71
-
SHA256
cd968d7bd3ecb87b2871973d7272d2faa3029be6b8943ddf21242c8db5a29f72
-
SHA512
1b611bb0dbb07b9dd00f1bce222aa8b21008b3d738254d6323361cbb5900d071ef2d25d4d766d7fa0de857b7dc0fed0bcc26c2df27a3626512b04eee962dd923
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53npcCJJvH:Zr7xS2Vp6FwTwbJJvH
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/4888-0-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 C:\Windows\mstwain32.exe modiloader_stage2 behavioral2/memory/4888-11-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-27-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-30-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-33-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-36-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-39-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-42-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-45-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-48-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-51-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-54-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-57-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-60-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1420-63-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:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Control Panel\International\Geo\Nation b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 1420 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid process 1420 mstwain32.exe 1420 mstwain32.exe 1420 mstwain32.exe 1420 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:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA b7f8816f98231848635192696ec1d2ad_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:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe b7f8816f98231848635192696ec1d2ad_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:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 4888 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe Token: SeBackupPrivilege 2140 vssvc.exe Token: SeRestorePrivilege 2140 vssvc.exe Token: SeAuditPrivilege 2140 vssvc.exe Token: SeDebugPrivilege 1420 mstwain32.exe Token: SeDebugPrivilege 1420 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 1420 mstwain32.exe 1420 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exedescription pid process target process PID 4888 wrote to memory of 1420 4888 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe mstwain32.exe PID 4888 wrote to memory of 1420 4888 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe mstwain32.exe PID 4888 wrote to memory of 1420 4888 b7f8816f98231848635192696ec1d2ad_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\b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\b7f8816f98231848635192696ec1d2ad_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\b7f8816f98231848635192696ec1d2ad_JaffaCakes118.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
-
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=1416 --field-trial-handle=3240,i,13319578961094268484,16557498665191861597,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
MD52b04cbdb311711b202924a68963fda1b
SHA1bc3aeea8b2e9cd25beda8750ea7b43b2e66f263b
SHA2567d4c6d26d83da626c17d7f22baa585eb26feea67a8a6cb54376cef47b8e69a9e
SHA5123db7a80c44c62bfec106c83529684e197b2c8f13074b83dc4c92184201db49c4e38f162842531dc470f3c578073691a37dcaad593386f60c33a19f93966b9a15
-
C:\Windows\mstwain32.exeFilesize
270KB
MD5b7f8816f98231848635192696ec1d2ad
SHA130b4e445156ce7264ba8786ddb62eb8bf9262a71
SHA256cd968d7bd3ecb87b2871973d7272d2faa3029be6b8943ddf21242c8db5a29f72
SHA5121b611bb0dbb07b9dd00f1bce222aa8b21008b3d738254d6323361cbb5900d071ef2d25d4d766d7fa0de857b7dc0fed0bcc26c2df27a3626512b04eee962dd923
-
C:\Windows\ntdtcstp.dllFilesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
-
memory/1420-30-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-36-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-19-0x00000000020D0000-0x00000000020D1000-memory.dmpFilesize
4KB
-
memory/1420-63-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-23-0x0000000003220000-0x000000000322E000-memory.dmpFilesize
56KB
-
memory/1420-26-0x00000000030D0000-0x00000000030D1000-memory.dmpFilesize
4KB
-
memory/1420-27-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-29-0x0000000003220000-0x000000000322E000-memory.dmpFilesize
56KB
-
memory/1420-28-0x0000000002120000-0x0000000002128000-memory.dmpFilesize
32KB
-
memory/1420-60-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-33-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-57-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-39-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-42-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-45-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-48-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-51-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1420-54-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/4888-11-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/4888-0-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/4888-1-0x0000000000720000-0x0000000000721000-memory.dmpFilesize
4KB