Analysis
-
max time kernel
144s -
max time network
148s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
16-12-2024 05:25
Behavioral task
behavioral1
Sample
f7837120753191e98832b27c8820016e_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
f7837120753191e98832b27c8820016e_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
f7837120753191e98832b27c8820016e_JaffaCakes118.exe
-
Size
1.1MB
-
MD5
f7837120753191e98832b27c8820016e
-
SHA1
1154fdb17f1fa7a3a891252e9ea9be017eed4607
-
SHA256
3bb1fedf99f939d0b3b62c351da648921db21a309dce6ac16a7fa36081dc78f1
-
SHA512
62210822127394685cf4c7b6caf33a44b1726c6bdf460a5e6978deee472f12fe160bc1111f74769d679bb268148fd46ed3831980640b0bc60058fe6397084362
-
SSDEEP
24576:B8K1PL2ylPR/FPVpQgDYQimQSn4CTjQYtN8SQf04:5qO/bkxYnlRtWs4
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 29 IoCs
resource yara_rule behavioral1/memory/1884-1-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/1884-2-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/1884-4-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/1884-3-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/1884-8-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/1884-19-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/1884-16-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-22-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-26-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-23-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-27-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-28-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-29-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-30-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-31-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-33-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-34-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-36-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-38-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-40-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-43-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-45-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-47-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-49-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-51-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-53-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-55-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-57-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 behavioral1/memory/2996-59-0x0000000000400000-0x0000000000519000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 2996 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 2996 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-1846800975-3917212583-2893086201-1000\Software\Wine f7837120753191e98832b27c8820016e_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-1846800975-3917212583-2893086201-1000\Software\Wine mstwain32.exe -
resource yara_rule behavioral1/memory/1884-0-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/1884-2-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/1884-4-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/1884-3-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/1884-8-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/files/0x00060000000055cf-18.dat themida behavioral1/memory/2996-20-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/1884-16-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-22-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-26-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-23-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-27-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-28-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-29-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-30-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-31-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-33-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-34-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-36-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-38-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-40-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-43-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-45-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-47-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-49-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-51-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-53-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-55-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-57-0x0000000000400000-0x0000000000519000-memory.dmp themida behavioral1/memory/2996-59-0x0000000000400000-0x0000000000519000-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-1846800975-3917212583-2893086201-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 f7837120753191e98832b27c8820016e_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 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe 2996 mstwain32.exe -
Drops file in Windows directory 3 IoCs
description ioc Process File created C:\Windows\mstwain32.exe f7837120753191e98832b27c8820016e_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f7837120753191e98832b27c8820016e_JaffaCakes118.exe File created C:\Windows\ntdtcstp.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 f7837120753191e98832b27c8820016e_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe 2996 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe Token: SeBackupPrivilege 2912 vssvc.exe Token: SeRestorePrivilege 2912 vssvc.exe Token: SeAuditPrivilege 2912 vssvc.exe Token: SeDebugPrivilege 2996 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 1884 wrote to memory of 2996 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe 33 PID 1884 wrote to memory of 2996 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe 33 PID 1884 wrote to memory of 2996 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe 33 PID 1884 wrote to memory of 2996 1884 f7837120753191e98832b27c8820016e_JaffaCakes118.exe 33 -
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\f7837120753191e98832b27c8820016e_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f7837120753191e98832b27c8820016e_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:1884 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\f7837120753191e98832b27c8820016e_JaffaCakes118.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
- System policy modification
PID:2996
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2912
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
1.1MB
MD5f7837120753191e98832b27c8820016e
SHA11154fdb17f1fa7a3a891252e9ea9be017eed4607
SHA2563bb1fedf99f939d0b3b62c351da648921db21a309dce6ac16a7fa36081dc78f1
SHA51262210822127394685cf4c7b6caf33a44b1726c6bdf460a5e6978deee472f12fe160bc1111f74769d679bb268148fd46ed3831980640b0bc60058fe6397084362