Analysis
-
max time kernel
150s -
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
30-09-2024 18:23
Behavioral task
behavioral1
Sample
02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe
-
Size
115KB
-
MD5
02b2a83ed3841dd15d971ec110637664
-
SHA1
05beaecb3a43425e80dc8a81a7bea43c8c84b592
-
SHA256
f9a4c798ae4c11c997f3949390e8876a0a959cc8d23a8f7cad11026ad64a813e
-
SHA512
8c167c77d1b0f58cda9f5517b8ab9703138825c0839a019996add5a12f988a2ad6c63cb0cf0e6f6ea2cf7788615730547ff38150c9ba89e5b495027b810029d8
-
SSDEEP
3072:TR1+MJKrUnFYY5z1i0Nmbi5fJBNB6J7lSmQgMoutq:THIrPj0NmWtNB67IxoSq
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/1864-13-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-29-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-30-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-33-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-36-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-39-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-42-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-45-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-48-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-51-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-54-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-57-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-60-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-63-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-66-0x0000000000400000-0x0000000000452000-memory.dmp modiloader_stage2 behavioral2/memory/2720-69-0x0000000000400000-0x0000000000452000-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-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
pid Process 2720 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2720 mstwain32.exe 2720 mstwain32.exe 2720 mstwain32.exe 2720 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-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 02b2a83ed3841dd15d971ec110637664_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/1864-0-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/files/0x000700000002346b-7.dat upx behavioral2/memory/1864-13-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-29-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-30-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-33-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-36-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-39-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-42-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-45-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-48-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-51-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-54-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-57-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-60-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-63-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-66-0x0000000000400000-0x0000000000452000-memory.dmp upx behavioral2/memory/2720-69-0x0000000000400000-0x0000000000452000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 02b2a83ed3841dd15d971ec110637664_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 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1864 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe Token: SeDebugPrivilege 2720 mstwain32.exe Token: SeDebugPrivilege 2720 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2720 mstwain32.exe 2720 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 1864 wrote to memory of 2720 1864 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe 83 PID 1864 wrote to memory of 2720 1864 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe 83 PID 1864 wrote to memory of 2720 1864 02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe 83 -
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
Processes
-
C:\Users\Admin\AppData\Local\Temp\02b2a83ed3841dd15d971ec110637664_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\02b2a83ed3841dd15d971ec110637664_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:1864 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- 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:2720
-
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
32KB
MD51997739fc2d05bef593c870da6b6ddec
SHA1079b68e6b57bc175ad83b0024a5465118031ce8c
SHA256416b28df3e35d5a7ee5f1fb9af325d471f2201bcb3928746ca7eb22933955d46
SHA512af07d4a501d5efdf43c830cd94dd8224b7fea558ec90685238f75ef512112b38c618acc72d710f01deeba1a5a65c52582736bb48cb86cd6828ba6082c1c363ab
-
Filesize
115KB
MD502b2a83ed3841dd15d971ec110637664
SHA105beaecb3a43425e80dc8a81a7bea43c8c84b592
SHA256f9a4c798ae4c11c997f3949390e8876a0a959cc8d23a8f7cad11026ad64a813e
SHA5128c167c77d1b0f58cda9f5517b8ab9703138825c0839a019996add5a12f988a2ad6c63cb0cf0e6f6ea2cf7788615730547ff38150c9ba89e5b495027b810029d8
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350