Skip to main content
Emerging ThreatsMalware & Ransomware

GL.iNet Cloud Flaw Exploited to Install Malware on Routers, KVM Devices

A home office network setup with a router and surrounding equipment on a shelf.

"removes the malware identified in this incident without requiring a factory reset," GL.iNet said in a security notice updated today.

How attackers abused the GoodCloud client

GL.iNet said it identified and fixed a flaw in its GoodCloud remote management service and blocked the access the attacker used; the company cautioned, however, that the cloud-side fix does not remove malware already installed on devices and urged owners to check hardware and install the vendor's listed security firmware. RemoteToHome Consulting's technical investigation — cited by the vendor notice and independent reporting — traced a root-level reverse shell to the GoodCloud client on affected routers.

The consulting firm verified a shell on a GL-AXT1800 running firmware 4.8.3 with GoodCloud enabled; that shell started on Friday evening and connected to 170.39.226[.]219. On GL-MT6000 routers the same shell command was observed but the outward connection did not complete; on other routers RemoteToHome observed a one-off command that searched for files linked to a KVM implant and reported results to the same address. The reverse shell left no files and its traces vanished on restart, the firm reported.

Technical mechanism reported by researchers

RemoteToHome's analysis found a handler inside the GoodCloud client that takes two values from a cloud message and runs them as root through a shell without validating them; the vendor has not confirmed that specific finding. The unchecked code was present in firmware at least as early as the GL-MT3000 release of December 5, 2024, and it runs regardless of whether the AstroWarp SD-WAN feature is in use. The researchers also reported a second, separate weakness in the cloud client and are withholding details until it is fixed.

After the researchers filed an abuse report, the hosting provider suspended the server at 170.39.226[.]219 and preserved its data, RemoteToHome said.

KVM infections and potential risk to attached computers

A KVM owner reported an infected GL-RM1 that, beginning Thursday, downloaded a script and two programs from 66.245.219[.]252, performed a DNS lookup of the copycat domain gl-inet[.]top, and scanned the local network. That device also repeatedly connected to 65.20.71[.]131, which the owner suspects was a command channel. The owner did not retain the downloaded files and the infection vector for that KVM has not been confirmed.

GL.iNet's notice advises owners of infected KVMs to check any computer attached to the KVM for unfamiliar programs, accounts, startup items and unusual network activity; the vendor said it is still investigating whether attached computers were affected.

What GL.iNet's update does — and what it may not remove

GL.iNet published stable security firmware for affected router and KVM lines and updated its notice to say the new firmware “removes the malware identified in this incident without requiring a factory reset,” preserving device settings. Earlier guidance had recommended a factory reset ahead of the firmware release. The Hacker News found GL-MT3000 and GL-RM1 builds on the vendor's downloads pages in spot checks.

But the update is not demonstrably comprehensive: RemoteToHome's KVM firmware analysis found that upgrading an RM1 to the earlier 1.10.2 security build while keeping settings preserved the device's password file, SSH keys and user directory — and that user directory can contain scripts that run at every boot. Whether a planted script survives the upgrade has not been tested. For devices showing signs of compromise, the researchers advise a firmware reinstall without keeping settings and treating every stored secret (VPN keys, Wi‑Fi and admin passwords, cloud credentials and SSH keys) as exposed; that recommendation differs from the vendor’s current guidance.

The investigation additionally discovered an unrelated, older backdoor on 49 routers RemoteToHome manages, installed in batches between September 2025 and May 2026 by an unknown route; nothing so far links that finding to last week’s attacks.

How to check a device right now

  • Look for the exact running process text: crond -i /tmp/.log. Note: a line that only shows the grep command itself is not a match.
  • Router, web panel: sign in to LuCI → System → Advanced Settings → Status → Processes and search for tmp/.log.
  • Router, SSH: run ps | grep tmp.
  • KVM: on the device terminal (Toolbox → Terminal → Access) run ps -a | grep tmp on the RMQ1 or ps -aux | grep tmp on other models. Run this on the KVM, not on the attached computer.
  • Check before rebooting or upgrading where compromise is suspected; the shell's traces disappear at restart and the marker can miss infected devices (it was absent on a router with a verified shell).
  • Before running netstat on a suspect device, verify /bin/netstat is still a link to busybox; the command itself may have been swapped and running a compromised copy can trigger the malware.

The vendor points to an unofficial community check script but warns it has not reviewed the script and that it can run with administrative privileges. The researchers' detailed indicators are available for fuller inspection.

What this means for technologists, KVM owners, and end users

  • Technologists and security teams: apply the vendor's listed firmware, verify device state after update, and consider reinstalling firmware without keeping settings if compromise is suspected; review logs for connections to the IPs reported by researchers and treat stored secrets as potentially exposed.
  • KVM owners and administrators: examine attached hosts for unfamiliar processes, accounts or startup items and follow the vendor checklist; recognize that switching GoodCloud off stops the cloud client but does not remove malware already present.
  • End users and device owners: do not wait for an email; GL.iNet is emailing identified customers but owners should proactively check devices, avoid installing firmware for the wrong model, and change exposed credentials if compromise is suspected.

The incident leaves central questions unresolved in public reporting: the attacker's identity, the total number of infected devices, and how GoodCloud was breached. The Hacker News found no CVE identifier for the flaw as of publication, and researchers have reported an additional cloud-client weakness they are withholding until it's fixed. For now, GL.iNet's firmware updates and the researchers' more conservative cleanup steps offer competing paths to restoring trust in affected routers and KVMs.

Original Hacker News report