Analysis
-
max time kernel
149s -
max time network
17s -
platform
windows7_x64 -
resource
win7-20240729-en -
resource tags
arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system -
submitted
22-09-2024 16:28
Static task
static1
Behavioral task
behavioral1
Sample
f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe
Resource
win7-20240729-en
General
-
Target
f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe
-
Size
940KB
-
MD5
f26379ca654c18a9b974c4d154ef3a3b
-
SHA1
cd6771fd221862d0ca41c118b4873d907ddbcde4
-
SHA256
bc6564ac4d2fcdbe05a2383a943f2a36e3ef19a540951e16b8182d08063b3e97
-
SHA512
51fb5092e2efea670f5bb9933afc813327b39f58a6b9b05ffd521c3e86396fdb777608ee543a40d5cc2a210be37ad5f779c470c5bc7dfc74ef52d2c4b08cdde5
-
SSDEEP
24576:nQ2StP0bSlQjFdAtLoGf96K452iVH+H4rG3TaFcR6:nQ2nG2xdRoI+H4GL6
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 25 IoCs
resource yara_rule behavioral1/memory/2216-8-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2564-12-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/2564-15-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/2216-14-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2216-7-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2216-6-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2564-17-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/2216-5-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2216-4-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2216-3-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2216-2-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-30-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-35-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/1940-46-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/1940-47-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/2104-45-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/1940-41-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/2104-34-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-33-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-32-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-31-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-37-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/2104-36-0x0000000010000000-0x00000000100F7000-memory.dmp modiloader_stage2 behavioral1/memory/1940-48-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral1/memory/1940-54-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 -
Executes dropped EXE 2 IoCs
pid Process 2104 mstwain32.exe 1940 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 2 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 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-2703099537-420551529-3771253338-1000\Software\Wine mstwain32.exe -
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 f26379ca654c18a9b974c4d154ef3a3b_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 2 IoCs
pid Process 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 2104 mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2216 set thread context of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2104 set thread context of 1940 2104 mstwain32.exe 35 -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.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 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 2104 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2564 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe Token: SeBackupPrivilege 2548 vssvc.exe Token: SeRestorePrivilege 2548 vssvc.exe Token: SeAuditPrivilege 2548 vssvc.exe Token: SeDebugPrivilege 1940 mstwain32.exe Token: SeDebugPrivilege 1940 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1940 mstwain32.exe 1940 mstwain32.exe -
Suspicious use of WriteProcessMemory 16 IoCs
description pid Process procid_target PID 2216 wrote to memory of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2216 wrote to memory of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2216 wrote to memory of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2216 wrote to memory of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2216 wrote to memory of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2216 wrote to memory of 2564 2216 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 30 PID 2564 wrote to memory of 2104 2564 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 34 PID 2564 wrote to memory of 2104 2564 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 34 PID 2564 wrote to memory of 2104 2564 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 34 PID 2564 wrote to memory of 2104 2564 f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe 34 PID 2104 wrote to memory of 1940 2104 mstwain32.exe 35 PID 2104 wrote to memory of 1940 2104 mstwain32.exe 35 PID 2104 wrote to memory of 1940 2104 mstwain32.exe 35 PID 2104 wrote to memory of 1940 2104 mstwain32.exe 35 PID 2104 wrote to memory of 1940 2104 mstwain32.exe 35 PID 2104 wrote to memory of 1940 2104 mstwain32.exe 35 -
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\f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of WriteProcessMemory
PID:2216 -
C:\Users\Admin\AppData\Local\Temp\f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe2⤵
- 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:2564 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\f26379ca654c18a9b974c4d154ef3a3b_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Identifies Wine through registry keys
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of WriteProcessMemory
PID:2104 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- UAC bypass
- Executes dropped EXE
- 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:1940
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2548
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
940KB
MD5f26379ca654c18a9b974c4d154ef3a3b
SHA1cd6771fd221862d0ca41c118b4873d907ddbcde4
SHA256bc6564ac4d2fcdbe05a2383a943f2a36e3ef19a540951e16b8182d08063b3e97
SHA51251fb5092e2efea670f5bb9933afc813327b39f58a6b9b05ffd521c3e86396fdb777608ee543a40d5cc2a210be37ad5f779c470c5bc7dfc74ef52d2c4b08cdde5