Analysis
-
max time kernel
141s -
max time network
142s -
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:49
Static task
static1
Behavioral task
behavioral1
Sample
f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe
-
Size
938KB
-
MD5
f5d76318313fac4cb63fd2aa6e4b2394
-
SHA1
1f34489b1a6bb8037226ba8ed92794920742ba54
-
SHA256
2bf5f454cce1455b9ef9aa28f1a0bd40d9dcb4233844a19c8d4f93870c6e051a
-
SHA512
661d310eab09d54708855e0f84d3a6be6e69e6664664a2a95bf556962d3aa4d8e51b2f144bc585a437a457d29215c9fc9ff3185684b33b0a0299ebce1d3bd95b
-
SSDEEP
24576:s+1MnftMja9z3/gy06p+Y2qJvltqf+AwX1LAYSb5P0ztK102:51j6MX6MpCLrAwhAYSbtsY
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 29 IoCs
resource yara_rule behavioral2/memory/4448-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral2/memory/4448-2-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/4448-3-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/4448-5-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/4448-15-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-24-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-23-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-25-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-33-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-32-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-34-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-35-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-36-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-37-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-40-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-41-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-42-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-45-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-48-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-51-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-54-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-57-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-60-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-63-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-66-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-69-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-72-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-75-0x0000000000400000-0x00000000005FB000-memory.dmp modiloader_stage2 behavioral2/memory/3948-78-0x0000000000400000-0x00000000005FB000-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-523280732-2327480845-3730041215-1000\Control Panel\International\Geo\Nation f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
pid Process 3948 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-523280732-2327480845-3730041215-1000\Software\Wine f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-1000\Software\Wine mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 3948 mstwain32.exe 3948 mstwain32.exe 3948 mstwain32.exe 3948 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-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 f5d76318313fac4cb63fd2aa6e4b2394_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 4448 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 3948 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 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f5d76318313fac4cb63fd2aa6e4b2394_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 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4448 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 4448 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 3948 mstwain32.exe 3948 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4448 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe Token: SeDebugPrivilege 3948 mstwain32.exe Token: SeDebugPrivilege 3948 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3948 mstwain32.exe 3948 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4448 wrote to memory of 3948 4448 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 82 PID 4448 wrote to memory of 3948 4448 f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe 82 PID 4448 wrote to memory of 3948 4448 f5d76318313fac4cb63fd2aa6e4b2394_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\f5d76318313fac4cb63fd2aa6e4b2394_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f5d76318313fac4cb63fd2aa6e4b2394_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:4448 -
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:3948
-
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
MD55ff7e88f7aad22a844f75970f045e421
SHA1b5f4d74bcdd3e12d96ef5d846667b37eb81f2778
SHA256090177029380cec834e16685666be24ab2d2c0489d215722fca94e379769539d
SHA5126b4cde8f78249fe9d2f7f7b5efb170c0d2e231cc2d44d8e475baceb7b07f608a1ecd3b20734337e4ac0947fce3349c837f4978ac36d96154da3db8e7190c3c0f
-
Filesize
938KB
MD5f5d76318313fac4cb63fd2aa6e4b2394
SHA11f34489b1a6bb8037226ba8ed92794920742ba54
SHA2562bf5f454cce1455b9ef9aa28f1a0bd40d9dcb4233844a19c8d4f93870c6e051a
SHA512661d310eab09d54708855e0f84d3a6be6e69e6664664a2a95bf556962d3aa4d8e51b2f144bc585a437a457d29215c9fc9ff3185684b33b0a0299ebce1d3bd95b
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350