Analysis
-
max time kernel
142s -
max time network
144s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
23-08-2024 08:02
Static task
static1
Behavioral task
behavioral1
Sample
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe
-
Size
125KB
-
MD5
baee0f9bf421c883c45232169f34b452
-
SHA1
f87cf64ebadf9cea8b6ddb7c3fbb151a0b610902
-
SHA256
51ab52acf44fe469672a8bc675ca71d5121661e7c40018a5cd71abcdf36652d6
-
SHA512
319f00fdbda61c0525c646195ea177ccfb4442eb3bf7e60a9b9518cbf68770fa206756639aabc97e864e49b32d6e56915f631177ebc41878bf5ed78748bfd5b4
-
SSDEEP
3072:Y3JgVs2LveVDnjcaO5I0q35gXg8aXO72fkMzpFoZjV:6JgVz2nO5qpeaXSYGV
Malware Config
Extracted
latentbot
ozaneryilmaz.zapto.org
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 7 IoCs
Processes:
resource yara_rule behavioral2/memory/864-4-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/864-5-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/864-16-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4852-24-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4852-25-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4852-23-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4852-38-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exedescription ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\Control Panel\International\Geo\Nation baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
Processes:
mstwain32.exemstwain32.exepid Process 4716 mstwain32.exe 4852 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid Process 4852 mstwain32.exe 4852 mstwain32.exe 4852 mstwain32.exe 4852 mstwain32.exe -
Processes:
resource yara_rule behavioral2/memory/864-0-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/864-3-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/864-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/864-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/864-16-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4852-24-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4852-25-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4852-23-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4852-22-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4852-38-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exemstwain32.exedescription ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA baee0f9bf421c883c45232169f34b452_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 -
Suspicious use of SetThreadContext 2 IoCs
Processes:
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exemstwain32.exedescription pid Process procid_target PID 4496 set thread context of 864 4496 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 85 PID 4716 set thread context of 4852 4716 mstwain32.exe 94 -
Drops file in Windows directory 4 IoCs
Processes:
mstwain32.exebaee0f9bf421c883c45232169f34b452_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 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
Processes:
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exebaee0f9bf421c883c45232169f34b452_JaffaCakes118.exemstwain32.exemstwain32.exedescription ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exevssvc.exemstwain32.exedescription pid Process Token: SeDebugPrivilege 864 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe Token: SeBackupPrivilege 1892 vssvc.exe Token: SeRestorePrivilege 1892 vssvc.exe Token: SeAuditPrivilege 1892 vssvc.exe Token: SeDebugPrivilege 4852 mstwain32.exe Token: SeDebugPrivilege 4852 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid Process 4852 mstwain32.exe 4852 mstwain32.exe -
Suspicious use of WriteProcessMemory 13 IoCs
Processes:
baee0f9bf421c883c45232169f34b452_JaffaCakes118.exebaee0f9bf421c883c45232169f34b452_JaffaCakes118.exemstwain32.exedescription pid Process procid_target PID 4496 wrote to memory of 864 4496 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 85 PID 4496 wrote to memory of 864 4496 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 85 PID 4496 wrote to memory of 864 4496 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 85 PID 4496 wrote to memory of 864 4496 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 85 PID 4496 wrote to memory of 864 4496 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 85 PID 864 wrote to memory of 4716 864 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 92 PID 864 wrote to memory of 4716 864 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 92 PID 864 wrote to memory of 4716 864 baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe 92 PID 4716 wrote to memory of 4852 4716 mstwain32.exe 94 PID 4716 wrote to memory of 4852 4716 mstwain32.exe 94 PID 4716 wrote to memory of 4852 4716 mstwain32.exe 94 PID 4716 wrote to memory of 4852 4716 mstwain32.exe 94 PID 4716 wrote to memory of 4852 4716 mstwain32.exe 94 -
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\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4496 -
C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe2⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:864 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\baee0f9bf421c883c45232169f34b452_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4716 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- UAC bypass
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:4852
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1892
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
32KB
MD5c200deb575126b97609d020897aaa5ac
SHA19d086f32f5e6a134c5a9dffe35d29c2a3261a42f
SHA256a4a0c6545cd3990fcfb973ff5b76517520edf142d9f09fbcb118c92574ed2762
SHA512c8040e3997967d4c25401b53b9fb97545709829876031cdd985c46cf0cccb467a546c8563441b2fbe2e03de0c9829732a345eb629e2eb2eecb87026794e4b7d7
-
Filesize
125KB
MD5baee0f9bf421c883c45232169f34b452
SHA1f87cf64ebadf9cea8b6ddb7c3fbb151a0b610902
SHA25651ab52acf44fe469672a8bc675ca71d5121661e7c40018a5cd71abcdf36652d6
SHA512319f00fdbda61c0525c646195ea177ccfb4442eb3bf7e60a9b9518cbf68770fa206756639aabc97e864e49b32d6e56915f631177ebc41878bf5ed78748bfd5b4
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350