Malware Analysis Report

2025-01-22 14:03

Sample ID 240228-2dywlafd86
Target Notpad.exe
SHA256 a3e94a6f0006ecc2703d86b4de8528b270c60a9d3a0b6667c89487808d5009d0
Tags
njrat hacked 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 Overview

score
10/10

SHA256

a3e94a6f0006ecc2703d86b4de8528b270c60a9d3a0b6667c89487808d5009d0

Threat Level: Known bad

The file Notpad.exe was found to be: Known bad.

Malicious Activity Summary

njrat hacked persistence trojan

njRAT/Bladabindi

Drops startup file

Executes dropped EXE

Checks computer location settings

Adds Run key to start application

Drops file in Windows directory

Enumerates physical storage devices

Unsigned PE

Kills process with taskkill

Suspicious use of WriteProcessMemory

Uses Task Scheduler COM API

Suspicious use of AdjustPrivilegeToken

Creates scheduled task(s)

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-02-28 22:28

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-02-28 22:28

Reported

2024-02-28 22:31

Platform

win10v2004-20240226-en

Max time kernel

150s

Max time network

148s

Command Line

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

Signatures

njRAT/Bladabindi

trojan njrat

Checks computer location settings

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

Drops startup file

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

Executes dropped EXE

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

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-566096764-1992588923-1249862864-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\notpad.exe = "\"C:\\Windows\\notpad.exe\" .." C:\Windows\notpad.exe N/A
Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\notpad.exe = "\"C:\\Windows\\notpad.exe\" .." C:\Windows\notpad.exe N/A

Drops file in Windows directory

Description Indicator Process Target
File created C:\Windows\notpad.exe C:\Users\Admin\AppData\Local\Temp\Notpad.exe N/A
File opened for modification C:\Windows\notpad.exe C:\Windows\notpad.exe N/A
File created C:\Windows\BUG32.exe C:\Windows\notpad.exe N/A

Enumerates physical storage devices

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\SYSTEM32\schtasks.exe N/A

Kills process with taskkill

evasion
Description Indicator Process Target
N/A N/A C:\Windows\SYSTEM32\taskkill.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A
Token: 33 N/A C:\Windows\notpad.exe N/A
Token: SeIncBasePriorityPrivilege N/A C:\Windows\notpad.exe N/A

Uses Task Scheduler COM API

persistence

Processes

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

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

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /C choice /C Y /N /D Y /T 5 & Del "C:\Users\Admin\AppData\Local\Temp\Notpad.exe"

C:\Windows\notpad.exe

"C:\Windows\notpad.exe"

C:\Windows\system32\choice.exe

choice /C Y /N /D Y /T 5

C:\Windows\SYSTEM32\taskkill.exe

taskkill /f im Wireshark.exe

C:\Windows\SYSTEM32\schtasks.exe

schtasks /delete /tn "MicrosoftEdgeUpdateTaskMachine" /f

C:\Windows\SYSTEM32\schtasks.exe

schtasks /create /sc minute /mo 1 /tn "MicrosoftEdgeUpdateTaskMachine" /tr C:\Windows\notpad.exe

C:\Windows\notpad.exe

C:\Windows\notpad.exe

C:\Windows\notpad.exe

C:\Windows\notpad.exe

Network

Country Destination Domain Proto
US 8.8.8.8:53 73.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 185.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 9.228.82.20.in-addr.arpa udp
US 8.8.8.8:53 41.110.16.96.in-addr.arpa udp
DE 79.228.201.177:666 tcp
US 8.8.8.8:53 177.201.228.79.in-addr.arpa udp
DE 79.228.201.177:666 tcp
DE 79.228.201.177:666 tcp
US 8.8.8.8:53 103.169.127.40.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 134.71.91.104.in-addr.arpa udp
US 8.8.8.8:53 189.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 176.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 43.229.111.52.in-addr.arpa udp
DE 79.228.201.177:666 tcp

Files

memory/2480-0-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/2480-1-0x000000001B5B0000-0x000000001BA7E000-memory.dmp

memory/2480-2-0x0000000000BE0000-0x0000000000BF0000-memory.dmp

memory/2480-3-0x0000000000BB0000-0x0000000000BC6000-memory.dmp

memory/2480-4-0x000000001BA80000-0x000000001BB26000-memory.dmp

memory/2480-5-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

C:\Windows\notpad.exe

MD5 593f02ad15dbda4a76f7403b53e4c4dc
SHA1 aa2d558b7dada115cb927d6c2a62b77f63137c19
SHA256 a3e94a6f0006ecc2703d86b4de8528b270c60a9d3a0b6667c89487808d5009d0
SHA512 59aa5047919bc4e48e8e479215e3b45e6272c17dff2ed111dfe2eaad07eebb03770dde72077bc9a36be386080fbb69d1733c045834c0527c284156cbad117410

memory/228-15-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/228-16-0x0000000001450000-0x0000000001460000-memory.dmp

memory/2480-17-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/228-18-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/228-22-0x000000001C710000-0x000000001C7AC000-memory.dmp

memory/228-23-0x000000001B9B0000-0x000000001B9B8000-memory.dmp

memory/228-24-0x0000000001450000-0x0000000001460000-memory.dmp

memory/228-25-0x000000001D0B0000-0x000000001D112000-memory.dmp

memory/228-26-0x000000001D490000-0x000000001D4A9000-memory.dmp

memory/228-27-0x0000000001450000-0x0000000001460000-memory.dmp

memory/228-28-0x000000001CCA0000-0x000000001CCAA000-memory.dmp

memory/228-29-0x0000000001450000-0x0000000001460000-memory.dmp

memory/228-30-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/228-31-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/228-32-0x0000000001450000-0x0000000001460000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0\UsageLogs\notpad.exe.log

MD5 26ca4897aad21f536806c5e7925976e7
SHA1 f072e5b6bfd7ce28dbb16f162d9a4e05690fcbd8
SHA256 1c5b33fb22baaa5f9f1400e86f650aa4694387cdfa4835d3f60bebf203a491fd
SHA512 0f16a7f7fb34550bd91f042b2005cdc4233ca3e4be650abb832ff2f253358d7aa5fde1de4e1d9fc9e6cf971f1ed343ae6b575988083d9c4e3c6af96bdfb5d5a1

memory/3884-35-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/3884-36-0x0000000001100000-0x0000000001110000-memory.dmp

memory/3884-37-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/3884-38-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/228-39-0x000000001B9D0000-0x000000001B9DE000-memory.dmp

memory/228-40-0x000000001E910000-0x000000001E930000-memory.dmp

memory/3988-42-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/3988-43-0x0000000001200000-0x0000000001210000-memory.dmp

memory/3988-44-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp

memory/3988-45-0x00007FFB65730000-0x00007FFB660D1000-memory.dmp