Malware Analysis Report

2024-10-19 07:03

Sample ID 240508-w6zeyabg39
Target 2629102aaab6078a598437b0bfde20f6_JaffaCakes118
SHA256 8aa5a9c79c871690a1fad384608ba8abcb7e18a09968ed177a3830f9363a716f
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

8aa5a9c79c871690a1fad384608ba8abcb7e18a09968ed177a3830f9363a716f

Threat Level: Known bad

The file 2629102aaab6078a598437b0bfde20f6_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

modiloader evasion persistence trojan

ModiLoader Second Stage

ModiLoader, DBatLoader

UAC bypass

Modiloader family

ModiLoader Second Stage

Loads dropped DLL

Executes dropped EXE

Deletes itself

Checks computer location settings

Checks whether UAC is enabled

Adds Run key to start application

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-05-08 18:32

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-05-08 18:32

Reported

2024-05-08 18:35

Platform

win7-20231129-en

Max time kernel

149s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_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

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-3627615824-4061627003-3019543961-1000\Software\Microsoft\Windows\CurrentVersion\Run\Lütfen Çalýþtýrýn = "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\2629102aaab6078a598437b0bfde20f6_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\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe N/A
File opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_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\2629102aaab6078a598437b0bfde20f6_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\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_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\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 xaero.zapto.org udp

Files

memory/2968-0-0x0000000000330000-0x0000000000331000-memory.dmp

C:\Windows\mstwain32.exe

MD5 2629102aaab6078a598437b0bfde20f6
SHA1 7f02c1be915d19184f1f68ec89078ee55a9f974e
SHA256 8aa5a9c79c871690a1fad384608ba8abcb7e18a09968ed177a3830f9363a716f
SHA512 d70f52ea07b78af4dc1ebb6c89afb4e874b1436233ed2d24215cd3795ac8bf74d5ee3538fc27092f713a9ab14524bf7f79eca1a20b30adff0354ac22e2004847

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

memory/1792-13-0x00000000003F0000-0x00000000003F1000-memory.dmp

memory/1792-14-0x0000000002470000-0x000000000247E000-memory.dmp

memory/1792-16-0x0000000075610000-0x0000000075611000-memory.dmp

memory/1792-17-0x0000000075600000-0x00000000756F0000-memory.dmp

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

memory/1792-20-0x0000000002470000-0x000000000247E000-memory.dmp

memory/1792-19-0x00000000005E0000-0x00000000005E8000-memory.dmp

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

memory/1792-24-0x0000000075600000-0x00000000756F0000-memory.dmp

memory/1792-25-0x0000000075600000-0x00000000756F0000-memory.dmp

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

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

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

memory/1792-36-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-39-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-42-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-45-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-48-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-51-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-54-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-57-0x0000000000400000-0x000000000044B000-memory.dmp

memory/1792-60-0x0000000000400000-0x000000000044B000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-08 18:32

Reported

2024-05-08 18:35

Platform

win10v2004-20240508-en

Max time kernel

148s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_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-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_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-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Lütfen Çalýþtýrýn = "C:\\Windows\\mstwain32.exe" C:\Windows\mstwain32.exe N/A

Checks whether UAC is enabled

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
Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe N/A
Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA C:\Windows\mstwain32.exe N/A

Drops file in Windows directory

Description Indicator Process Target
File created C:\Windows\ntdtcstp.dll C:\Windows\mstwain32.exe N/A
File created C:\Windows\cmsetac.dll C:\Windows\mstwain32.exe N/A
File created C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe N/A
File opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.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\2629102aaab6078a598437b0bfde20f6_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\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\2629102aaab6078a598437b0bfde20f6_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\2629102aaab6078a598437b0bfde20f6_JaffaCakes118.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 79.190.18.2.in-addr.arpa udp
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 31.243.111.52.in-addr.arpa udp
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 xaero.zapto.org udp
US 8.8.8.8:53 xaero.zapto.org udp

Files

memory/2416-0-0x0000000000620000-0x0000000000621000-memory.dmp

C:\Windows\mstwain32.exe

MD5 2629102aaab6078a598437b0bfde20f6
SHA1 7f02c1be915d19184f1f68ec89078ee55a9f974e
SHA256 8aa5a9c79c871690a1fad384608ba8abcb7e18a09968ed177a3830f9363a716f
SHA512 d70f52ea07b78af4dc1ebb6c89afb4e874b1436233ed2d24215cd3795ac8bf74d5ee3538fc27092f713a9ab14524bf7f79eca1a20b30adff0354ac22e2004847

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

C:\Windows\ntdtcstp.dll

MD5 67587e25a971a141628d7f07bd40ffa0
SHA1 76fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256 e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA512 6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350

memory/1792-18-0x00000000005F0000-0x00000000005F1000-memory.dmp

C:\Windows\cmsetac.dll

MD5 797988d4532348f0d8fcc82defd035d1
SHA1 37aade528fb0cb5d0cebd85bed3ec8103cfbf31b
SHA256 1a6a34b4e65bfce2085bcfb07a7691830624ba876c84da714fe8d94d5a473bdc
SHA512 e26cff681f7e205ce27b0c08fd4f5a28c67e05dc7a10b2ed2471a75e21c6fbc4121fd836b185f305e634fe3a450db3fde10942a4d9687794b1c05e175667c360

memory/1792-22-0x00000000028E0000-0x00000000028EE000-memory.dmp

memory/1792-25-0x0000000002790000-0x0000000002791000-memory.dmp

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

memory/1792-28-0x00000000028E0000-0x00000000028EE000-memory.dmp

memory/1792-27-0x0000000000940000-0x0000000000948000-memory.dmp

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

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

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

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

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

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

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

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

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

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

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

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

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