Analysis
-
max time kernel
146s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-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 28 IoCs
resource yara_rule behavioral1/memory/2792-4-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2792-11-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2792-2-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2792-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2752-18-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-17-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-24-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-25-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-26-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-27-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-28-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-29-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-30-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-31-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-34-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-35-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-38-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-41-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-44-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-47-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-50-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-53-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-56-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-59-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-62-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-65-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-68-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2752-71-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
pid Process 2752 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-4177215427-74451935-3209572229-1000\Software\Wine f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-4177215427-74451935-3209572229-1000\Software\Wine mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4177215427-74451935-3209572229-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 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 2752 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe -
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 2 IoCs
pid Process 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 2752 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe Token: SeDebugPrivilege 2752 mstwain32.exe Token: SeDebugPrivilege 2752 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2752 mstwain32.exe 2752 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2792 wrote to memory of 2752 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 30 PID 2792 wrote to memory of 2752 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 30 PID 2792 wrote to memory of 2752 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 30 PID 2792 wrote to memory of 2752 2792 f5c7a248358807ee77d6766355b7981d_JaffaCakes118.exe 30 -
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⤵
- 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:2792 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Identifies Wine through registry keys
- 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:2752
-
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
948KB
MD5f5c7a248358807ee77d6766355b7981d
SHA1d79998f78afb0607bdaa84cf254c63897d0b7a08
SHA256b18d259bd1629c923de440c169cdc7b8ff75df1745b719f242be2ef7f98815c4
SHA5123a56bcc61dff65d1ab2629d181a9055d2c7bcd5f09c717cae6b0d6eb28bd9a4d4b35d9f61fc6582aed0e65e7c55dbf7ca8baf0398b9f75f7d78a078a8e44c978