Analysis
-
max time kernel
143s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
17-09-2024 21:07
Static task
static1
Behavioral task
behavioral1
Sample
e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe
-
Size
156KB
-
MD5
e7b4762de6d4aac1006208528bcb64b7
-
SHA1
7290e1f8f86c920afcb4d69d2457405a2fd81eb6
-
SHA256
26013d28a8f50f5a18f3e622ecb4768941b80e339152f780208ec969c95cd506
-
SHA512
b4ac8a0d8eb74bba44844a86d9d967ba99a8dd57a738cc2f4477beb160d60eecfe19233830ad4da1fa178d996320624bed42bad9940243826bc2258ca4731362
-
SSDEEP
3072:N51SnWoirS3D6wKboy8j7VnNdrPHaSekwi+mW+2NsZt2xjoutI:D1SnWpZ8jZ7rvaU3+mWrNsH8oSI
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 28 IoCs
resource yara_rule behavioral2/memory/2028-8-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2028-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2028-9-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2028-18-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-31-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-32-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-33-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-34-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-41-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-49-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-58-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-61-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-64-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-85-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-88-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4220-91-0x0000000000400000-0x0000000000450000-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-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 1064 mstwain32.exe 4220 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4220 mstwain32.exe 4220 mstwain32.exe 4220 mstwain32.exe 4220 mstwain32.exe -
resource yara_rule behavioral2/memory/2028-1-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-0-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-9-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2028-18-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-31-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-32-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-33-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-34-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-49-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-58-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-61-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-64-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-85-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-88-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4220-91-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2708 set thread context of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 1064 set thread context of 4220 1064 mstwain32.exe 89 -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 4 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 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2028 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe Token: SeBackupPrivilege 4464 vssvc.exe Token: SeRestorePrivilege 4464 vssvc.exe Token: SeAuditPrivilege 4464 vssvc.exe Token: SeDebugPrivilege 4220 mstwain32.exe Token: SeDebugPrivilege 4220 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 4220 mstwain32.exe 4220 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2708 wrote to memory of 2028 2708 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 84 PID 2028 wrote to memory of 1064 2028 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 88 PID 2028 wrote to memory of 1064 2028 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 88 PID 2028 wrote to memory of 1064 2028 e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe 88 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 PID 1064 wrote to memory of 4220 1064 mstwain32.exe 89 -
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\e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2708 -
C:\Users\Admin\AppData\Local\Temp\e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e7b4762de6d4aac1006208528bcb64b7_JaffaCakes118.exe"2⤵
- 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:2028 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1064 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"4⤵
- UAC bypass
- 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:4220
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4464
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
33KB
MD580cfb54a956ba7a130e66ac02c1b6902
SHA1c6df6d1c24588c6cfc3ce783888a20805382976f
SHA25622db7af4aa0d7bc028ca7492481816d8477c8939ce860f1b8c107a26709fbc1b
SHA5126208cec42ef47a808ed36dc30f0bbaecbbae01608281c737cc43cd2430a65a1d2062aa80c252b5489e3ff8c86acb40208b27ccc94eab3c4635736a9f17f73da9
-
Filesize
156KB
MD5e7b4762de6d4aac1006208528bcb64b7
SHA17290e1f8f86c920afcb4d69d2457405a2fd81eb6
SHA25626013d28a8f50f5a18f3e622ecb4768941b80e339152f780208ec969c95cd506
SHA512b4ac8a0d8eb74bba44844a86d9d967ba99a8dd57a738cc2f4477beb160d60eecfe19233830ad4da1fa178d996320624bed42bad9940243826bc2258ca4731362
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350