Analysis
-
max time kernel
143s -
max time network
144s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
27/11/2024, 13:53
Static task
static1
Behavioral task
behavioral1
Sample
a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe
-
Size
188KB
-
MD5
a8274fe687be6f6bbb3ff0ce2bb02747
-
SHA1
4cb7570be4ef478bce408b3a9d441ec8e805f4e4
-
SHA256
f4199919be88334675a18ec131c1ffe65690a1e0b725e3d44a9244af7b2353b1
-
SHA512
530571ae5ca0bab3aa75f72dbee1aa2bab6dac3fca3a9abde80cab028b70b394e092459af270e4a38e95bd2ffdb2612c46dd311171726e9b4197fa498158dffe
-
SSDEEP
3072:LMeTnBZXXA98/MUB6Tj/rm1NkYg0JH2qq7d2LeadFraelSk6sDtFYuFZd966lH:LRnBZXw9lr/dP0Byx2e49l36sDrY6O6t
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 24 IoCs
resource yara_rule behavioral2/memory/3296-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3296-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/3296-20-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-31-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-38-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-46-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-49-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-53-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-59-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-62-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-65-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-68-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-71-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-74-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-77-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-80-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-83-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2800-86-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-3756129449-3121373848-4276368241-1000\Control Panel\International\Geo\Nation a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 4020 mstwain32.exe 2800 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2800 mstwain32.exe 2800 mstwain32.exe 2800 mstwain32.exe 2800 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-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 a8274fe687be6f6bbb3ff0ce2bb02747_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 1104 set thread context of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 4020 set thread context of 2800 4020 mstwain32.exe 87 -
resource yara_rule behavioral2/memory/3296-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3296-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3296-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3296-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/3296-20-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-31-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-38-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-46-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-49-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-53-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-59-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-62-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-65-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-68-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-71-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-74-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-77-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-80-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-83-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2800-86-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe a8274fe687be6f6bbb3ff0ce2bb02747_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 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language a8274fe687be6f6bbb3ff0ce2bb02747_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 3296 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe Token: SeBackupPrivilege 1144 vssvc.exe Token: SeRestorePrivilege 1144 vssvc.exe Token: SeAuditPrivilege 1144 vssvc.exe Token: SeDebugPrivilege 2800 mstwain32.exe Token: SeDebugPrivilege 2800 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 4020 mstwain32.exe 2800 mstwain32.exe 2800 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 1104 wrote to memory of 3296 1104 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 82 PID 3296 wrote to memory of 4020 3296 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 86 PID 3296 wrote to memory of 4020 3296 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 86 PID 3296 wrote to memory of 4020 3296 a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe 86 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.exe 87 PID 4020 wrote to memory of 2800 4020 mstwain32.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\a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1104 -
C:\Users\Admin\AppData\Local\Temp\a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe2⤵
- 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:3296 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\a8274fe687be6f6bbb3ff0ce2bb02747_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4020 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" A0E4⤵
- 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:2800
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1144
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
MD5ef42b1b2960640fbcde8fdd9192bfc36
SHA1394af2f381d54a80dfba7581a01ea96114d5df67
SHA2569412894e4d3675c6ae5cc91ae2342c36adcdf3bc9a23aac131d3b69bc8bf8b9f
SHA512baf595d95e6ed2bd856b62f316c7d8c342ef28cd9bff0cf5f22dd49b39674a681e0b6e791b7c866fdb11d5b51267523016ba02e5a5d5d731a54731cd7ab3a55c
-
Filesize
188KB
MD5a8274fe687be6f6bbb3ff0ce2bb02747
SHA14cb7570be4ef478bce408b3a9d441ec8e805f4e4
SHA256f4199919be88334675a18ec131c1ffe65690a1e0b725e3d44a9244af7b2353b1
SHA512530571ae5ca0bab3aa75f72dbee1aa2bab6dac3fca3a9abde80cab028b70b394e092459af270e4a38e95bd2ffdb2612c46dd311171726e9b4197fa498158dffe
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350