Analysis
-
max time kernel
144s -
max time network
119s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
18-09-2024 10:09
Static task
static1
Behavioral task
behavioral1
Sample
e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe
-
Size
1.7MB
-
MD5
e8e21f0b9d33efc0e321588982a2aa13
-
SHA1
9e13c950ceca1be0f44b51f2ad1c1d78b7e831fa
-
SHA256
77504bdd97a086bb640c6fc1291e80d07a58d85d997b7b05b42d7a208415b627
-
SHA512
91c01e51208c3f194b947a0feecadf0a848fda8525fc77d474c7e0bdf4cc7530faba1da7e5ef149c0f5913f2e5848227bd6e68e9a943f59130f5f0c63dfd02fa
-
SSDEEP
49152:FSvwYdMmHH73Cfc0qbe4HtJs0fJLM0fxffWHVoB:Y4WXHbscXRNJnftMGff4VoB
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 behavioral1/memory/2148-3-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2148-4-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2148-6-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2148-5-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2148-18-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2148-10-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-21-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-24-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-27-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-26-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-31-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-30-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-32-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-33-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-34-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-35-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-36-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-37-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-41-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-38-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-42-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-45-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-48-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-51-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-55-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-58-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-61-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-64-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-67-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-70-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-73-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-76-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 behavioral1/memory/2212-79-0x0000000000400000-0x00000000005EA000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 2212 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 2212 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 mstwain32.exe Key opened \REGISTRY\USER\S-1-5-21-4177215427-74451935-3209572229-1000\Software\Wine e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.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 Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe e8e21f0b9d33efc0e321588982a2aa13_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 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2148 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe 2212 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2148 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe Token: SeBackupPrivilege 2728 vssvc.exe Token: SeRestorePrivilege 2728 vssvc.exe Token: SeAuditPrivilege 2728 vssvc.exe Token: SeDebugPrivilege 2212 mstwain32.exe Token: SeDebugPrivilege 2212 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2212 mstwain32.exe 2212 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2148 wrote to memory of 2212 2148 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe 34 PID 2148 wrote to memory of 2212 2148 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe 34 PID 2148 wrote to memory of 2212 2148 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe 34 PID 2148 wrote to memory of 2212 2148 e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.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\e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e8e21f0b9d33efc0e321588982a2aa13_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2148 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\e8e21f0b9d33efc0e321588982a2aa13_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
- 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:2212
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2728
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.7MB
MD5e8e21f0b9d33efc0e321588982a2aa13
SHA19e13c950ceca1be0f44b51f2ad1c1d78b7e831fa
SHA25677504bdd97a086bb640c6fc1291e80d07a58d85d997b7b05b42d7a208415b627
SHA51291c01e51208c3f194b947a0feecadf0a848fda8525fc77d474c7e0bdf4cc7530faba1da7e5ef149c0f5913f2e5848227bd6e68e9a943f59130f5f0c63dfd02fa