Attackers used a flaw in GL.iNet’s cloud remote management services to install custom malware on customers’ routers and KVM devices. GL.iNet confirmed the breach but has not disclosed the number of affected customers.
Some users reported backdoors and reverse shells, which let attackers run commands remotely. Computers controlled through infected KVM devices may also have been exposed.
GL.iNet says it has closed the cloud access route used by the attackers. That fix does not clean devices already infected.
The company’s GoodCloud platform lets customers manage supported equipment remotely. Its KVM products provide remote access to connected computers and servers, making those systems another concern in the investigation.
Malware findings show several forms of remote access
Customers and researchers reported evidence of malware built specifically for GL.iNet equipment after the disclosure. They also found reverse shells running with root privileges, the highest level of system access.
RemoteToHome Consulting examined 183 routers it owns or manages and reported suspicious activity on 152. Its findings included:
- 24 routers with root-level reverse shells.
- 47 with an older backdoor that maintained access.
- 81 with evidence that attacker-supplied commands had run.
The reverse shells used the Linux nc utility to connect outward to 170.39.226[.]219. Those connections allowed attackers to execute commands on infected routers.
RemoteToHome cautioned that its findings might differ from other customers’ experiences. The older backdoor infections may not be connected to the November attacks.
The researchers also identified a possible command injection flaw in the GoodCloud client’s AstroWarp/SD-WAN handler. They said it passes cloud-supplied values into root-level shell commands without proper validation.
GL.iNet has not confirmed that attackers used this particular flaw.
A separate report from a GL-RM1 KVM owner included network logs from November 19. They showed downloads of a malicious ni.sh script and other executable files from 66.245.219[.]252.
The owner said the device contacted approximately 1,800 residential IP addresses each day. It also repeatedly accessed the TRON blockchain API, suggesting possible peer-to-peer activity.
The purpose of those connections remains unclear. There is no confirmation that the devices served as residential proxies or belonged to a larger botnet.
Installer hides connections and restores malware
BleepingComputer examined a copy of ni.sh and found code tailored to GL.iNet routers and KVM products. The script identifies numerous models and retrieves malicious programs named gl-helper and gb from hardcoded servers.
Startup scripts and scheduled tasks let the malware return after a reboot or after its processes are stopped. The installer can disguise a malicious process as crond -i /tmp/.log, matching GL.iNet’s published indicator of compromise.
It can also replace the legitimate netstat utility with a shell script that omits connections to 66.245.219[.]252. That could conceal communications from administrators checking network activity.
Other functions install SSH public keys for remote access, change file timestamps, and periodically fetch and execute commands.
The script’s infrastructure includes 66.245.219[.]252 and 65.20.71[.]131. Both addresses appeared in the compromised KVM owner’s logs.
Chinese-language comments describe persistence, reporting features, and interactions with GL.iNet’s cloud software. They suggest that a Chinese-speaking person may have written the script.
BleepingComputer separately examined a malicious Lua payload recovered from a GL-MT2500 router. A modified urandom_seed startup script launched it.
That payload could gather device information, communicate with remote servers, and download and run additional programs.
Some recovered malicious files carried timestamps dating to December 2025, suggesting possible compromises lasting months. It remains unclear whether those infections involved the same attackers or were connected to the November 20 attacks.
Firmware updates and cleanup guidance
GL.iNet disclosed the incident in a November 20 security notice.
“Devices can no longer be newly infected through this attack path,” the company said. “These measures do not remove malware from devices that were already infected.”
GL.iNet recommends checking devices for infection and installing the latest security firmware even when checks find nothing. It scheduled stable router and KVM firmware releases with additional security fixes for November 22, 2026.
Its KVM upgrade guidance recommends:
- RM10, RM1, RM1V2, RM1PE and RM4PE: version 1.10.3 or later.
- RM10RC: version 1.10.3 beta or later.
- RMQ1: version 1.8.7 or later.
Router owners should install the latest security firmware for their model when it becomes available.
The company initially advised customers to check for crond -i /tmp/.log. Forum members warned that this check could miss other backdoors and reverse shells.
GL.iNet’s official support instructions now link to a community-developed detection and cleanup tool. It checks for known malicious files, suspicious processes, altered system utilities, and configuration changes that maintain access.
The tool can collect forensic evidence and optionally remove known malware components. Its developers warn that it cannot detect every infection.
They say some devices may need firmware reinstalled without keeping existing settings. Malicious files in configuration directories could survive a normal firmware upgrade.
Customers who suspect compromise should preserve evidence before resetting devices and avoid restoring potentially infected configurations. They should also rotate credentials and access keys that may have been exposed.
GL.iNet asks scanner users to submit the anonymous report when prompted. Those reports will help developers assess the number and types of affected devices.
Computers controlled through infected KVM equipment should also be examined for possible compromise.
GL.iNet continues to investigate whether attackers reached those computers and whether information was stolen from compromised devices. It plans to contact identified affected customers through the email addresses registered to their cloud accounts.
Source: bleepingcomputer.com

