Analysis
-
max time kernel
145s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
16-09-2024 07:27
Behavioral task
behavioral1
Sample
e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe
-
Size
1.3MB
-
MD5
e4477efdd16cd7ef8ed8e7de8885a7b2
-
SHA1
eb78f31b0a0c7d33e35d20ddc48499da4bf1249d
-
SHA256
db8d280b47e7b5308a68de1b3025e5171c890e6a6598a3a13e5638a812baaf66
-
SHA512
18afd4c4efe5d6393b4350357692442b0e15ce4c62c4e0985844ce6df9321665b33c7ceb37e1bccd4b7d25f191f087fb3535f0953eb9692b8a729f82293d2fd1
-
SSDEEP
24576:Baz5NMYN5gjGy2nfHYyA3Ro1SIE94LLz84L2yrvx/CDnkt2IgoU2HpS3Mx3+GW:BaFNMYNuj9K2o109SLAS2yrvx/WkE8V+
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 37 IoCs
resource yara_rule behavioral1/memory/2604-2-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2604-4-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2604-3-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2604-5-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2604-6-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2604-11-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2604-18-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-27-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-26-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-28-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-25-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-23-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-32-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-31-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-33-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-34-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-35-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-36-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-38-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-37-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-39-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-40-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-43-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-44-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-45-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-48-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-51-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-54-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-58-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-61-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-64-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-67-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-70-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-73-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-76-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-79-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 behavioral1/memory/2768-82-0x0000000000400000-0x00000000006A2000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 2768 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 2768 mstwain32.exe -
resource yara_rule behavioral1/memory/2604-4-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2604-3-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2604-5-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2604-6-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2604-11-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/files/0x00060000000055d8-13.dat themida behavioral1/memory/2604-18-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-19-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-20-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-27-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-26-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-28-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-25-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-23-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-32-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-31-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-33-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-34-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-35-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-36-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-38-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-37-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-39-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-40-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-43-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-44-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-45-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-48-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-51-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-54-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-58-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-61-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-64-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-67-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-70-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-73-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-76-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-79-0x0000000000400000-0x00000000006A2000-memory.dmp themida behavioral1/memory/2768-82-0x0000000000400000-0x00000000006A2000-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-3434294380-2554721341-1919518612-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 e4477efdd16cd7ef8ed8e7de8885a7b2_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 created C:\Windows\mstwain32.exe e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.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 e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2604 e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe 2768 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2604 e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe Token: SeBackupPrivilege 2584 vssvc.exe Token: SeRestorePrivilege 2584 vssvc.exe Token: SeAuditPrivilege 2584 vssvc.exe Token: SeDebugPrivilege 2768 mstwain32.exe Token: SeDebugPrivilege 2768 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2768 mstwain32.exe 2768 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2604 wrote to memory of 2768 2604 e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe 33 PID 2604 wrote to memory of 2768 2604 e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe 33 PID 2604 wrote to memory of 2768 2604 e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe 33 PID 2604 wrote to memory of 2768 2604 e4477efdd16cd7ef8ed8e7de8885a7b2_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\e4477efdd16cd7ef8ed8e7de8885a7b2_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e4477efdd16cd7ef8ed8e7de8885a7b2_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:2604 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\e4477efdd16cd7ef8ed8e7de8885a7b2_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:2768
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2584
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
MD5e4477efdd16cd7ef8ed8e7de8885a7b2
SHA1eb78f31b0a0c7d33e35d20ddc48499da4bf1249d
SHA256db8d280b47e7b5308a68de1b3025e5171c890e6a6598a3a13e5638a812baaf66
SHA51218afd4c4efe5d6393b4350357692442b0e15ce4c62c4e0985844ce6df9321665b33c7ceb37e1bccd4b7d25f191f087fb3535f0953eb9692b8a729f82293d2fd1