Analysis
-
max time kernel
149s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240426-en -
resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-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 behavioral2/memory/1760-9-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-25-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-28-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-31-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-34-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-37-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-40-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-43-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-46-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-49-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-52-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-55-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-58-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-61-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/1992-64-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1162180587-977231257-2194346871-1000\Control Panel\International\Geo\Nation 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 1992 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 1992 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid process 1992 mstwain32.exe 1992 mstwain32.exe 1992 mstwain32.exe 1992 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-1162180587-977231257-2194346871-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:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 2f77a22fd3387747ef755f74a7d10c9e_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:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 1760 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe Token: SeBackupPrivilege 3152 vssvc.exe Token: SeRestorePrivilege 3152 vssvc.exe Token: SeAuditPrivilege 3152 vssvc.exe Token: SeDebugPrivilege 1992 mstwain32.exe Token: SeDebugPrivilege 1992 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 1992 mstwain32.exe 1992 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exedescription pid process target process PID 1760 wrote to memory of 1992 1760 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe mstwain32.exe PID 1760 wrote to memory of 1992 1760 2f77a22fd3387747ef755f74a7d10c9e_JaffaCakes118.exe mstwain32.exe PID 1760 wrote to memory of 1992 1760 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 computer location settings
- 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
- Loads dropped DLL
- 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\cmsetac.dllFilesize
33KB
MD51a942040368e0bed84b2cc7a5c318efd
SHA184e22c7afca83e4d8ba0644c59da6486474f764a
SHA256a3bfabf43613ed395d527ac0b35df16370ea1aab22f93e250274c2f42b7499c8
SHA512d400a5b8e64dc02c83f5789e9d2b594ff03c1c4c45d5a1e3e21a0606ea1f8004b54d65bfaeb9f65d853210aaa6497c73170b49ad5d3f6bcf92e0dc14b113ce27
-
C:\Windows\mstwain32.exeFilesize
270KB
MD52f77a22fd3387747ef755f74a7d10c9e
SHA1a809d79400aa2c31309d4eea1d74b6eeb0071b7a
SHA25666c1c7b45601e66a91b9c7e560581f2702463d7be19c49a9ad420835b6a53d5f
SHA512ddbde12d0b0a24752839442ea17a78cf2fbb9cead890b186d88ac4b2eabebb2809a0b8b9cb922eb3ab56d2e34b988d273e535aed4d78aabfc2c80cd8ccc9856d
-
C:\Windows\ntdtcstp.dllFilesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
-
memory/1760-9-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-28-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-37-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-24-0x0000000002F90000-0x0000000002F91000-memory.dmpFilesize
4KB
-
memory/1992-25-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-27-0x00000000030E0000-0x00000000030EE000-memory.dmpFilesize
56KB
-
memory/1992-26-0x0000000000940000-0x0000000000948000-memory.dmpFilesize
32KB
-
memory/1992-17-0x0000000000930000-0x0000000000931000-memory.dmpFilesize
4KB
-
memory/1992-31-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-34-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-21-0x00000000030E0000-0x00000000030EE000-memory.dmpFilesize
56KB
-
memory/1992-40-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-43-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-46-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-49-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-52-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-55-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-58-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-61-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1992-64-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB