Malware Analysis Report

2025-04-13 20:45

Sample ID 240407-ssb6psff76
Target e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118
SHA256 ca465812bfb612a6f02334a347137fa94c78ba22816bb985073599a7a7335450
Tags
modiloader evasion persistence trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

ca465812bfb612a6f02334a347137fa94c78ba22816bb985073599a7a7335450

Threat Level: Known bad

The file e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

modiloader evasion persistence trojan

ModiLoader, DBatLoader

ModiLoader Second Stage

UAC bypass

Modiloader family

ModiLoader Second Stage

Executes dropped EXE

Loads dropped DLL

Checks computer location settings

Deletes itself

Adds Run key to start application

Checks whether UAC is enabled

Drops file in Windows directory

Enumerates physical storage devices

Unsigned PE

Suspicious use of AdjustPrivilegeToken

Uses Volume Shadow Copy service COM API

Suspicious use of SetWindowsHookEx

Suspicious use of WriteProcessMemory

System policy modification

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-04-07 15:22

Signatures

ModiLoader Second Stage

Description Indicator Process Target
N/A N/A N/A N/A

Modiloader family

modiloader

Unsigned PE

Description Indicator Process Target
N/A N/A N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-04-07 15:22

Reported

2024-04-07 15:25

Platform

win7-20240221-en

Max time kernel

150s

Max time network

124s

Command Line

"C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe"

Signatures

ModiLoader, DBatLoader

trojan modiloader

UAC bypass

evasion trojan
Description Indicator Process Target
Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" C:\Windows\mstwain32.exe N/A

ModiLoader Second Stage

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-2461186416-2307104501-1787948496-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" C:\Windows\mstwain32.exe N/A

Checks whether UAC is enabled

evasion trojan
Description Indicator Process Target
Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA C:\Windows\mstwain32.exe N/A
Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" C:\Windows\mstwain32.exe N/A

Drops file in Windows directory

Description Indicator Process Target
File created C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
File opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
File created C:\Windows\ntdtcstp.dll C:\Windows\mstwain32.exe N/A
File created C:\Windows\cmsetac.dll C:\Windows\mstwain32.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
Token: SeBackupPrivilege N/A C:\Windows\system32\vssvc.exe N/A
Token: SeRestorePrivilege N/A C:\Windows\system32\vssvc.exe N/A
Token: SeAuditPrivilege N/A C:\Windows\system32\vssvc.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\mstwain32.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\mstwain32.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A
N/A N/A C:\Windows\mstwain32.exe N/A

System policy modification

evasion
Description Indicator Process Target
Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" C:\Windows\mstwain32.exe N/A

Uses Volume Shadow Copy service COM API

ransomware

Processes

C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe"

C:\Windows\system32\vssvc.exe

C:\Windows\system32\vssvc.exe

C:\Windows\mstwain32.exe

"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 byrumeli1.no-ip.biz udp

Files

memory/1616-8-0x0000000000400000-0x000000000044B000-memory.dmp

C:\Windows\mstwain32.exe

MD5 e53d28aa39fe85683d10a1f2ea531562
SHA1 9cd07aab2659d48cf0f96649f3a5764a2125bec0
SHA256 ca465812bfb612a6f02334a347137fa94c78ba22816bb985073599a7a7335450
SHA512 121556cb5787442c79be05b5019614e5009bb0be00ce9700f5fa3c2d8ac8ace13f4a13f832cc7d8c16cfca87c80b1da41ae69885e7b1abdd95e3ca5d01c58ea2

memory/2856-12-0x0000000000280000-0x0000000000281000-memory.dmp

memory/2856-13-0x0000000001FC0000-0x0000000001FCE000-memory.dmp

memory/2856-15-0x0000000077020000-0x0000000077110000-memory.dmp

memory/2856-16-0x0000000075230000-0x0000000075244000-memory.dmp

memory/2856-17-0x0000000001FB0000-0x0000000001FB1000-memory.dmp

memory/2856-18-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-19-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-20-0x0000000077020000-0x0000000077110000-memory.dmp

memory/2856-21-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-22-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-24-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-25-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-26-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-27-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-28-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-29-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-30-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-31-0x0000000000400000-0x000000000044B000-memory.dmp

memory/2856-32-0x0000000000400000-0x000000000044B000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-04-07 15:22

Reported

2024-04-07 15:25

Platform

win10v2004-20240226-en

Max time kernel

147s

Max time network

152s

Command Line

"C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe"

