Malware Analysis Report

2024-08-06 14:19

Sample ID 240619-1hb2ysxcqk
Target 00a3f4fca136f952348fd925d1880069_JaffaCakes118
SHA256 4864533bba0db0560b6655a97d2804dbf081a02ca038240a3c9262e86842864e
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

4864533bba0db0560b6655a97d2804dbf081a02ca038240a3c9262e86842864e

Threat Level: Known bad

The file 00a3f4fca136f952348fd925d1880069_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

modiloader evasion persistence trojan

UAC bypass

ModiLoader, DBatLoader

ModiLoader Second Stage

Identifies Wine through registry keys

Executes dropped EXE

Adds Run key to start application

Checks whether UAC is enabled

Drops file in Windows directory

Unsigned PE

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

Suspicious use of SetWindowsHookEx

System policy modification

Uses Volume Shadow Copy service COM API

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-06-19 21:38

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-19 21:38

Reported

2024-06-19 21:41

Platform

win7-20240508-en

Max time kernel

145s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_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
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A

Executes dropped EXE

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

Identifies Wine through registry keys

evasion
Description Indicator Process Target
Key opened \REGISTRY\USER\S-1-5-21-268080393-3149932598-1824759070-1000\Software\Wine C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe N/A
Key opened \REGISTRY\USER\S-1-5-21-268080393-3149932598-1824759070-1000\Software\Wine 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-268080393-3149932598-1824759070-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
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\00a3f4fca136f952348fd925d1880069_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\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe N/A
File opened for modification C:\Windows\mstwain32.exe C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_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\00a3f4fca136f952348fd925d1880069_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\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe"

C:\Windows\system32\vssvc.exe

C:\Windows\system32\vssvc.exe

C:\Windows\mstwain32.exe

"C:\Windows\mstwain32.exe"

Network

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

Files

memory/1648-0-0x0000000000400000-0x0000000000529000-memory.dmp

memory/1648-1-0x0000000000401000-0x000000000041C000-memory.dmp

memory/1648-5-0x0000000004CD0000-0x0000000004CE0000-memory.dmp

C:\Windows\mstwain32.exe

MD5 00a3f4fca136f952348fd925d1880069
SHA1 13971320aa89d7e0ae9f5c5c21f353df4714602b
SHA256 4864533bba0db0560b6655a97d2804dbf081a02ca038240a3c9262e86842864e
SHA512 178490f992fb50d00cdb7f70369d865e1286655146b4e5f9e70ea3680a0818da3c95dfa9d9af553878a8b6c57c577b512bdf558dcbe84674bff80e101be83dae

memory/268-14-0x0000000000400000-0x0000000000529000-memory.dmp

memory/1648-13-0x0000000004F50000-0x0000000005079000-memory.dmp

memory/1648-12-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-15-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-19-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-20-0x00000000043D0000-0x00000000043DE000-memory.dmp

memory/268-22-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-23-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-24-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-26-0x00000000043D0000-0x00000000043DE000-memory.dmp

memory/268-25-0x0000000004150000-0x0000000004158000-memory.dmp

memory/268-27-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-28-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-29-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-30-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-33-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-34-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-37-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-40-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-44-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-47-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-50-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-53-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-56-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-59-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-62-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-65-0x0000000000400000-0x0000000000529000-memory.dmp

memory/268-68-0x0000000000400000-0x0000000000529000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-19 21:38

Reported

2024-06-19 21:41

Platform

win10v2004-20240226-en

Max time kernel

144s

Max time network

158s

Command Line

"C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe"

Signatures

Identifies Wine through registry keys

evasion
Description Indicator Process Target
Key opened \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Software\Wine C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe N/A

Processes

C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\00a3f4fca136f952348fd925d1880069_JaffaCakes118.exe"

C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4040 --field-trial-handle=2292,i,2103142837140538807,15881446839139365070,262144 --variations-seed-version /prefetch:8

Network

Country Destination Domain Proto
GB 96.16.110.114:80 tcp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 97.90.14.23.in-addr.arpa udp
US 8.8.8.8:53 74.32.126.40.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 58.55.71.13.in-addr.arpa udp
US 8.8.8.8:53 103.169.127.40.in-addr.arpa udp
US 13.107.253.64:443 tcp
US 8.8.8.8:53 206.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 92.12.20.2.in-addr.arpa udp
US 8.8.8.8:53 164.189.21.2.in-addr.arpa udp
US 8.8.8.8:53 30.243.111.52.in-addr.arpa udp
US 8.8.8.8:53 chromewebstore.googleapis.com udp
US 8.8.8.8:53 chromewebstore.googleapis.com udp
GB 172.217.16.234:443 chromewebstore.googleapis.com tcp
US 8.8.8.8:53 234.16.217.172.in-addr.arpa udp
US 8.8.8.8:53 8.167.79.40.in-addr.arpa udp

Files

memory/1756-0-0x0000000000400000-0x0000000000529000-memory.dmp

memory/1756-1-0x0000000000400000-0x0000000000529000-memory.dmp