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
25-09-2024 10:14
Static task
static1
Behavioral task
behavioral1
Sample
f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe
-
Size
948KB
-
MD5
f5c7a248358807ee77d6766355b7981d
-
SHA1
d79998f78afb0607bdaa84cf254c63897d0b7a08
-
SHA256
b18d259bd1629c923de440c169cdc7b8ff75df1745b719f242be2ef7f98815c4
-
SHA512
3a56bcc61dff65d1ab2629d181a9055d2c7bcd5f09c717cae6b0d6eb28bd9a4d4b35d9f61fc6582aed0e65e7c55dbf7ca8baf0398b9f75f7d78a078a8e44c978
-
SSDEEP
24576:AT3dYE9fAq6/kiYoIhYwn9rI/VbnhFFtex1j80hTC:wdYE9g5sHId/FtYfu
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 33 IoCs
resource yara_rule behavioral2/memory/2804-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral2/memory/2804-2-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/2804-3-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/2804-5-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/2804-14-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-15-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-18-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-24-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-26-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-34-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-35-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-27-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-36-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-25-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-37-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-38-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-39-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-40-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-41-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-44-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-45-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-48-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-51-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-54-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-57-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-60-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-63-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-66-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-69-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-72-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-75-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-78-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral2/memory/3496-81-0x0000000000400000-0x0000000000519000-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-786284298-625481688-3210388970-1000\Control Panel\International\Geo\Nation f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
pid Process 3496 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 2 IoCs
Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-1000\Software\Wine f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-1000\Software\Wine mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 3496 mstwain32.exe 3496 mstwain32.exe 3496 mstwain32.exe 3496 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-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 f5c7a248358807ee77d6766355b7981d_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 -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 3496 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f5c7a248358807ee77d6766355b7981d_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 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 3496 mstwain32.exe 3496 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe Token: SeDebugPrivilege 3496 mstwain32.exe Token: SeDebugPrivilege 3496 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3496 mstwain32.exe 3496 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2804 wrote to memory of 3496 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 82 PID 2804 wrote to memory of 3496 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 82 PID 2804 wrote to memory of 3496 2804 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 82 -
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\f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe"1⤵
- Checks computer location settings
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2804 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Identifies Wine through registry keys
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:3496
-
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
3Virtualization/Sandbox Evasion
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
33KB
MD50c9f6208ede013b6d3eb6cf5a72f0c09
SHA1c97f32c276147af1be02ad87285c23f5ed303512
SHA256fbef4255164ffec778e6f07ec6bd7c1d3108091199328f06a684f1cf172f9524
SHA51211b3b04dff3f3ae080901e782968c5eedfd73e24481e8995b540f285810b785870c4208f1a74bddb177ad048750e552425b49c18b5c446107b0bab61a26044f9
-
Filesize
948KB
MD5f5c7a248358807ee77d6766355b7981d
SHA1d79998f78afb0607bdaa84cf254c63897d0b7a08
SHA256b18d259bd1629c923de440c169cdc7b8ff75df1745b719f242be2ef7f98815c4
SHA5123a56bcc61dff65d1ab2629d181a9055d2c7bcd5f09c717cae6b0d6eb28bd9a4d4b35d9f61fc6582aed0e65e7c55dbf7ca8baf0398b9f75f7d78a078a8e44c978
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350