Incident sheet · /security

Filed
Read
4 min · 745 words
Severity
Routine

Hackers breached GL.iNet's cloud to plant router and KVM malware

GL.iNet confirmed attackers exploited a GoodCloud flaw to plant persistent, root-level malware on routers and KVM devices; 152 of 183 analyzed routers showed suspicious activity.

Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices
FeedHackers exploit GL.iNet cloud flaw to infect routers, KVM devices — Magnascan / pixabay

Event log

  1. GL.iNet confirmed on November 20, 2026 that hackers exploited a GoodCloud vulnerability to install malware on routers and KVM devices.
  2. RemoteToHome found suspicious activity on 152 of 183 GL.iNet routers analyzed, including 24 with root-level reverse shells.
  3. Some malicious files carry timestamps from December 2025, suggesting months-long compromise.
  4. Stable security firmware for routers and KVMs is scheduled for release on November 22, 2026.
  5. The malware replaces netstat, installs SSH keys, and persists through startup scripts and scheduled tasks.

By Amara Osei

GL.iNet confirmed on November 20 that an unauthorized party exploited a vulnerability in its GoodCloud remote management platform to install custom malware on customer routers and KVM devices, with some victims reporting backdoors and root-level reverse shells.

The vendor patched the cloud flaw and blocked the attack path, but that fix does nothing for hardware already compromised. "These measures do not remove malware from devices that were already infected," GL.iNet said in its advisory.

The stakes reach beyond the routers themselves. GL.iNet's KVM products let customers remotely access and control computers and servers, so any malware on the KVM may have exposed the machines behind it. GL.iNet says it is still investigating whether those connected systems were compromised.

What do attackers actually get?

Security researchers and customers shared concrete evidence after the disclosure. Reverse shells built on the Linux nc utility connected infected routers to the IP address 170.39.226[.]219, giving attackers root-level command execution.

Researchers at RemoteToHome Consulting also found a likely command injection flaw in the GoodCloud client tied to an AstroWarp/SD-WAN handler. The handler passes cloud-supplied values into shell commands running with root privileges without proper validation. GL.iNet has not confirmed this bug was the one used in the attacks.

The scale in one sample: RemoteToHome analyzed 183 routers it owns or manages and found suspicious activity on 152 — 24 with root-level reverse shells, 47 with an older persistent backdoor, and 81 showing executed attacker commands. The researchers caution that other customers' results may differ, and the older backdoor infections may predate the November attacks.

The takeaway: root-level compromise of a fleet device means attackers owned everything the device could touch.

How does the malware work?

BleepingComputer examined the malicious ni.sh installer and found code written specifically for GL.iNet hardware. The script:

  • recognizes numerous GL.iNet device models and downloads executables named gl-helper and gb from hardcoded servers;
  • establishes persistence through startup scripts and scheduled tasks, surviving reboots and process termination;
  • replaces the legitimate netstat utility with a modified script that hides connections to 66.245.219[.]252 from administrators;
  • installs SSH public keys, modifies file timestamps, and periodically fetches and executes remote commands;
  • disguises its process as crond -i /tmp/.log — matching the indicator of compromise GL.iNet published.

The script carries Chinese-language developer comments describing persistence, reporting and interactions with GL.iNet's cloud software. A separate malicious Lua payload recovered from a GL-MT2500 router collects device information and downloads further programs. Some malicious files carry timestamps from December 2025, meaning some devices may have been infected for close to a year.

One compromised GL-RM1 KVM owner posted logs showing the device downloaded the ni.sh script from 66.245.219[.]252 on November 19, then began contacting roughly 1,800 residential IP addresses daily and repeatedly querying the TRON blockchain API — behavior consistent with a peer-to-peer network. There is no confirmation the devices served as residential proxies or joined a botnet.

The takeaway: this is tailored, persistent, detection-aware malware, not a generic script kit.

What should affected operators do now?

Stable firmware with additional security fixes is scheduled for November 22, 2026. Until then, GL.iNet advises:

  • check devices for infection indicators and install the latest security firmware even if nothing is found;
  • for KVMs, upgrade to version 1.10.3 or later (RM10, RM1, RM1V2, RM1PE, RM4PE), 1.10.3 beta or later (RM10RC), or 1.8.7 or later (RMQ1);
  • run the community-developed detection and cleanup tool GL.iNet now links in its official instructions — it checks for known malware files, suspicious processes, modified system utilities and persistence configurations, and can collect forensic evidence;
  • preserve evidence before resetting, avoid restoring possibly infected configurations, and rotate exposed credentials and access keys;
  • upload the scanner's anonymous report when prompted, so developers can count affected devices.

Forum members warn GL.iNet's own detection instructions may miss devices carrying other backdoors. The scanner's developers agree it cannot catch every infection; a full firmware reinstall without keeping settings may be required, because malicious files stored in configuration directories survive ordinary upgrades.

GL.iNet has not disclosed how many customers were affected or whether data was stolen, and plans to notify identified victims via their cloud account email addresses.

Plainly: patch, scan, assume the config is dirty, and rebuild rather than restore.

via bleepingcomputer.com (Source)

Filed under

  • gl-inet
  • goodcloud
  • iot-malware
  • router-security
  • kvm-security
Share this article:

More from Amara Osei

Amara Osei

Show full bio

Correspondent covering regulation, policy and their impact on enterprise information technology and the leaders who run at CIO Monitor.

226 articles

The newsroom digest

One email a day with the stories that matter. No noise.

By subscribing you agree to the privacy policy.

Cross-references

‹ Previous articleNext article ›