Analysis
-
max time kernel
148s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
07-12-2024 02:07
Behavioral task
behavioral1
Sample
d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe
-
Size
1.1MB
-
MD5
d029eb44e6eca32223f4659a5fcc15d0
-
SHA1
f098fc7138a88b07c5063e86507db8c2c891703d
-
SHA256
3db501af21fb74a96168a82036add26c137c0d3951e1e02078ef49285c8faa77
-
SHA512
191bc4e166780bd19dbb7cddfab5a84ba5f4c9feab2885b8d92500dd6cc637d41a688db107c71d05cbe82c18ffb4e2113c55b58642d7c15ef91afd5331e214ff
-
SSDEEP
24576:qOwPit8f/ust6uHU9QBz4cbvsJ72Zu5vhNUp741cv/HA:qN6Mfh4PJYuhUpmcng
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 39 IoCs
resource yara_rule behavioral1/memory/1824-1-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/1824-2-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-3-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-4-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-5-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-6-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/1824-7-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-10-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-20-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/1824-19-0x0000000000401000-0x000000000043F000-memory.dmp modiloader_stage2 behavioral1/memory/1824-18-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-24-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-23-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-25-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-26-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-30-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-29-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-31-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-32-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-33-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-34-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-35-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-36-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-37-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-38-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-40-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-41-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-43-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-45-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-47-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-49-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-51-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-53-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-55-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-57-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-59-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-61-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-63-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 behavioral1/memory/2932-65-0x0000000000400000-0x0000000000513000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
pid Process 2932 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-2039016743-699959520-214465309-1000\Software\Wine d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-2039016743-699959520-214465309-1000\Software\Wine mstwain32.exe -
resource yara_rule behavioral1/memory/1824-0-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-2-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-3-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-4-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-5-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-7-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-10-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/files/0x000a000000012263-16.dat themida behavioral1/memory/2932-21-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-20-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/1824-18-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-24-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-23-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-25-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-26-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-30-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-29-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-31-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-32-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-33-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-34-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-35-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-36-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-37-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-38-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-40-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-41-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-43-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-45-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-47-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-49-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-51-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-53-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-55-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-57-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-59-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-61-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-63-0x0000000000400000-0x0000000000513000-memory.dmp themida behavioral1/memory/2932-65-0x0000000000400000-0x0000000000513000-memory.dmp themida -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2039016743-699959520-214465309-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 mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe 2932 mstwain32.exe -
Drops file in Windows directory 3 IoCs
description ioc Process File created C:\Windows\mstwain32.exe d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe d029eb44e6eca32223f4659a5fcc15d0_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 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe 2932 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe Token: SeDebugPrivilege 2932 mstwain32.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2932 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 1824 wrote to memory of 2932 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe 30 PID 1824 wrote to memory of 2932 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe 30 PID 1824 wrote to memory of 2932 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe 30 PID 1824 wrote to memory of 2932 1824 d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe 30 -
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\d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d029eb44e6eca32223f4659a5fcc15d0_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1824 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- 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
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:2932
-
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
1.1MB
MD5d029eb44e6eca32223f4659a5fcc15d0
SHA1f098fc7138a88b07c5063e86507db8c2c891703d
SHA2563db501af21fb74a96168a82036add26c137c0d3951e1e02078ef49285c8faa77
SHA512191bc4e166780bd19dbb7cddfab5a84ba5f4c9feab2885b8d92500dd6cc637d41a688db107c71d05cbe82c18ffb4e2113c55b58642d7c15ef91afd5331e214ff