NodeRabbit
- Type
- RAT
- Capabilities
- ReconnaissancePost exploitationExfiltrationPersistenceDefense evasion
- Delivery
- SpearphishingLure
- Platforms
- WindowsLinuxmacOS
NodeRabbit is a Node.js-based remote-access trojan targeting Windows, Linux, and macOS. It is associated with the Iran-linked cyberespionage actor Mirage Kitten, also tracked as UNC1549, Smoke Sandstorm, and Nimbus Manticore. Its deployment has targeted software developers in financial technology, aviation, and aerospace organizations across the Middle East and Africa, with confirmed infections in Afghanistan, Egypt, and Ethiopia.
Operators distribute NodeRabbit through recruitment-themed spearphishing on LinkedIn and other employment platforms. Fake recruiters persuade targets to download and execute trojanized coding-assessment archives hosted on Amazon S3. These projects contain malicious Node.js packages bundled locally rather than published to the public npm registry. Importing a malicious dependency launches the implant as a detached background process. Short assessment deadlines encourage execution with limited scrutiny.
NodeRabbit collects host and network information, enumerates processes and directories, executes shell commands and attacker-supplied Node.js scripts, manipulates files, and transfers data. It derives a host-specific agent identifier from system attributes and encrypts command-and-control communications using AES-256-GCM. Its infrastructure includes Azure-hosted command servers. Later variants support enterprise proxy discovery and authenticated tunneling, command-server replacement, process termination, mounted-volume enumeration, discovery of development projects and Git repositories, and extraction of Outlook account addresses from local artifacts. The command set expanded from 11 commands in an initial variant to 23 in a later variant.
Anti-analysis features inspect system resources, uptime, host and user names, and analysis tools; suspicious environments can cause the implant to exit without contacting its command server. Persistence mechanisms include Windows autorun entries or scheduled tasks, Linux cron entries, and macOS LaunchAgents. Advanced variants also install a counterfeit Visual Studio Code extension and modify Git hooks to relaunch the implant during routine development activity, with attempts to disable Visual Studio Code Workspace Trust.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
NodeRabbit gathers host details, communicates with remote servers and can run commands, list processes, browse files and transfer data.
Techniques & procedures
43 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
Les projets trojanisés importent des packages npm malveillants; la variante Égypte utilise curl.exe pour le support proxy.
Les archives de défis de codage trojanisées sont hébergées sur Amazon S3 et distribuées aux cibles.
Initial Access
5 techniques
Initial Access
The attackers bundled the trojanized colorized_terminal package directly in the challenge task archive's node_modules directory rather than publishing it to the npm registry.
Its first line instead imported colorized_terminal version 2.1.0, a malicious package bundled inside node_modules rather than obtained from npm; loading it launched NodeRabbit from a hidden cache path.
“The first line of server.js imported a malicious npm package named colorized_terminal... attackers bundled it directly inside the archive's node_modules directory.”
Les cibles reçoivent un lien vers une archive de défi de codage trojanisée, présentée comme une évaluation technique pour un poste d’ingénieur.
The campaign uses recruiter personas on LinkedIn and other employment platforms to deliver projects that appear safe enough to run.
Execution
6 techniques
Execution
T1053.003 — Scheduled Task/Job: Cron (Persistence).
T1053.005 — Scheduled Task/Job: Scheduled Task (Persistence).
NodeRabbit gathers host and network details, lists processes, runs shell commands... PollCat provides ... shell access, and arbitrary JavaScript execution.
NodeRabbit proc:start executes an arbitrary shell command; PollCat RUN executes a shell command.
“The EVAL_JS command is particularly powerful because attacker-provided JavaScript executes with access to Node.js modules.”
The lure gave recipients three hours to respond and told them not to use AI assistants, adding pressure that discourages careful review.
Persistence
8 techniques
Persistence
T1053.003 — Scheduled Task/Job: Cron (Persistence).
T1053.005 — Scheduled Task/Job: Scheduled Task (Persistence).
It creates a fake extension displayed as GitHub Copilot Helper ... activation event on StartupFinished. The extension.js file attempts to start the installed payload.
Les chemins incluent ~/Library/LaunchAgents/com.microsoft.edgeupdate.plist, com.intel.dsa.helper et com.harsh.requireobject.plist.
The malware can also insert a launcher into Git post-merge or post-checkout hooks, so ordinary repository activity may restart it.
Git-hook persistence ... appends a marked launcher to .git/hooks/post-merge and .git/hooks/post-checkout.
NodeRabbit can search development locations for Git repositories and inject a launcher into a repository's Git hooks for added persistence.
“On Windows, [NodeRabbit] can attempt Run-key persistence even if the extension directory is unavailable.”
Privilege Escalation
7 techniques
Privilege Escalation
T1053.003 — Scheduled Task/Job: Cron (Persistence).
T1053.005 — Scheduled Task/Job: Scheduled Task (Persistence).
Les chemins incluent ~/Library/LaunchAgents/com.microsoft.edgeupdate.plist, com.intel.dsa.helper et com.harsh.requireobject.plist.
The malware can also insert a launcher into Git post-merge or post-checkout hooks, so ordinary repository activity may restart it.
Git-hook persistence ... appends a marked launcher to .git/hooks/post-merge and .git/hooks/post-checkout.
NodeRabbit can search development locations for Git repositories and inject a launcher into a repository's Git hooks for added persistence.
“On Windows, [NodeRabbit] can attempt Run-key persistence even if the extension directory is unavailable.”
Stealth
5 techniques
Stealth
“NodeRabbit can create an extension masquerading as GitHub Copilot Helper,” and actors “incorporated a targeted organization's name into Azure subdomains.”
La persistance est masquée en Microsoft Edge Update ou Intel DSA; une fausse extension VS Code est nommée GitHub Copilot Helper.
NodeRabbit writes a Base64-encoded Node.js script to a randomly named .tmp file, executes it, and then deletes it to cover up traces.
Newer versions check for analysis environments... PollCat ... [checks] for traces of security products.
“The malware checks for characteristics commonly associated with malware-analysis systems, including low memory, limited CPU resources, short uptime, analyst-associated usernames or hostnames, and running analysis tools.”
Defense Impairment
1 technique
Defense Impairment
When NodeRabbit suspects it’s being analyzed, it first sends a few harmless requests to Google, Microsoft and Cloudflare, then stops without contacting its real command server.
Discovery
8 techniques
Discovery
T1016 — System Network Configuration Discovery (Discovery).
NodeRabbit gathers host and network details, lists processes...
NodeRabbit gathers host and network details... PollCat provides file transfers, system inventory...
Its third variant expands to 23 commands and searches for Outlook addresses, mounted drives, development projects, and Git repositories.
“New functionality includes... Outlook account address discovery from OST and PST artifacts.”
Newer versions check for analysis environments... PollCat ... [checks] for traces of security products.
“The malware checks for characteristics commonly associated with malware-analysis systems, including low memory, limited CPU resources, short uptime, analyst-associated usernames or hostnames, and running analysis tools.”
T1518.001 — Software Discovery: Security Software Discovery (Discovery).
Collection
2 techniques
Collection
T1005 — Data from Local System (Collection).
La variante NodeRabbit Éthiopie possède la commande outlook:emails.
Command and Control
9 techniques
Command and Control
NodeRabbit chooses from Azure-hosted C2 infrastructure addresses; on failure, it switches to the next C2 address. PollCat iterates over C2s until registration succeeds.
“[NodeRabbit] communicates with Azure-hosted C2 infrastructure using encrypted API requests.”
La variante Égypte prend en charge les proxys NTLM/Negotiate via curl.exe; cette délégation proxy est aussi citée comme similarité avec Retrograde/MiniFast.
“The malware supports HTTP CONNECT tunneling and can attempt Basic, NTLM, or Negotiate proxy authentication.”
[The] coding assessment [is] hosted on a completely legitimate-looking Amazon S3 link.
NodeRabbit reads a file in chunks and returns Base64-encoded data; PollCat submits a Base64-encoded command-result structure.
NodeRabbit and PollCat are described as cross-platform remote access trojans and expose commands for shell/process execution, filesystem operations, discovery, and C2-controlled script execution.
[NodeRabbit] connects to infrastructure hosted on Azure, using AES-256-GCM encryption to protect its communications.
“[NodeRabbit] communicates with Azure-hosted C2 infrastructure using encrypted API requests protected with AES-256-GCM.”
Exfiltration
1 technique
Exfiltration
PollCat can upload a local file or file chunk to the C2 through /vault/push, while NodeRabbit returns file data and command results to C2.
Observables
39 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.