Analysis
-
max time kernel
149s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
04-12-2024 23:39
Behavioral task
behavioral1
Sample
c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe
-
Size
109KB
-
MD5
c4ddbd896ea2a93b7628a09059e8653d
-
SHA1
ff35437292f53bfb98f957dc70886fec397e68f5
-
SHA256
d2ea24ff01b11eefa89f8b8ecf3c22d4d7ec20e1b4ae582336cb39b3a0c789b4
-
SHA512
0c7a23122e3723e9f8b0af1fdf084762dce9eb8c5596477e7f4fd25384ebc33de35abd2222b123bae333460db5def723a22a35c9b97c02d8430522b164580283
-
SSDEEP
3072:9oy8j7VnNdrPHaSekwi+mWfZXoCiLk/P0out:d8jZ7rvaU3+mWzi80oS
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 16 IoCs
resource yara_rule behavioral2/memory/1004-11-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-27-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-28-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-31-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-34-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-37-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-40-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-43-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-46-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-49-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-52-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-55-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-58-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-61-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-64-0x0000000000400000-0x0000000000451000-memory.dmp modiloader_stage2 behavioral2/memory/3252-67-0x0000000000400000-0x0000000000451000-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 c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 3252 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 3252 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 3252 mstwain32.exe 3252 mstwain32.exe 3252 mstwain32.exe 3252 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 Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA c4ddbd896ea2a93b7628a09059e8653d_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 -
resource yara_rule behavioral2/memory/1004-0-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/files/0x0008000000023c5d-6.dat upx behavioral2/memory/1004-11-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-27-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-28-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-31-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-34-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-37-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-40-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-43-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-46-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-49-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-52-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-55-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-58-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-61-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-64-0x0000000000400000-0x0000000000451000-memory.dmp upx behavioral2/memory/3252-67-0x0000000000400000-0x0000000000451000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe c4ddbd896ea2a93b7628a09059e8653d_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 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 c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1004 c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe Token: SeDebugPrivilege 3252 mstwain32.exe Token: SeDebugPrivilege 3252 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3252 mstwain32.exe 3252 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 1004 wrote to memory of 3252 1004 c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe 86 PID 1004 wrote to memory of 3252 1004 c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe 86 PID 1004 wrote to memory of 3252 1004 c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe 86 -
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
Processes
-
C:\Users\Admin\AppData\Local\Temp\c4ddbd896ea2a93b7628a09059e8653d_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\c4ddbd896ea2a93b7628a09059e8653d_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:1004 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\c4ddbd896ea2a93b7628a09059e8653d_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:3252
-
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
MD5daf87f9c2b396f9f13657d6eb838da15
SHA191fdccce7a01addaee851db3adca10786462ddbf
SHA25603d879079e28164aa39484747a90e14e52e7c02d637e1f7936d7c6ec99039222
SHA512673d057bf0813738f42643b67c1a3f7703eafa90294eb4d036e1537740fa95c4de847380bdef08a413397c4923401dcf9b8bb3aa77ddd3b536918fd2815319de
-
Filesize
109KB
MD5c4ddbd896ea2a93b7628a09059e8653d
SHA1ff35437292f53bfb98f957dc70886fec397e68f5
SHA256d2ea24ff01b11eefa89f8b8ecf3c22d4d7ec20e1b4ae582336cb39b3a0c789b4
SHA5120c7a23122e3723e9f8b0af1fdf084762dce9eb8c5596477e7f4fd25384ebc33de35abd2222b123bae333460db5def723a22a35c9b97c02d8430522b164580283
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350