Analysis
-
max time kernel
148s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
24-09-2024 09:43
Behavioral task
behavioral1
Sample
f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe
-
Size
278KB
-
MD5
f35b8f4df7b2dbba4f7fa95c037c0ab0
-
SHA1
290b416e87f950d94a8ee286add004b1c3df98eb
-
SHA256
0faca1aba9dada25f3a97a5f4627c659fa2574b2fdc7f1e445e399514203b5d0
-
SHA512
5104c43b3d69fcc3800d8e2b5fd85c5c0ef4841922f36de0111a867992d31b68898147fbefafa55f4a1bbc33974c37ae194db5b1e93fc90c8ef71d14be9c6643
-
SSDEEP
6144:yGyjnBSkuV1d4eZd88ORJIf/wTB4n53Bpc:hYnBSkuVUeZdYqwTQ
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 16 IoCs
resource yara_rule behavioral2/files/0x000400000001daab-5.dat modiloader_stage2 behavioral2/memory/3016-11-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-27-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-30-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-33-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-36-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-39-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-42-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-45-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-48-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-51-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-54-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-57-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-60-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-63-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 behavioral2/memory/3892-66-0x0000000000400000-0x000000000044D000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 3892 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 3892 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 3892 mstwain32.exe 3892 mstwain32.exe 3892 mstwain32.exe 3892 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA f35b8f4df7b2dbba4f7fa95c037c0ab0_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
description ioc Process File created C:\Windows\mstwain32.exe f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f35b8f4df7b2dbba4f7fa95c037c0ab0_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).
-
System Location Discovery: System Language Discovery 1 TTPs 2 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3016 f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe Token: SeBackupPrivilege 1396 vssvc.exe Token: SeRestorePrivilege 1396 vssvc.exe Token: SeAuditPrivilege 1396 vssvc.exe Token: SeDebugPrivilege 3892 mstwain32.exe Token: SeDebugPrivilege 3892 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3892 mstwain32.exe 3892 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 3016 wrote to memory of 3892 3016 f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe 87 PID 3016 wrote to memory of 3892 3016 f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe 87 PID 3016 wrote to memory of 3892 3016 f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe 87 -
System policy modification 1 TTPs 1 IoCs
description 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\f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f35b8f4df7b2dbba4f7fa95c037c0ab0_JaffaCakes118.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3016 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\f35b8f4df7b2dbba4f7fa95c037c0ab0_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
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:3892
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1396
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
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Impair Defenses
1Disable or Modify Tools
1Modify Registry
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
32KB
MD5032e1a55b740dc24d57b4d4f0283de7f
SHA1df2b519ffcf9d40ed9684079573828cd9228fe28
SHA2562467bc6f798b123172b58747e496fda877d59956ff1868078c4536dc776c46f7
SHA512e43612600402b755547593b021f7cbf41423494bb56fb6eb9535b9e50a241be931be7bcf23200d0969885dde19c82978f285cc509778fa84bbbf1700dc428404
-
Filesize
278KB
MD5f35b8f4df7b2dbba4f7fa95c037c0ab0
SHA1290b416e87f950d94a8ee286add004b1c3df98eb
SHA2560faca1aba9dada25f3a97a5f4627c659fa2574b2fdc7f1e445e399514203b5d0
SHA5125104c43b3d69fcc3800d8e2b5fd85c5c0ef4841922f36de0111a867992d31b68898147fbefafa55f4a1bbc33974c37ae194db5b1e93fc90c8ef71d14be9c6643
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350