Analysis
-
max time kernel
145s -
max time network
154s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
21-01-2025 09:42
Behavioral task
behavioral1
Sample
JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe
-
Size
774KB
-
MD5
03a920cd62b4c44eda6e2857b532d6a3
-
SHA1
a45c0bd1c255ec47c916666a7e86cdf9d75815aa
-
SHA256
5033172956fe381096c27a8858767dbed7c02f7d869b5d54ac4dfd0fb3c89143
-
SHA512
c7600e74539c36c046ae0d089564ac0fae0284c7621ea74a91583633058e18f7d783b927eca86a71f21b1c9ddc463456fe8d4ed2b28124990bcd58c59464a547
-
SSDEEP
12288:GiFfVrpswmg4VB9SJ8ejh/rMNYlofJCwzX8fFI7sAbFSAMB8JAmUnILyVpmb:rFfhLoBMJPjnyswoO75/M+rU3pmb
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
UAC bypass 3 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 34 IoCs
resource yara_rule behavioral1/memory/2544-2-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2544-3-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-4-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-5-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-6-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-7-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-8-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-9-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-12-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/2544-21-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-26-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-25-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-33-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-34-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-30-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-35-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-36-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-37-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-38-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-42-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-39-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-43-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-44-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-47-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-50-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-54-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-57-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-60-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-63-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-66-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-69-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-72-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-75-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 behavioral1/memory/1252-78-0x0000000000400000-0x00000000005BA000-memory.dmp modiloader_stage2 -
resource yara_rule behavioral1/files/0x00060000000055de-19.dat aspack_v212_v242 -
Deletes itself 1 IoCs
pid Process 1252 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 1252 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-3692679935-4019334568-335155002-1000\Software\Wine mstwain32.exe Key opened \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-1000\Software\Wine JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe -
resource yara_rule behavioral1/memory/2544-0-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-1-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-3-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-4-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-5-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-6-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-7-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-8-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-9-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/2544-12-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/files/0x00060000000055de-19.dat themida behavioral1/memory/2544-21-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-22-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-23-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-26-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-25-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-33-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-34-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-30-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-35-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-36-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-37-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-38-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-42-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-39-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-43-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-44-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-47-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-50-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-54-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-57-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-60-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-63-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-66-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-69-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-72-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-75-0x0000000000400000-0x00000000005BA000-memory.dmp themida behavioral1/memory/1252-78-0x0000000000400000-0x00000000005BA000-memory.dmp themida -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Checks whether UAC is enabled 1 TTPs 3 IoCs
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.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 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe 1252 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.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 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe 1252 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe Token: SeBackupPrivilege 2784 vssvc.exe Token: SeRestorePrivilege 2784 vssvc.exe Token: SeAuditPrivilege 2784 vssvc.exe Token: SeDebugPrivilege 1252 mstwain32.exe Token: SeDebugPrivilege 1252 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1252 mstwain32.exe 1252 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2544 wrote to memory of 1252 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe 34 PID 2544 wrote to memory of 1252 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe 34 PID 2544 wrote to memory of 1252 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe 34 PID 2544 wrote to memory of 1252 2544 JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe 34 -
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\JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.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:2544 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03a920cd62b4c44eda6e2857b532d6a3.exe"2⤵
- UAC bypass
- Deletes itself
- 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:1252
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2784
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
774KB
MD503a920cd62b4c44eda6e2857b532d6a3
SHA1a45c0bd1c255ec47c916666a7e86cdf9d75815aa
SHA2565033172956fe381096c27a8858767dbed7c02f7d869b5d54ac4dfd0fb3c89143
SHA512c7600e74539c36c046ae0d089564ac0fae0284c7621ea74a91583633058e18f7d783b927eca86a71f21b1c9ddc463456fe8d4ed2b28124990bcd58c59464a547