Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows7_x64 -
resource
win7-20240508-en -
resource tags
arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system -
submitted
17-06-2024 09:46
Behavioral task
behavioral1
Sample
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe
Resource
win10v2004-20240226-en
General
-
Target
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe
-
Size
270KB
-
MD5
b7f8816f98231848635192696ec1d2ad
-
SHA1
30b4e445156ce7264ba8786ddb62eb8bf9262a71
-
SHA256
cd968d7bd3ecb87b2871973d7272d2faa3029be6b8943ddf21242c8db5a29f72
-
SHA512
1b611bb0dbb07b9dd00f1bce222aa8b21008b3d738254d6323361cbb5900d071ef2d25d4d766d7fa0de857b7dc0fed0bcc26c2df27a3626512b04eee962dd923
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53npcCJJvH:Zr7xS2Vp6FwTwbJJvH
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 17 IoCs
Processes:
resource yara_rule C:\Windows\mstwain32.exe modiloader_stage2 behavioral1/memory/1920-9-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-17-0x0000000076C30000-0x0000000076D20000-memory.dmp modiloader_stage2 behavioral1/memory/2044-18-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-21-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-25-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-36-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-39-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-42-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-45-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-48-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-51-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-54-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-57-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-60-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 2044 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 2044 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-268080393-3149932598-1824759070-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA b7f8816f98231848635192696ec1d2ad_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:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe b7f8816f98231848635192696ec1d2ad_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).
-
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 1920 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe Token: SeBackupPrivilege 2620 vssvc.exe Token: SeRestorePrivilege 2620 vssvc.exe Token: SeAuditPrivilege 2620 vssvc.exe Token: SeDebugPrivilege 2044 mstwain32.exe Token: SeDebugPrivilege 2044 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 2044 mstwain32.exe 2044 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exedescription pid process target process PID 1920 wrote to memory of 2044 1920 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe mstwain32.exe PID 1920 wrote to memory of 2044 1920 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe mstwain32.exe PID 1920 wrote to memory of 2044 1920 b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe mstwain32.exe PID 1920 wrote to memory of 2044 1920 b7f8816f98231848635192696ec1d2ad_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\b7f8816f98231848635192696ec1d2ad_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\b7f8816f98231848635192696ec1d2ad_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\b7f8816f98231848635192696ec1d2ad_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
MD5b7f8816f98231848635192696ec1d2ad
SHA130b4e445156ce7264ba8786ddb62eb8bf9262a71
SHA256cd968d7bd3ecb87b2871973d7272d2faa3029be6b8943ddf21242c8db5a29f72
SHA5121b611bb0dbb07b9dd00f1bce222aa8b21008b3d738254d6323361cbb5900d071ef2d25d4d766d7fa0de857b7dc0fed0bcc26c2df27a3626512b04eee962dd923
-
memory/1920-0-0x00000000002F0000-0x00000000002F1000-memory.dmpFilesize
4KB
-
memory/1920-9-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-25-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-29-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-17-0x0000000076C30000-0x0000000076D20000-memory.dmpFilesize
960KB
-
memory/2044-16-0x0000000076C40000-0x0000000076C41000-memory.dmpFilesize
4KB
-
memory/2044-18-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-20-0x0000000002570000-0x000000000257E000-memory.dmpFilesize
56KB
-
memory/2044-19-0x00000000002C0000-0x00000000002C8000-memory.dmpFilesize
32KB
-
memory/2044-21-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-24-0x0000000076C30000-0x0000000076D20000-memory.dmpFilesize
960KB
-
memory/2044-13-0x0000000000260000-0x0000000000261000-memory.dmpFilesize
4KB
-
memory/2044-28-0x0000000076C30000-0x0000000076D20000-memory.dmpFilesize
960KB
-
memory/2044-14-0x0000000002570000-0x000000000257E000-memory.dmpFilesize
56KB
-
memory/2044-32-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-36-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-39-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-42-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-45-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-48-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-51-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-54-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-57-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2044-60-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB