Analysis
-
max time kernel
145s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
07-12-2024 06:16
Static task
static1
Behavioral task
behavioral1
Sample
d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe
-
Size
130KB
-
MD5
d1071d9153dff2e004b77736ec20a94c
-
SHA1
3208a9789b641ae316da93b62a7bd46150ed3129
-
SHA256
e54a0d079e235fe74a4488f9ba5d52876f4e04dbca091fbdadebcf2b6805bd34
-
SHA512
0c7d0405e2098a737ffe28ce7bc18d7e5929898dc5d3ba75041a5eadba0cbfb1faee4165d5802fce6d3df019b98e04691e0371f93e480764eb4c06190e6b9dc8
-
SSDEEP
3072:x2URQRhf9jLFh0aLCM1jGThQKbasi74RSkdNTnss6yVa:rRQpjLF/3QjQmSg9hv8
Malware Config
Extracted
latentbot
redlordgezer.zapto.org
Signatures
-
Latentbot family
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 27 IoCs
resource yara_rule behavioral2/memory/1884-13-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1884-12-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1884-14-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1884-15-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1884-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-45-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-46-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-49-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-61-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-62-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-63-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-66-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-85-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-88-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-91-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-94-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-97-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-100-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1524-103-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 1524 mstwain32.exe -
Executes dropped EXE 2 IoCs
pid Process 1468 mstwain32.exe 1524 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 1524 mstwain32.exe 1524 mstwain32.exe 1524 mstwain32.exe 1524 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4089630652-1596403869-279772308-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 5032 set thread context of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 1468 set thread context of 1524 1468 mstwain32.exe 88 -
resource yara_rule behavioral2/memory/1884-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-11-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-13-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-12-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-14-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-15-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1884-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-45-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-46-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-49-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-61-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-62-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-63-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-66-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-85-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-88-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-91-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-94-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-97-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-100-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1524-103-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe d1071d9153dff2e004b77736ec20a94c_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 4 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 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language d1071d9153dff2e004b77736ec20a94c_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
description pid Process Token: SeDebugPrivilege 1884 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe Token: SeBackupPrivilege 4772 vssvc.exe Token: SeRestorePrivilege 4772 vssvc.exe Token: SeAuditPrivilege 4772 vssvc.exe Token: SeDebugPrivilege 1524 mstwain32.exe Token: SeDebugPrivilege 1524 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 1884 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 1468 mstwain32.exe 1524 mstwain32.exe 1524 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 5032 wrote to memory of 1884 5032 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 83 PID 1884 wrote to memory of 1468 1884 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 87 PID 1884 wrote to memory of 1468 1884 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 87 PID 1884 wrote to memory of 1468 1884 d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe 87 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 PID 1468 wrote to memory of 1524 1468 mstwain32.exe 88 -
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\d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:5032 -
C:\Users\Admin\AppData\Local\Temp\d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\d1071d9153dff2e004b77736ec20a94c_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 FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:1884 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1468 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe \melt "C:\Users\Admin\AppData\Local\Temp\d1071d9153dff2e004b77736ec20a94c_JaffaCakes118.exe"4⤵
- 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
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:1524
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4772
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
130KB
MD5d1071d9153dff2e004b77736ec20a94c
SHA13208a9789b641ae316da93b62a7bd46150ed3129
SHA256e54a0d079e235fe74a4488f9ba5d52876f4e04dbca091fbdadebcf2b6805bd34
SHA5120c7d0405e2098a737ffe28ce7bc18d7e5929898dc5d3ba75041a5eadba0cbfb1faee4165d5802fce6d3df019b98e04691e0371f93e480764eb4c06190e6b9dc8
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350