Analysis
-
max time kernel
143s -
max time network
123s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
26/11/2024, 09:25
Behavioral task
behavioral1
Sample
a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe
-
Size
1.2MB
-
MD5
a12148269a2cc7eb03d4de2e901c4b9c
-
SHA1
1ce4a4ad7846fadb9c9abd9bcdd5224ded76ccb7
-
SHA256
c178f33856fb440ccb82c6b58ea853280f97bafe5b46275a68507c6c56048760
-
SHA512
96e52d4e4e2003e6d995fe23d52dc516c937ef006a3525380c693a59f3e3091302d8bcea7355a479d51bee612f7df6cda4bb430d2848dbeb637a9c6e449af0f0
-
SSDEEP
24576:W1ryjUhxDHxq6owfk8LIP4XvMlfegwxoC3rIRs/ikdhQ+k1:Ay0NTo0bsAXElfeRzr9RI+6
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" vshost.exe -
ModiLoader Second Stage 31 IoCs
resource yara_rule behavioral1/memory/2348-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2348-2-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/2348-3-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/2348-4-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/2348-5-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/2348-14-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-23-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-22-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-26-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-27-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-28-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-29-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-30-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-31-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-32-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-33-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-34-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-37-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-38-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-41-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-44-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-47-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-51-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-54-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-57-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-60-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-63-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-66-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-69-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-72-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 behavioral1/memory/1680-75-0x0000000000400000-0x0000000000623000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 1680 vshost.exe -
Executes dropped EXE 1 IoCs
pid Process 1680 vshost.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 vshost.exe Key opened \REGISTRY\USER\S-1-5-21-4177215427-74451935-3209572229-1000\Software\Wine a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe -
resource yara_rule behavioral1/memory/2348-0-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/2348-2-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/2348-3-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/2348-4-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/2348-5-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-18-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/files/0x00060000000055d8-16.dat themida behavioral1/memory/2348-14-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-23-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-22-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-26-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-27-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-28-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-29-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-30-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-31-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-32-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-33-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-34-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-37-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-38-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-41-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-44-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-47-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-51-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-54-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-57-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-60-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-63-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-66-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-69-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-72-0x0000000000400000-0x0000000000623000-memory.dmp themida behavioral1/memory/1680-75-0x0000000000400000-0x0000000000623000-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-4177215427-74451935-3209572229-1000\Software\Microsoft\Windows\CurrentVersion\Run\vshost = "C:\\Windows\\vshost.exe" vshost.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA vshost.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" vshost.exe -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 2348 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe 1680 vshost.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\vshost.exe a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe File opened for modification C:\Windows\vshost.exe a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll vshost.exe File created C:\Windows\cmsetac.dll vshost.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 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language vshost.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2348 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe 1680 vshost.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2348 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe Token: SeBackupPrivilege 2972 vssvc.exe Token: SeRestorePrivilege 2972 vssvc.exe Token: SeAuditPrivilege 2972 vssvc.exe Token: SeDebugPrivilege 1680 vshost.exe Token: SeDebugPrivilege 1680 vshost.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1680 vshost.exe 1680 vshost.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2348 wrote to memory of 1680 2348 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe 33 PID 2348 wrote to memory of 1680 2348 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe 33 PID 2348 wrote to memory of 1680 2348 a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe 33 PID 2348 wrote to memory of 1680 2348 a12148269a2cc7eb03d4de2e901c4b9c_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" vshost.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\a12148269a2cc7eb03d4de2e901c4b9c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\a12148269a2cc7eb03d4de2e901c4b9c_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:2348 -
C:\Windows\vshost.exe"C:\Windows\vshost.exe" \melt "C:\Users\Admin\AppData\Local\Temp\a12148269a2cc7eb03d4de2e901c4b9c_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
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:1680
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2972
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.2MB
MD5a12148269a2cc7eb03d4de2e901c4b9c
SHA11ce4a4ad7846fadb9c9abd9bcdd5224ded76ccb7
SHA256c178f33856fb440ccb82c6b58ea853280f97bafe5b46275a68507c6c56048760
SHA51296e52d4e4e2003e6d995fe23d52dc516c937ef006a3525380c693a59f3e3091302d8bcea7355a479d51bee612f7df6cda4bb430d2848dbeb637a9c6e449af0f0