Signatures

ModiLoader, DBatLoader

trojan modiloader

UAC bypass

evasion trojan
Description Indicator Process Target
Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" C:\Windows\mstwain32.exe N/A

ModiLoader Second Stage

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-557049126-2506969350-2798870634-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A

Loads dropped DLL

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A
N/A N/A C:\Windows\mstwain32.exe N/A
N/A N/A C:\Windows\mstwain32.exe N/A
N/A N/A C:\Windows\mstwain32.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-557049126-2506969350-2798870634-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" C:\Windows\mstwain32.exe N/A

Checks whether UAC is enabled

evasion trojan
Description Indicator Process Target
Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA C:\Windows\mstwain32.exe N/A
Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" C:\Windows\mstwain32.exe N/A

Drops file in Windows directory

Description Indicator Process Target
File created C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
File opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
File created C:\Windows\ntdtcstp.dll C:\Windows\mstwain32.exe N/A
File created C:\Windows\cmsetac.dll C:\Windows\mstwain32.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe N/A
Token: SeBackupPrivilege N/A C:\Windows\system32\vssvc.exe N/A
Token: SeRestorePrivilege N/A C:\Windows\system32\vssvc.exe N/A
Token: SeAuditPrivilege N/A C:\Windows\system32\vssvc.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\mstwain32.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\mstwain32.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Windows\mstwain32.exe N/A
N/A N/A C:\Windows\mstwain32.exe N/A

System policy modification

evasion
Description Indicator Process Target
Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" C:\Windows\mstwain32.exe N/A

Uses Volume Shadow Copy service COM API

ransomware

Processes

C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe"

C:\Windows\system32\vssvc.exe

C:\Windows\system32\vssvc.exe

C:\Windows\mstwain32.exe

"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\e53d28aa39fe85683d10a1f2ea531562_JaffaCakes118.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
US 8.8.8.8:53 0.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 232.168.11.51.in-addr.arpa udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 103.169.127.40.in-addr.arpa udp
US 8.8.8.8:53 198.187.3.20.in-addr.arpa udp
US 8.8.8.8:53 24.139.73.23.in-addr.arpa udp
US 8.8.8.8:53 159.113.53.23.in-addr.arpa udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 31.243.111.52.in-addr.arpa udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 byrumeli1.no-ip.biz udp
US 8.8.8.8:53 95.16.208.104.in-addr.arpa udp

Files

C:\Windows\mstwain32.exe

MD5 e53d28aa39fe85683d10a1f2ea531562
SHA1 9cd07aab2659d48cf0f96649f3a5764a2125bec0
SHA256 ca465812bfb612a6f02334a347137fa94c78ba22816bb985073599a7a7335450
SHA512 121556cb5787442c79be05b5019614e5009bb0be00ce9700f5fa3c2d8ac8ace13f4a13f832cc7d8c16cfca87c80b1da41ae69885e7b1abdd95e3ca5d01c58ea2

memory/1496-10-0x0000000000720000-0x0000000000721000-memory.dmp

memory/1496-9-0x0000000000400000-0x000000000044B000-memory.dmp

C:\Windows\ntdtcstp.dll

MD5 67587e25a971a141628d7f07bd40ffa0
SHA1 76fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256 e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA512 6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350

memory/1920-18-0x00000000005E0000-0x00000000005E1000-memory.dmp

memory/1920-22-0x00000000030E0000-0x00000000030EE000-memory.dmp

C:\Windows\cmsetac.dll

MD5 9ae8bf65df5592fdada8ee5c8c1db47f
SHA1 b56fc6769add9ecfeb203e10393371d8b3023eb2
SHA256 b6b6b0f14d5252c535078c674ee49d89b033ce31a1eb313a5e0a057ba9144723
SHA512 eaa98499f0c7851af5a7ecdb3e5943096f97bd77090bc970b6140a88a11a464e5baf5da26d2b1256e7be42eb70546336b3c27d4c73cb78a3ee5b9f564ca97b7a

memory/1920-25-0x0000000002F90000-0x0000000002F91000-memory.dmp

memory/1920-26-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-27-0x00000000005F0000-0x00000000005F8000-memory.dmp

memory/1920-28-0x00000000030E0000-0x00000000030EE000-memory.dmp

memory/1920-29-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-32-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-35-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-38-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-41-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-44-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-47-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-50-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-53-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-56-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-59-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-62-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1920-65-0x0000000000400000-0x000000000044B000-memory.dmp