Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
19-09-2024 15:48
Behavioral task
behavioral1
Sample
ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe
-
Size
110KB
-
MD5
ebaa869c27393d9337825a0be678b48c
-
SHA1
866504b50b266a7624ee6972bdfaadadde01537f
-
SHA256
6de2909b9acc9b4c2efc540a1142324d7340f9e675224002ae57a16cc257cad1
-
SHA512
46174f7dfe128efb10ae6ddbc7faa6ba2f59da5bc16a782f16308974726215f363e2b6eecb8b96d860775446b065a490cea189eb7b0a95c15cfbb26fab0f5fd0
-
SSDEEP
3072:Roy8j7VnNdrPHaSekwi+mW+2d5GZTSh6B/out:h8jZ7rvaU3+mWrTGc6NoS
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/memory/464-12-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-28-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-29-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-32-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-35-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-38-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-41-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-44-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-47-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-50-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-53-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-56-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-59-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-62-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-65-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral2/memory/772-68-0x0000000000400000-0x000000000044F000-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-523280732-2327480845-3730041215-1000\Control Panel\International\Geo\Nation ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 772 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 772 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 772 mstwain32.exe 772 mstwain32.exe 772 mstwain32.exe 772 mstwain32.exe -
resource yara_rule behavioral2/memory/464-0-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/files/0x0008000000023442-6.dat upx behavioral2/memory/464-12-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-28-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-29-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-32-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-35-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-38-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-41-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-44-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-47-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-50-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-53-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-56-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-59-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-62-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-65-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral2/memory/772-68-0x0000000000400000-0x000000000044F000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-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 ebaa869c27393d9337825a0be678b48c_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\mstwain32.exe ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe ebaa869c27393d9337825a0be678b48c_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 ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 464 ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe Token: SeBackupPrivilege 1344 vssvc.exe Token: SeRestorePrivilege 1344 vssvc.exe Token: SeAuditPrivilege 1344 vssvc.exe Token: SeDebugPrivilege 772 mstwain32.exe Token: SeDebugPrivilege 772 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 772 mstwain32.exe 772 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 464 wrote to memory of 772 464 ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe 90 PID 464 wrote to memory of 772 464 ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe 90 PID 464 wrote to memory of 772 464 ebaa869c27393d9337825a0be678b48c_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\ebaa869c27393d9337825a0be678b48c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\ebaa869c27393d9337825a0be678b48c_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:464 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\ebaa869c27393d9337825a0be678b48c_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:772
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1344
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
MD59dec9d475e1abc5b43f2c6e2842383b4
SHA1b57aaab7229f6941a93e761d4a22e55faf01d6e4
SHA256b52a1681ab5780805f1d3843f08190357cafbbfd535b174f16e06d959748067a
SHA5120f084463fef0604480701ffb5a0c2cb45eba1626275d8ebfbb9581ef16cd8f044b2db4b66bb724b2d5a430093b8474ce0771d8361fb09be1db8b81e13125fbd9
-
Filesize
110KB
MD5ebaa869c27393d9337825a0be678b48c
SHA1866504b50b266a7624ee6972bdfaadadde01537f
SHA2566de2909b9acc9b4c2efc540a1142324d7340f9e675224002ae57a16cc257cad1
SHA51246174f7dfe128efb10ae6ddbc7faa6ba2f59da5bc16a782f16308974726215f363e2b6eecb8b96d860775446b065a490cea189eb7b0a95c15cfbb26fab0f5fd0
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350