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
15-01-2025 09:12
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe
-
Size
441KB
-
MD5
52b522986029ce23f0b2c2326792cafb
-
SHA1
467db5e1435432eb2658c991312db0e65e597ceb
-
SHA256
226938f7d629994198fb18b5613046111040fffae659ccd9bb7da5ee8aa49d5d
-
SHA512
94a9044ad68f1d3c6b3da7a3f3b927b982382a859c053dafb72438be9cc8be19596f9dcf7a287a3d715e04acc94d6ac8cac93fc35a810d1e365c33f078b61e81
-
SSDEEP
12288:1+BcK/lGRgOUqmq9kR6lhKXcWV02ZgeSgl9uDPX:kBcK/cRgOnmq9g6cV02bSqo7
Malware Config
Extracted
latentbot
hackerbatudator.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 19 IoCs
resource yara_rule behavioral2/memory/2548-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2548-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-74-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-77-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-80-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-83-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-86-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-89-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-92-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-95-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-98-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-101-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-104-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-107-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4584-110-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-2878641211-696417878-3864914810-1000\Control Panel\International\Geo\Nation JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe -
Executes dropped EXE 2 IoCs
pid Process 1212 mstwain32.exe 4584 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 4584 mstwain32.exe 4584 mstwain32.exe 4584 mstwain32.exe 4584 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_52b522986029ce23f0b2c2326792cafb.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
description pid Process procid_target PID 212 set thread context of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 1212 set thread context of 4584 1212 mstwain32.exe 89 -
resource yara_rule behavioral2/memory/2548-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2548-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2548-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2548-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-74-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-77-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-80-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-83-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-86-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-89-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-92-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-95-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-98-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-101-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-104-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-107-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4584-110-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe File opened for modification C:\Windows\mstwain32.exe mstwain32.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 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_52b522986029ce23f0b2c2326792cafb.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 2548 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe Token: SeBackupPrivilege 3356 vssvc.exe Token: SeRestorePrivilege 3356 vssvc.exe Token: SeAuditPrivilege 3356 vssvc.exe Token: SeDebugPrivilege 4584 mstwain32.exe Token: SeDebugPrivilege 4584 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 1212 mstwain32.exe 4584 mstwain32.exe 4584 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 212 wrote to memory of 2548 212 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 83 PID 2548 wrote to memory of 1212 2548 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 88 PID 2548 wrote to memory of 1212 2548 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 88 PID 2548 wrote to memory of 1212 2548 JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe 88 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 PID 1212 wrote to memory of 4584 1212 mstwain32.exe 89 -
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\JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:212 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe"2⤵
- 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:2548 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52b522986029ce23f0b2c2326792cafb.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1212 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"4⤵
- 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:4584
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3356
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
-
C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-2878641211-696417878-3864914810-1000\88603cb2913a7df3fbd16b5f958e6447_4fc725d8-4f7d-4884-b878-08bb0ce6c800
Filesize51B
MD55fc2ac2a310f49c14d195230b91a8885
SHA190855cc11136ba31758fe33b5cf9571f9a104879
SHA256374e0e2897a7a82e0e44794cad89df0f3cdd7703886239c1fe06d625efd48092
SHA512ab46554df9174b9fe9beba50a640f67534c3812f64d96a1fb8adfdc136dfe730ca2370825cd45b7f87a544d6a58dd868cb5a3a7f42e2789f6d679dbc0fdd52c3
-
Filesize
33KB
MD50e5a1df766b52c66f8b8035dc9103339
SHA11636ae2001de8dac69dfa613671a47f0836b38c5
SHA256418a46e47988d4e2595282921f28d3d4b605e1d751f3bd78c75d43b8b8f630e6
SHA5122449dd65e20d637d50f61581fcee486cd9102b0346e5a99617e1aef7625a2cfc78de1736a95b02aaaa401690e8e71fb114bef9506d0b26637632c6d369a9d703
-
Filesize
441KB
MD552b522986029ce23f0b2c2326792cafb
SHA1467db5e1435432eb2658c991312db0e65e597ceb
SHA256226938f7d629994198fb18b5613046111040fffae659ccd9bb7da5ee8aa49d5d
SHA51294a9044ad68f1d3c6b3da7a3f3b927b982382a859c053dafb72438be9cc8be19596f9dcf7a287a3d715e04acc94d6ac8cac93fc35a810d1e365c33f078b61e81
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350