Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
13-12-2024 16:54
Behavioral task
behavioral1
Sample
ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe
-
Size
111KB
-
MD5
ec79873a0ffb5a2af290ae562cb60404
-
SHA1
dc1c90ea436d54185e6d452d932810bd4065c46d
-
SHA256
8e270327d910a6f4c94a04c5c7b5dad3bb326bde12f561e4bd3f50f1ff96567a
-
SHA512
28bc50ee069c25c03a60606dccc83c6d2c78eef27d6cbf38517237aee5aba89564232d58e15955cc6de13856fa89ed1ba5e272323a627ab16c45b3f4a3f5def3
-
SSDEEP
3072:/oy8j7VnNdrPHaSekwi+mW+2Gbf0JA1uout:P8jZ7rvaU3+mWr0sq1uoS
Malware Config
Signatures
-
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 16 IoCs
resource yara_rule behavioral2/memory/1596-12-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-28-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-32-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-35-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-38-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-41-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-53-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-59-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-62-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-65-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1168-68-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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 1168 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 1168 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 1168 mstwain32.exe 1168 mstwain32.exe 1168 mstwain32.exe 1168 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-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 ec79873a0ffb5a2af290ae562cb60404_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 -
resource yara_rule behavioral2/memory/1596-0-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/files/0x000c000000023b83-6.dat upx behavioral2/memory/1596-12-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-32-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-35-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-38-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-53-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-59-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-62-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-65-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1168-68-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe ec79873a0ffb5a2af290ae562cb60404_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 2 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 ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 1596 ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe Token: SeBackupPrivilege 4460 vssvc.exe Token: SeRestorePrivilege 4460 vssvc.exe Token: SeAuditPrivilege 4460 vssvc.exe Token: SeDebugPrivilege 1168 mstwain32.exe Token: SeDebugPrivilege 1168 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1168 mstwain32.exe 1168 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 1596 wrote to memory of 1168 1596 ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe 85 PID 1596 wrote to memory of 1168 1596 ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe 85 PID 1596 wrote to memory of 1168 1596 ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe 85 -
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\ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\ec79873a0ffb5a2af290ae562cb60404_JaffaCakes118.exe"1⤵
- 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:1596 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\ec79873a0ffb5a2af290ae562cb60404_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
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:1168
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4460
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
33KB
MD564cc5f37369f3b79f41b334aea84c38e
SHA14fadd16c4fafbfd0be0d902cdf6f50484d9f3da5
SHA25685396e85895ba12eb0254607b604447d3776c8474ab122e113e494fa967bdc50
SHA51216feddd412b832a7592967c7fa6dcf4ef2614bca34dc1e74b55442ab7a1a60da45de470dd8dbabc85725d7ffd5015d2bdba6ef59444099c3de7d439d2bc38b4d
-
Filesize
111KB
MD5ec79873a0ffb5a2af290ae562cb60404
SHA1dc1c90ea436d54185e6d452d932810bd4065c46d
SHA2568e270327d910a6f4c94a04c5c7b5dad3bb326bde12f561e4bd3f50f1ff96567a
SHA51228bc50ee069c25c03a60606dccc83c6d2c78eef27d6cbf38517237aee5aba89564232d58e15955cc6de13856fa89ed1ba5e272323a627ab16c45b3f4a3f5def3
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350