Malware Analysis Report

2024-08-06 14:14

Sample ID 240616-fcmlaatgkn
Target b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118
SHA256 34519a0009b34f0c6b597bdc952178a12a915157edaf0c0ef88c12f5d1dc261b
Tags
modiloader evasion persistence trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

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

34519a0009b34f0c6b597bdc952178a12a915157edaf0c0ef88c12f5d1dc261b

Threat Level: Known bad

The file b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

modiloader evasion persistence trojan

Modiloader family

ModiLoader Second Stage

UAC bypass

ModiLoader, DBatLoader

ModiLoader Second Stage

Checks computer location settings

Executes dropped EXE

Loads dropped DLL

Deletes itself

Adds Run key to start application

Checks whether UAC is enabled

Drops file in Windows directory

Enumerates physical storage devices

Unsigned PE

Uses Volume Shadow Copy service COM API

System policy modification

Suspicious use of SetWindowsHookEx

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-06-16 04:43

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-06-16 04:43

Reported

2024-06-16 04:46

Platform

win7-20240220-en

Max time kernel

148s

Max time network

121s

Command Line

"C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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-2721934792-624042501-2768869379-1000\Software\Microsoft\Windows\CurrentVersion\Run\iexplorer.exe = "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\b1c60cdbd8ed972ca652e9427eb1ab58_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\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118.exe N/A
File opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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\b1c60cdbd8ed972ca652e9427eb1ab58_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\b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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\b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 saimbeyli.no-ip.org udp

Files

memory/2192-0-0x00000000003E0000-0x00000000003E1000-memory.dmp

C:\Windows\mstwain32.exe

MD5 b1c60cdbd8ed972ca652e9427eb1ab58
SHA1 68e019c4b3eed0fc555e9cf611054c40c43f6dea
SHA256 34519a0009b34f0c6b597bdc952178a12a915157edaf0c0ef88c12f5d1dc261b
SHA512 3dca47c733e868b5f29c19a77603c28c1e2bc7a3390f8960b61ebbec901decacd53213eb7d1819015b0dd72264a9e9c684b0f7b86cdca627c9c53d8fa491e1cb

memory/2192-9-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-13-0x00000000002A0000-0x00000000002A1000-memory.dmp

memory/2016-14-0x00000000005D0000-0x00000000005DE000-memory.dmp

memory/2016-16-0x0000000076CC0000-0x0000000076CC1000-memory.dmp

memory/2016-17-0x0000000076CB0000-0x0000000076DA0000-memory.dmp

memory/2016-20-0x00000000005D0000-0x00000000005DE000-memory.dmp

memory/2016-19-0x00000000002B0000-0x00000000002B8000-memory.dmp

memory/2016-18-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-21-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-24-0x0000000076CB0000-0x0000000076DA0000-memory.dmp

memory/2016-25-0x0000000076CB0000-0x0000000076DA0000-memory.dmp

memory/2016-26-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-29-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-32-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-36-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-39-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-42-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-45-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-48-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-51-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-54-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-57-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2016-60-0x0000000000400000-0x00000000004A6000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-16 04:43

Reported

2024-06-16 04:46

Platform

win10v2004-20240611-en

Max time kernel

149s

Max time network

154s

Command Line

"C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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-3169499791-3545231813-3156325206-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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-3169499791-3545231813-3156325206-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\iexplorer.exe = "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\b1c60cdbd8ed972ca652e9427eb1ab58_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 opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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
File created C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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\b1c60cdbd8ed972ca652e9427eb1ab58_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\b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\b1c60cdbd8ed972ca652e9427eb1ab58_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\b1c60cdbd8ed972ca652e9427eb1ab58_JaffaCakes118.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 g.bing.com udp
US 13.107.21.237:443 g.bing.com tcp
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 20.160.190.20.in-addr.arpa udp
US 8.8.8.8:53 25.24.18.2.in-addr.arpa udp
BE 2.17.107.98:443 www.bing.com tcp
US 8.8.8.8:53 237.21.107.13.in-addr.arpa udp
US 8.8.8.8:53 98.107.17.2.in-addr.arpa udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 183.59.114.20.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 18.24.18.2.in-addr.arpa udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 30.243.111.52.in-addr.arpa udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp
US 8.8.8.8:53 saimbeyli.no-ip.org udp

Files

memory/2604-0-0x0000000000740000-0x0000000000741000-memory.dmp

C:\Windows\mstwain32.exe

MD5 b1c60cdbd8ed972ca652e9427eb1ab58
SHA1 68e019c4b3eed0fc555e9cf611054c40c43f6dea
SHA256 34519a0009b34f0c6b597bdc952178a12a915157edaf0c0ef88c12f5d1dc261b
SHA512 3dca47c733e868b5f29c19a77603c28c1e2bc7a3390f8960b61ebbec901decacd53213eb7d1819015b0dd72264a9e9c684b0f7b86cdca627c9c53d8fa491e1cb

memory/2604-10-0x0000000000400000-0x00000000004A6000-memory.dmp

C:\Windows\ntdtcstp.dll

MD5 67587e25a971a141628d7f07bd40ffa0
SHA1 76fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256 e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA512 6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350

memory/2312-18-0x0000000000890000-0x0000000000891000-memory.dmp

C:\Windows\cmsetac.dll

MD5 7b3087eb4d50ff9aa1e86543279cbc6c
SHA1 2042e9f51da931d5e066e224f277a215d0c0ccaa
SHA256 593b5bb7e16f167258ac8f3c82415cd2c542b35c112d2f232ed11275de969efd
SHA512 4e615664b1d44902c8c5f06f1a8f3663d6e7eec74f8421a4fe8ed46df986eeb21450d6bd1bcbc119ae309297de933bb8be0474379f5b1fe60b6315d47fc586e3

memory/2312-22-0x0000000002940000-0x000000000294E000-memory.dmp

memory/2312-25-0x00000000027F0000-0x00000000027F1000-memory.dmp

memory/2312-26-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-27-0x0000000002290000-0x0000000002298000-memory.dmp

memory/2312-28-0x0000000002940000-0x000000000294E000-memory.dmp

memory/2312-29-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-32-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-35-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-38-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-41-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-44-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-47-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-50-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-53-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-56-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-59-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-62-0x0000000000400000-0x00000000004A6000-memory.dmp

memory/2312-65-0x0000000000400000-0x00000000004A6000-memory.dmp