← All articles

GL.iNet malware attack reaches routers and KVM devices

GL.iNet malware attack reaches routers and KVM devices

GL.iNet malware was installed on some routers and KVM devices through a flaw in the company’s GoodCloud remote management service, GL.iNet said in a security notice updated today. A KVM is a small device that lets someone control a computer remotely as though they were sitting in front of it.

GL.iNet identified and fixed the flaw on Friday and blocked the attacker’s access route, so devices can no longer be infected through that path. The cloud-side fix does not remove malware already installed on a device. Owners should therefore check their hardware and install the security firmware listed in the notice. GL.iNet has not said how many devices were affected, when the attacks began, or how the cloud service itself was breached. It is contacting customers it identifies as affected, but owners do not need to wait for an email.

A model missing from the firmware table is not necessarily safe, GL.iNet warned. Owners must also avoid installing firmware intended for a different model. The company is still investigating whether computers connected to infected KVM devices were affected. It advises checking those computers for unfamiliar programs, accounts, startup items and unusual network activity.

RemoteToHome Consulting, which examined the incident on routers it manages, verified a root-level reverse shell on a GL-AXT1800. A reverse shell is a connection that lets an outside party issue commands on a device. The shell began on Friday evening and connected to 170.39.226[.]219. Two other owners reported the same shell on the same model and firmware version, 4.8.3, with GoodCloud enabled.

On GL-MT6000 routers, the same shell command ran, but its connection did not complete. On other routers managed by RemoteToHome, a one-time command searched for files associated with a KVM implant, meaning malware placed on the device, and sent the result to the same address. The shell left no files behind, and its traces disappeared when the device restarted. The process marker GL.iNet published was not present on the router where the shell was verified.

After the researchers filed an abuse report late last week, the hosting provider said it had suspended the server behind the address and preserved its data. RemoteToHome’s technical analysis indicates that the shell arrived through the GoodCloud client software running on the router. A handler in that client takes two values from a cloud message and runs them as root, the device’s highest level of authority, without checking them. GL.iNet has not confirmed this technical finding.

The unchecked code has existed in firmware, the device’s built-in software, since at least December 5, 2024, when it appeared in a GL-MT3000 release. It runs whether or not AstroWarp, the related SD-WAN feature for managing network connections, is being used. Its presence since 2024 does not show that attacks started then. RemoteToHome also reported a second, separate weakness in the cloud client to GL.iNet yesterday and is withholding details until that issue is fixed.

A separate owner reported an infected GL-RM1 KVM. Starting on Thursday, the device downloaded a script and two programs from 66.245.219[.]252, looked up the copycat domain gl-inet[.]top and scanned the local network. It also repeatedly contacted 65.20.71[.]131, which the owner suspects was a command channel. The downloaded files were not retained, and the way the device was infected has not been confirmed.

To check a suspected device, owners should look for a running process whose details contain the exact text “crond -i /tmp/.log”. A line showing only the grep search command is not a match. On a router’s LuCI web panel, sign in, go to System, then Advanced Settings, then Status, then Processes, and search for tmp/.log. Over SSH, a secure command-line connection, run ps | grep tmp.

On a KVM, open its own terminal through Toolbox, then Terminal, then Access. Run ps -a | grep tmp on the RMQ1, or ps -aux | grep tmp on other models. Run the check on the KVM itself, not on the attached computer. RemoteToHome advises checking before restarting or upgrading a device where compromise is suspected, because the shell’s traces disappear after a restart. The marker is not conclusive, however, because it was absent from the router with the verified shell.

Before using netstat, a command that displays network connections, on a suspected device, owners should confirm that /bin/netstat is still a link to busybox. A forum warning and the researchers’ indicator list say the command may have been replaced, and running a compromised copy can start the malware. GL.iNet also points to an unofficial community checking script, but warns that it has not reviewed the script and that it can run with administrative privileges. RemoteToHome’s detailed findings contain fuller indicators.

GL.iNet lists these minimum fixed firmware versions: GL-MG1300, GL-MT3000 and GL-MT6000, 4.11.1; GL-E5800, 4.10.3; GL-BE3600 and GL-BE9300, 4.10.2; GL-BE14000, 4.9.3; GL-BE6500, GL-MT3600BE and GL-MT5000, 4.9.1; GL-BE10000, 4.8.7; GL-AX1800, GL-AXT1800, GL-SFT1200, GL-X3000 and GL-XE3000, 4.8.4; GL-MT2500, GL-MT2500A and GL-X2000, 4.7.14; RM1, RM1V2, RM10, RM10RC, RM1PE and RM4PE KVMs, 1.10.3; and RMQ1 KVMs, 1.8.7. The Hacker News found GL-MT3000 and GL-RM1 builds available on GL.iNet’s router and KVM download pages.

The updated notice says the firmware removes the malware identified in this incident without requiring a factory reset and keeps settings. That replaces earlier guidance recommending a factory reset before the security firmware was released. RemoteToHome’s KVM analysis found that upgrading an RM1 to the earlier 1.10.2 security build while keeping settings carried over the password file, SSH keys and user directory. That directory contains scripts that run at every boot, and whether a planted script survives the upgrade has not been tested.

For devices showing signs of compromise, RemoteToHome recommends reinstalling firmware without keeping settings and treating every stored secret as exposed, including VPN keys, Wi-Fi and administrator passwords, cloud credentials and SSH keys. That advice differs from the vendor’s notice. Until a device is updated, researchers recommend turning GoodCloud off, after securing another way to access the device. Disabling it stops the cloud client from running, but does not clean an already infected device.

The attacker’s identity, the number of affected devices and the way GoodCloud was breached remain unknown. The Hacker News found no CVE identifier for the flaw at publication. Investigators also found an unrelated, older backdoor on 49 routers managed by RemoteToHome, installed in batches between September 2025 and May 2026 through an unknown route. Nothing currently links that backdoor to last week’s attacks. For organisations managing exposed network equipment, AEU-I provides security-first IT, infrastructure and consulting.

Also available in: DeutschItalianoShqip