Malware Analysis Report

2024-10-23 20:45

Sample ID 240528-hjxqyaba33
Target 7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118
SHA256 81000dc1966cb3be3850943e75f6c08b97002c6b2aa1f020e4a74a0716b2de15
Tags
ratted njrat 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

81000dc1966cb3be3850943e75f6c08b97002c6b2aa1f020e4a74a0716b2de15

Threat Level: Known bad

The file 7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

ratted njrat evasion persistence trojan

Njrat family

njRAT/Bladabindi

Modifies Windows Firewall

Checks computer location settings

Loads dropped DLL

Drops startup file

Executes dropped EXE

Adds Run key to start application

Enumerates physical storage devices

Unsigned PE

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-05-28 06:46

Signatures

Njrat family

njrat

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-28 06:46

Reported

2024-05-28 06:49

Platform

win7-20240508-en

Max time kernel

150s

Max time network

140s

Command Line

"C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe"

Signatures

njRAT/Bladabindi

trojan njrat

Modifies Windows Firewall

evasion
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\netsh.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\e8c2fab912734648f8bb500fffb8db77.exe C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\e8c2fab912734648f8bb500fffb8db77.exe C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Loads dropped DLL

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-2737914667-933161113-3798636211-1000\Software\Microsoft\Windows\CurrentVersion\Run\e8c2fab912734648f8bb500fffb8db77 = "\"C:\\Users\\Admin\\AppData\\Roaming\\DongTest.exe\" .." C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\e8c2fab912734648f8bb500fffb8db77 = "\"C:\\Users\\Admin\\AppData\\Roaming\\DongTest.exe\" .." C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Processes

C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe"

C:\Users\Admin\AppData\Roaming\DongTest.exe

"C:\Users\Admin\AppData\Roaming\DongTest.exe"

C:\Windows\SysWOW64\netsh.exe

netsh firewall add allowedprogram "C:\Users\Admin\AppData\Roaming\DongTest.exe" "DongTest.exe" ENABLE

Network

Country Destination Domain Proto
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp

Files

memory/2432-0-0x00000000743E1000-0x00000000743E2000-memory.dmp

memory/2432-1-0x00000000743E0000-0x000000007498B000-memory.dmp

memory/2432-2-0x00000000743E0000-0x000000007498B000-memory.dmp

\Users\Admin\AppData\Roaming\DongTest.exe

MD5 7c0ef81ef52a99bc26a26aed61c6532d
SHA1 f0e189c7e4c75e0f0961e9f5150b1cebc07a440a
SHA256 81000dc1966cb3be3850943e75f6c08b97002c6b2aa1f020e4a74a0716b2de15
SHA512 cf5f9909f19e20fca38e67e0d7f20071de63ba31bd6132901f18254678f572fca172b22a01b5b6f517a6af7f30a0b786ddf5a04128e5cb9b6eabf179566dc0a6

memory/3000-10-0x00000000743E0000-0x000000007498B000-memory.dmp

memory/3000-11-0x00000000743E0000-0x000000007498B000-memory.dmp

memory/2432-12-0x00000000743E0000-0x000000007498B000-memory.dmp

memory/3000-14-0x00000000743E0000-0x000000007498B000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-28 06:46

Reported

2024-05-28 06:49

Platform

win10v2004-20240426-en

Max time kernel

149s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe"

Signatures

njRAT/Bladabindi

trojan njrat

Modifies Windows Firewall

evasion
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\netsh.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-711569230-3659488422-571408806-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\e8c2fab912734648f8bb500fffb8db77.exe C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\e8c2fab912734648f8bb500fffb8db77.exe C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\e8c2fab912734648f8bb500fffb8db77 = "\"C:\\Users\\Admin\\AppData\\Roaming\\DongTest.exe\" .." C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Set value (str) \REGISTRY\USER\S-1-5-21-711569230-3659488422-571408806-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\e8c2fab912734648f8bb500fffb8db77 = "\"C:\\Users\\Admin\\AppData\\Roaming\\DongTest.exe\" .." C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: 33 N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Users\Admin\AppData\Roaming\DongTest.exe N/A

Processes

C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\7c0ef81ef52a99bc26a26aed61c6532d_JaffaCakes118.exe"

C:\Users\Admin\AppData\Roaming\DongTest.exe

"C:\Users\Admin\AppData\Roaming\DongTest.exe"

C:\Windows\SysWOW64\netsh.exe

netsh firewall add allowedprogram "C:\Users\Admin\AppData\Roaming\DongTest.exe" "DongTest.exe" ENABLE

Network

Country Destination Domain Proto
US 8.8.8.8:53 13.86.106.20.in-addr.arpa udp
US 8.8.8.8:53 0.204.248.87.in-addr.arpa udp
US 8.8.8.8:53 69.31.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 154.239.44.20.in-addr.arpa udp
N/A 10.0.0.46:5552 tcp
US 8.8.8.8:53 50.23.12.20.in-addr.arpa udp
US 8.8.8.8:53 206.23.85.13.in-addr.arpa udp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp
N/A 10.0.0.46:5552 tcp

Files

memory/4000-0-0x0000000074A92000-0x0000000074A93000-memory.dmp

memory/4000-1-0x0000000074A90000-0x0000000075041000-memory.dmp

memory/4000-2-0x0000000074A90000-0x0000000075041000-memory.dmp

C:\Users\Admin\AppData\Roaming\DongTest.exe

MD5 7c0ef81ef52a99bc26a26aed61c6532d
SHA1 f0e189c7e4c75e0f0961e9f5150b1cebc07a440a
SHA256 81000dc1966cb3be3850943e75f6c08b97002c6b2aa1f020e4a74a0716b2de15
SHA512 cf5f9909f19e20fca38e67e0d7f20071de63ba31bd6132901f18254678f572fca172b22a01b5b6f517a6af7f30a0b786ddf5a04128e5cb9b6eabf179566dc0a6

memory/4000-12-0x0000000074A90000-0x0000000075041000-memory.dmp

memory/2404-14-0x0000000074A90000-0x0000000075041000-memory.dmp

memory/2404-13-0x0000000074A90000-0x0000000075041000-memory.dmp

memory/2404-16-0x0000000074A90000-0x0000000075041000-memory.dmp