Analysis
-
max time kernel
144s -
max time network
127s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
08/09/2024, 18:17
Behavioral task
behavioral1
Sample
d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe
-
Size
1.3MB
-
MD5
d4f4a282c7d28d8a0baccfa7bf3810fb
-
SHA1
a050eda57197631bf9ab5541c742606aef0dd1ed
-
SHA256
62e3b354874f70ddab8034c0334cbc14d0a3706d3e60f3136f7de173731b26a5
-
SHA512
e219c555a8adc819d503b2b879e450b3d39cc4c59052f0a5c8f727d0e4ec001c3ab761d8c57971ccec8fc3082fe89729e1d0649bda07784688638b9e1fd1d832
-
SSDEEP
24576:wIlmhLNsDfhdtPrTf0RNk5TMiWN0n9nfr10DD1EaWfDMhEEGb:wIc65pWOU/OaWEGb
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 35 IoCs
resource yara_rule behavioral1/memory/2128-2-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2128-3-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2128-5-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2128-4-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2128-14-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-19-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-24-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-25-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-22-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-29-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-28-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-30-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-31-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-32-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-33-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-34-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-35-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-36-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-37-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-38-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-39-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-42-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-43-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-46-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-49-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-52-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-56-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-59-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-62-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-65-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-68-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-71-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-74-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-77-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 behavioral1/memory/2784-80-0x0000000000400000-0x00000000006A9000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 2784 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 2784 mstwain32.exe -
resource yara_rule behavioral1/memory/2128-3-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2128-5-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2128-4-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/files/0x00060000000055ce-10.dat themida behavioral1/memory/2128-14-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-17-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-16-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-19-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-24-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-25-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-22-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-29-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-28-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-30-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-31-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-32-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-33-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-34-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-35-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-36-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-37-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-38-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-39-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-42-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-43-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-46-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-49-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-52-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-56-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-59-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-62-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-65-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-68-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-71-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-74-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-77-0x0000000000400000-0x00000000006A9000-memory.dmp themida behavioral1/memory/2784-80-0x0000000000400000-0x00000000006A9000-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-2872745919-2748461613-2989606286-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 d4f4a282c7d28d8a0baccfa7bf3810fb_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 -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe d4f4a282c7d28d8a0baccfa7bf3810fb_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 d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2128 d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe 2784 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2128 d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe Token: SeBackupPrivilege 2812 vssvc.exe Token: SeRestorePrivilege 2812 vssvc.exe Token: SeAuditPrivilege 2812 vssvc.exe Token: SeDebugPrivilege 2784 mstwain32.exe Token: SeDebugPrivilege 2784 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2784 mstwain32.exe 2784 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2128 wrote to memory of 2784 2128 d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe 34 PID 2128 wrote to memory of 2784 2128 d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe 34 PID 2128 wrote to memory of 2784 2128 d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe 34 PID 2128 wrote to memory of 2784 2128 d4f4a282c7d28d8a0baccfa7bf3810fb_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\d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe"1⤵
- 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:2128 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\d4f4a282c7d28d8a0baccfa7bf3810fb_JaffaCakes118.exe"2⤵
- UAC bypass
- Deletes itself
- Executes dropped EXE
- 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:2784
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2812
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
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1.3MB
MD5d4f4a282c7d28d8a0baccfa7bf3810fb
SHA1a050eda57197631bf9ab5541c742606aef0dd1ed
SHA25662e3b354874f70ddab8034c0334cbc14d0a3706d3e60f3136f7de173731b26a5
SHA512e219c555a8adc819d503b2b879e450b3d39cc4c59052f0a5c8f727d0e4ec001c3ab761d8c57971ccec8fc3082fe89729e1d0649bda07784688638b9e1fd1d832