Analysis
-
max time kernel
148s -
max time network
16s -
platform
windows7_x64 -
resource
win7-20240729-en -
resource tags
arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system -
submitted
17-09-2024 16:39
Static task
static1
Behavioral task
behavioral1
Sample
e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe
-
Size
1.3MB
-
MD5
e740bc29ad41dff6c45ff689afa65744
-
SHA1
bfe58e078729446312f62b1174c0ee2c1d88e7f8
-
SHA256
34b3617ea68e33b7504c30e00c0482c3da40b916f5b801027ea4923c86baee06
-
SHA512
de87b1e58c7a430838ddd5a34e610a32631176660b7e169e640912c921bf789f5ef2a843329fd82d210a847e1fc47749a71747626de2130c9d8b758a3b841a3a
-
SSDEEP
24576:SEk3cJEBCIXEIUP/dKAyoxjBg/U+9gzxJ2hGU5PG3oCwNxl99BA2b6a:Pk3cJ66PIDqAUKKxJ2hNDCOpT6a
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 -
Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 1 IoCs
description ioc Process Key opened \REGISTRY\MACHINE\HARDWARE\ACPI\DSDT\VBOX__ mstwain32.exe -
ModiLoader Second Stage 15 IoCs
resource yara_rule behavioral1/memory/2296-8-0x0000000000401000-0x00000000004E5000-memory.dmp modiloader_stage2 behavioral1/memory/2296-9-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/2296-10-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/2296-11-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/2296-28-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/2296-27-0x0000000004360000-0x000000000458A000-memory.dmp modiloader_stage2 behavioral1/memory/2296-26-0x0000000000401000-0x00000000004E5000-memory.dmp modiloader_stage2 behavioral1/memory/1584-37-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-36-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-38-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-43-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-44-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-45-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-46-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 behavioral1/memory/1584-47-0x0000000000400000-0x000000000062A000-memory.dmp modiloader_stage2 -
Checks BIOS information in registry 2 TTPs 4 IoCs
BIOS information is often read in order to detect sandboxing environments.
description ioc Process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosDate e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosDate mstwain32.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 1584 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 1 IoCs
Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2703099537-420551529-3771253338-1000\Software\Wine mstwain32.exe -
resource yara_rule behavioral1/memory/2296-0-0x00000000002E0000-0x00000000002F1000-memory.dmp upx behavioral1/memory/2296-1-0x00000000002E0000-0x00000000002F1000-memory.dmp upx behavioral1/memory/2296-5-0x00000000002E0000-0x00000000002F1000-memory.dmp upx behavioral1/memory/2296-4-0x00000000002E0000-0x00000000002F1000-memory.dmp upx behavioral1/memory/2296-2-0x00000000002E0000-0x00000000002F1000-memory.dmp upx behavioral1/memory/2296-6-0x0000000000310000-0x0000000000348000-memory.dmp upx behavioral1/memory/2296-7-0x0000000000310000-0x0000000000348000-memory.dmp upx behavioral1/memory/2296-15-0x00000000002E0000-0x00000000002F1000-memory.dmp upx behavioral1/memory/2296-25-0x0000000000310000-0x0000000000348000-memory.dmp upx behavioral1/memory/1584-34-0x00000000002D0000-0x00000000002E1000-memory.dmp upx behavioral1/memory/1584-33-0x00000000002D0000-0x00000000002E1000-memory.dmp upx behavioral1/memory/1584-35-0x0000000000320000-0x0000000000358000-memory.dmp upx behavioral1/memory/1584-31-0x00000000002D0000-0x00000000002E1000-memory.dmp upx behavioral1/memory/1584-30-0x00000000002D0000-0x00000000002E1000-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-2703099537-420551529-3771253338-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 e740bc29ad41dff6c45ff689afa65744_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 -
Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
pid Process 1584 mstwain32.exe -
Drops file in Windows directory 3 IoCs
description ioc Process File created C:\Windows\mstwain32.exe e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe e740bc29ad41dff6c45ff689afa65744_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 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Checks processor information in registry 2 TTPs 14 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process Key queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\VendorIdentifier e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value enumerated \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 mstwain32.exe Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\FeatureSet e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 mstwain32.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\FeatureSet mstwain32.exe Key value enumerated \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\Identifier e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 mstwain32.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\Identifier mstwain32.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\VendorIdentifier mstwain32.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString mstwain32.exe -
Enumerates system info in registry 2 TTPs 2 IoCs
description ioc Process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\Identifier e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\Identifier mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 1584 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 2296 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe Token: SeBackupPrivilege 2952 vssvc.exe Token: SeRestorePrivilege 2952 vssvc.exe Token: SeAuditPrivilege 2952 vssvc.exe Token: SeDebugPrivilege 1584 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2296 wrote to memory of 1584 2296 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe 33 PID 2296 wrote to memory of 1584 2296 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe 33 PID 2296 wrote to memory of 1584 2296 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe 33 PID 2296 wrote to memory of 1584 2296 e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe 33 -
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\e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e740bc29ad41dff6c45ff689afa65744_JaffaCakes118.exe"1⤵
- Checks BIOS information in registry
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2296 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Identifies VirtualBox via ACPI registry values (likely anti-VM)
- Checks BIOS information in registry
- Executes dropped EXE
- Identifies Wine through registry keys
- Adds Run key to start application
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- System policy modification
PID:1584
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2952
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
3Virtualization/Sandbox Evasion
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1.3MB
MD5e740bc29ad41dff6c45ff689afa65744
SHA1bfe58e078729446312f62b1174c0ee2c1d88e7f8
SHA25634b3617ea68e33b7504c30e00c0482c3da40b916f5b801027ea4923c86baee06
SHA512de87b1e58c7a430838ddd5a34e610a32631176660b7e169e640912c921bf789f5ef2a843329fd82d210a847e1fc47749a71747626de2130c9d8b758a3b841a3a