Analysis
-
max time kernel
149s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
20-09-2024 01:27
Behavioral task
behavioral1
Sample
ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe
-
Size
273KB
-
MD5
ec91afea1184f286d68e2a2f13a1d888
-
SHA1
6672e4129b9a01e857a6303d4b4f8de6108e0362
-
SHA256
252d6b4bfd79ef045e901c012e8c70da081bb207eea2c94b6dc9ba750bc47297
-
SHA512
eb1f9ae4d64e97f6873a5cf9be326595347fe1b4c708268916c3639e45f76b178b6ed2e81e5b2411f077dee60f5de4312ba69e7b3e449d14cfc40f6eae2438b1
-
SSDEEP
6144:aG377xS2Vp2CeiorXhwTBOm537pcCJJvH:Jr7xS2Vp6FwTtbJJvH
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
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/files/0x000a0000000234ef-5.dat modiloader_stage2 behavioral2/memory/4468-10-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-26-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-29-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-32-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-35-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-38-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-41-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-44-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-47-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-50-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-53-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-56-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-59-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-62-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/2632-65-0x0000000000400000-0x000000000044C000-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-1194130065-3471212556-1656947724-1000\Control Panel\International\Geo\Nation ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 2632 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 2632 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2632 mstwain32.exe 2632 mstwain32.exe 2632 mstwain32.exe 2632 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1194130065-3471212556-1656947724-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 ec91afea1184f286d68e2a2f13a1d888_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
description ioc Process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe File created C:\Windows\ntdtcstp.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 ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4468 ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe Token: SeBackupPrivilege 2956 vssvc.exe Token: SeRestorePrivilege 2956 vssvc.exe Token: SeAuditPrivilege 2956 vssvc.exe Token: SeDebugPrivilege 2632 mstwain32.exe Token: SeDebugPrivilege 2632 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2632 mstwain32.exe 2632 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4468 wrote to memory of 2632 4468 ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe 90 PID 4468 wrote to memory of 2632 4468 ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe 90 PID 4468 wrote to memory of 2632 4468 ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe 90 -
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\ec91afea1184f286d68e2a2f13a1d888_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\ec91afea1184f286d68e2a2f13a1d888_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:4468 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\ec91afea1184f286d68e2a2f13a1d888_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:2632
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2956
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
MD5a1dd8ec91e1317d97d1fbd165d4f7853
SHA1b2595e69123018a7e9016992f71b3102183bf5ec
SHA256571e1ef037a9f9d901d9dc8f1bfcd164ce85eb2b6da7a3e85a627526c65571ab
SHA512046737a3fb49f9755f8b14e761f5ef97331868e35b62104344b10738ad3d582c5ce32698061e142105384118e232b3cc1e224f95310a43cf767835e6a22f3f38
-
Filesize
273KB
MD5ec91afea1184f286d68e2a2f13a1d888
SHA16672e4129b9a01e857a6303d4b4f8de6108e0362
SHA256252d6b4bfd79ef045e901c012e8c70da081bb207eea2c94b6dc9ba750bc47297
SHA512eb1f9ae4d64e97f6873a5cf9be326595347fe1b4c708268916c3639e45f76b178b6ed2e81e5b2411f077dee60f5de4312ba69e7b3e449d14cfc40f6eae2438b1
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350