Analysis
-
max time kernel
143s -
max time network
147s -
platform
windows7_x64 -
resource
win7-20240221-en -
resource tags
arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system -
submitted
10-05-2024 14:01
Behavioral task
behavioral1
Sample
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe
Resource
win10v2004-20240426-en
General
-
Target
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe
-
Size
270KB
-
MD5
2f77a22fd3387747ef755f74a7d10c9e
-
SHA1
a809d79400aa2c31309d4eea1d74b6eeb0071b7a
-
SHA256
66c1c7b45601e66a91b9c7e560581f2702463d7be19c49a9ad420835b6a53d5f
-
SHA512
ddbde12d0b0a24752839442ea17a78cf2fbb9cead890b186d88ac4b2eabebb2809a0b8b9cb922eb3ab56d2e34b988d273e535aed4d78aabfc2c80cd8ccc9856d
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53bCpcCJJvH:Zr7xS2Vp6FwTxbJJvH
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Processes:
mstwain32.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 16 IoCs
Processes:
resource yara_rule C:\Windows\mstwain32.exe modiloader_stage2 behavioral1/memory/1444-8-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-17-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-20-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-25-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-28-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-31-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2760-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 2760 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2760 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-3452737119-3959686427-228443150-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 2f77a22fd3387747ef755f74a7d10c9e_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
Processes:
mstwain32.exe2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exedescription ioc process File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 1444 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe Token: SeBackupPrivilege 2520 vssvc.exe Token: SeRestorePrivilege 2520 vssvc.exe Token: SeAuditPrivilege 2520 vssvc.exe Token: SeDebugPrivilege 2760 mstwain32.exe Token: SeDebugPrivilege 2760 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2760 mstwain32.exe 2760 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exedescription pid process target process PID 1444 wrote to memory of 2760 1444 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe mstwain32.exe PID 1444 wrote to memory of 2760 1444 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe mstwain32.exe PID 1444 wrote to memory of 2760 1444 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe mstwain32.exe PID 1444 wrote to memory of 2760 1444 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe mstwain32.exe -
System policy modification 1 TTPs 1 IoCs
Processes:
mstwain32.exedescription 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\2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe"1⤵
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\2f77a22fd3387747ef755f74a7d10c9e_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
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
Network
MITRE ATT&CK Matrix ATT&CK v13
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Windows\mstwain32.exeFilesize
270KB
MD52f77a22fd3387747ef755f74a7d10c9e
SHA1a809d79400aa2c31309d4eea1d74b6eeb0071b7a
SHA25666c1c7b45601e66a91b9c7e560581f2702463d7be19c49a9ad420835b6a53d5f
SHA512ddbde12d0b0a24752839442ea17a78cf2fbb9cead890b186d88ac4b2eabebb2809a0b8b9cb922eb3ab56d2e34b988d273e535aed4d78aabfc2c80cd8ccc9856d
-
memory/1444-8-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-12-0x0000000000270000-0x0000000000271000-memory.dmpFilesize
4KB
-
memory/2760-13-0x00000000006F0000-0x00000000006FE000-memory.dmpFilesize
56KB
-
memory/2760-15-0x0000000075FA0000-0x0000000075FA1000-memory.dmpFilesize
4KB
-
memory/2760-16-0x0000000075F90000-0x0000000076080000-memory.dmpFilesize
960KB
-
memory/2760-17-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-19-0x00000000006F0000-0x00000000006FE000-memory.dmpFilesize
56KB
-
memory/2760-18-0x0000000000280000-0x0000000000288000-memory.dmpFilesize
32KB
-
memory/2760-20-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-23-0x0000000075F90000-0x0000000076080000-memory.dmpFilesize
960KB
-
memory/2760-24-0x0000000075F90000-0x0000000076080000-memory.dmpFilesize
960KB
-
memory/2760-25-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-28-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-31-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-35-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-38-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-41-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-44-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-47-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-50-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-53-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-56-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2760-59-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB