Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareUsed by 1 actor

NarwhalRAT

NarwhalRAT is a compiled Python-based remote access trojan/backdoor used by ScarCruft, also known as APT37, a North Korean state-sponsored threat group. Reported campaigns primarily targeted Korean users via spear-phishing emails impersonating Microsoft Account security notifications and warning about suspicious one-time password activity. The lure delivered a ZIP archive containing a malicious LNK file that launched a multi-stage infection chain using obfuscated commands, PowerShell execution-policy bypass, batch scripts, and legitimate Windows tools such as curl. The chain downloaded an official embedded Python package, renamed the Python executable to "userscreen.exe," and used files including config.cat and AccountConfig.cat to load the main payload largely in memory. NarwhalRAT establishes persistence through Windows Task Scheduler using task names designed to resemble legitimate Microsoft tasks, including "MicrosoftUserInterfacePicturesUpdateTackMachine" and "MicrosoftMusicLibrariesPackageTaskMachine." The malware uses AES-128-encrypted configuration, Python ctypes to call Windows APIs, dynamic executable memory allocation, and anti-VM checks for VMware, VirtualBox, and Parallels Desktop. Its command-and-control architecture uses Korean relay infrastructure and the pCloud API as a dead-drop resolver, with reported relay domains including daehoat[.]com, novel21[.]co[.]kr, fe01[.]co[.]kr, and webhostingkorea[.]com. Observed capabilities include keylogging, screenshot capture, microphone/audio recording, active-window collection, USB data collection, file upload/download, remote command execution, and C2 switching. Stolen data is stored in a hidden directory named "naverwhale," intended to masquerade as the Naver Whale browser, before exfiltration to attacker-controlled servers.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
APT37

victims unknowingly download the APT37 NarwhalRAT malware. This Python backdoor then executes directly in the system’s memory.

via security online infosecurityonline.info
MITRE ATT&CK

Techniques & procedures

23 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1566.001Spearphishing AttachmentEvidence3

Attackers use sophisticated spear-phishing techniques to infiltrate systems. They disguise their emails as Microsoft account security advisories... The message urges users to download an attached advisory. Unfortunately, this attachment is a malicious ZIP archive.

Execution

6 techniques
T1053.005Scheduled TaskEvidence3

Also, the malware establishes persistence through the Windows Task Scheduler. It mimics a legitimate Microsoft user interface task.

T1059Command and Scripting InterpreterEvidence2

It performed various information-stealing activities, including keylogging, screen capture, USB data collection, and remote command execution.

T1059.001PowerShellEvidence1

The initial LNK file uses clever tricks. It obfuscates internal command lines by manipulating environment variables. Next, it bypasses the standard PowerShell execution policy.

T1059.003Windows Command ShellEvidence3

Upon execution, the LNK file initiates a multi-stage infection chain using batch scripts to download and install NarwhalRAT.

T1059.006PythonEvidence1

The attack chain plays out in a similar fashion... ultimately resulting in the deployment of a compiled Python script capable of remote command execution and sending the results back to the C2 server.

T1204.002Malicious FileEvidence3

Inside, a disguised LNK shortcut file waits for execution. When users click this file, they trigger a complex infection chain.

Persistence

1 technique
T1053.005Scheduled TaskEvidence3

Also, the malware establishes persistence through the Windows Task Scheduler. It mimics a legitimate Microsoft user interface task.

Privilege Escalation

1 technique
T1053.005Scheduled TaskEvidence3

Also, the malware establishes persistence through the Windows Task Scheduler. It mimics a legitimate Microsoft user interface task.

Stealth

6 techniques
T1027Obfuscated Files or InformationEvidence3

The initial LNK file uses clever tricks. It obfuscates internal command lines by manipulating environment variables.

T1036MasqueradingEvidence3

The malware renames the Python executable to “userscreen.exe” to avoid suspicion... It names this directory “naverwhale” to blend in smoothly.

T1218System Binary Proxy ExecutionEvidence1

The script then abuses legitimate Windows binaries. For example, it copies the built-in curl utility to download additional payloads.

T1497Virtualization/Sandbox EvasionEvidence2

It performs an Anti-VM function designed to detect virtual environments. If the malware detects a virtual machine, it terminates immediately.

T1497.001System ChecksEvidence1

The Python-based malware is equipped to... collect active window details ...

T1620Reflective Code LoadingEvidence2

The script copies the decrypted payload directly into this new memory space. As a result, the malware runs without creating a suspicious file on the disk. This fileless execution method effectively bypasses many antivirus solutions.

Credential Access

1 technique
T1056.001KeyloggingEvidence3

It performed various information-stealing activities, including keylogging, screen capture, USB data collection, and remote command execution.

Discovery

4 techniques
T1083File and Directory DiscoveryEvidence1

The Python-based malware is equipped to... upload directory contents ...

T1120Peripheral Device DiscoveryEvidence1

The Python-based malware is equipped to... gather data from USB media ...

T1497Virtualization/Sandbox EvasionEvidence2

It performs an Anti-VM function designed to detect virtual environments. If the malware detects a virtual machine, it terminates immediately.

T1497.001System ChecksEvidence1

The Python-based malware is equipped to... collect active window details ...

Collection

5 techniques
T1025Data from Removable MediaEvidence3

It performed various information-stealing activities, including keylogging, screen capture, USB data collection, and remote command execution.

T1056.001KeyloggingEvidence3

It performed various information-stealing activities, including keylogging, screen capture, USB data collection, and remote command execution.

T1113Screen CaptureEvidence3

It performed various information-stealing activities, including keylogging, screen capture, USB data collection, and remote command execution.

T1123Audio CaptureEvidence3

NarwhalRAT is capable of logging keystrokes, capturing screenshots, recording audio, exfiltrating data from USB drives, and executing commands from a command-and-control (C2) server.

T1560Archive Collected DataEvidence1

The moniker NarwhalRAT is a reference to the malware's use of "%APPDATA%\naverwhale" to stage the harvested information on the compromised host.

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence3

Then, it uses this token to communicate with pCloud. This approach blends malicious traffic with regular cloud service usage.

T1102.001Dead Drop ResolverEvidence2

The actor operated a dual C2 structure that used a Korean relay server and the pCloud API as a dead-drop Resolver.

T1105Ingress Tool TransferEvidence2

For example, it copies the built-in curl utility to download additional payloads... This batch file downloads a legitimate embedded Python package.

INDICATORS OF COMPROMISE

IOCs tracked for this family

4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
4 tracked

IPs, domains, and DNS infrastructure linked to this family.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app11 days ago
domain●●●●●●●●●●●●View more in app11 days ago
domain●●●●●●●●●●●●View more in app12 days ago
domain●●●●●●●●●●●●View more in app12 days ago
ACTIVITY FEED

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

security online infoNews
Jun 19, 2026
APT37 NarwhalRAT Malware: A Python Backdoor Threat

A compiled Python-based backdoor/RAT used in spear-phishing campaigns targeting Korean users. It executes filelessly in memory, uses AES-128-encrypted configuration, establishes persistence via Windows Task Scheduler, communicates through a dual C2 structure using a Korean relay server and the pCloud API as a dead-drop resolver, and steals data via keylogging, screen capture, USB data collection, and remote command execution while employing anti-VM checks.

Read more
scworldNews
Jun 16, 2026
North Korean hackers use fake Microsoft alerts to deploy NarwhalRAT malware | brief | SC Media

A remote access trojan delivered via spear-phishing ZIP/LNK infection chains. It establishes persistence via a scheduled task, loads its payload into memory, logs keystrokes, captures screenshots, records audio, exfiltrates data from USB drives, and executes commands from a C2 server.

Read more
the hacker newsNews
Jun 16, 2026
Fake Microsoft Alerts Used to Deploy North Korean NarwhalRAT Malware

Python-based remote access trojan delivered via spear-phishing ZIP/LNK chains. It uses multi-stage loaders, scheduled-task persistence, in-memory execution, multiple C2 channels including Korean relay websites and the pCloud API, and can log keystrokes, capture screenshots, record audio, upload directory contents, collect active window details, gather data from USB media, execute C2 commands, and switch C2 servers.

Read more
cyber security newsNews
Jun 15, 2026
Hackers Abuse LNK Files, PowerShell, and Python Loader to Deploy NarwhalRAT

A compiled Python-based remote access trojan/backdoor targeting Korean users. It is delivered via spear-phishing with a malicious LNK inside a ZIP, abuses PowerShell and curl.exe, installs persistence via a scheduled task, performs VM checks, and supports screen capture, keylogging, microphone recording, file upload/download, USB collection, remote command execution, and C2 configuration changes.

Read more
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching4

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping23

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.