Attackers Compromise GL.iNet Devices via GoodCloud Platform
Network equipment manufacturer GL.iNet has confirmed that threat actors exploited a vulnerability in its GoodCloud remote management platform to install malicious software on customer routers and KVM (keyboard, video, mouse) devices. The company disclosed the incident in a security advisory published on November 20, 2026, stating that an unauthorized party accessed devices through the cloud service and deployed custom malware designed specifically for GL.iNet hardware.
GL.iNet produces travel and home routers alongside KVM appliances that enable remote access to connected computers and servers. The GoodCloud platform allows customers to manage these devices over the internet, including controlling systems attached to KVM products. According to the advisory, the attack path has been blocked and the cloud vulnerability fixed, preventing new infections. However, the company emphasized that these measures do not remove malware from already-compromised devices.
Scope and Impact Remain Under Investigation
GL.iNet has not disclosed the technical details of the exploited vulnerability, the number of affected customers, or whether data was exfiltrated from compromised devices. The company is also investigating whether computers connected to infected KVM devices were accessed by attackers. In its initial guidance, GL.iNet instructed customers to check for a suspicious process running as crond -i /tmp/.log, which the company identified as an indicator of compromise.
Stable firmware updates containing additional security fixes for both routers and KVM devices were scheduled for release on November 22, 2026. For KVM devices, GL.iNet recommends version 1.10.3 or later for the RM10, RM1, RM1V2, RM1PE, and RM4PE models; version 1.10.3 beta or later for the RM10RC; and version 1.8.7 or later for the RMQ1. Router owners should install the latest security firmware for their specific models as soon as it becomes available.
Community Warns Detection Methods May Be Incomplete
Members of the GL.iNet community forum have cautioned that the company's official detection instructions may not identify all compromised devices. Some infections involve alternative backdoors or reverse shells that would not be caught by checking for the single published indicator. In response, GL.iNet has linked to a community-developed detection and cleanup scanner as part of its official support guidance.
The scanner performs additional checks for known malware files, suspicious processes, modified system utilities, and configuration files altered for persistence. It can also collect forensic evidence and optionally remove known malicious components. However, the tool's developers warn that it cannot detect every infection variant. Compromised devices may require a complete firmware reinstallation without retaining existing settings, as malicious files stored in configuration directories could survive a standard firmware upgrade.
GL.iNet advises customers who suspect compromise to preserve forensic evidence before resetting devices, avoid restoring potentially infected configurations, and rotate all credentials and access keys that may have been exposed. The company also requests that users who run the scanner upload the anonymous report when prompted to help determine the scale and variety of impacted devices. For KVM users, the malware may have provided access to the computers controlled by the KVM, so those systems should also be analyzed for potential compromise.
Custom Malware and Reverse Shells Discovered
Following the disclosure, GL.iNet customers and security researchers shared evidence of tailored malware infections and root-level reverse shells connecting compromised routers to the IP address 170.39.226[.]219. The reverse shells leveraged the Linux nc utility to establish outbound connections, granting attackers remote command execution capabilities on infected devices.
Researchers at RemoteToHome Consulting identified a potential command injection vulnerability in GL.iNet's GoodCloud client involving a handler for AstroWarp/SD-WAN functionality. The handler reportedly passes cloud-supplied values into shell commands executed with root privileges without adequate validation. However, GL.iNet has not confirmed whether this specific vulnerability was exploited in the November attacks.
RemoteToHome analyzed 183 routers it owns or manages and found suspicious activity on 152 devices. The findings included 24 routers with root-level reverse shells, 47 with an older persistent backdoor, and 81 showing evidence that attacker-supplied commands had executed. The researchers noted their results may not represent the broader GL.iNet customer base and that the older backdoor infections might be unrelated to the November 2026 campaign.
Malicious Script Analysis Reveals Sophisticated Persistence
In a separate forum report, the owner of a compromised GL-RM1 KVM shared network logs showing the device downloading a malicious ni.sh script and additional executable payloads from 66.245.219[.]252 on November 19, 2026. The device subsequently communicated with approximately 1,800 residential IP addresses daily and repeatedly contacted the TRON blockchain API, behavior suggestive of peer-to-peer network activity. The purpose of these connections remains unclear, and there is no confirmation that compromised devices were being used as residential proxies or incorporated into a larger botnet.
BleepingComputer examined a copy of the ni.sh script via VirusTotal and found it contains code specifically tailored to numerous GL.iNet device models. The script downloads malicious executables named gl-helper and gb from hardcoded servers and establishes persistence through startup scripts and scheduled tasks, ensuring the malware restarts after reboots or process termination. The installer disguises the malicious process as crond -i /tmp/.log, matching the indicator published by GL.iNet.
Notably, the script replaces the legitimate netstat utility with a modified shell script that filters out connections to 66.245.219[.]252, potentially hiding the malware's communications from administrators inspecting network connections. Additional functionality includes installing SSH public keys for remote access, modifying file timestamps, and periodically contacting a remote server to retrieve and execute commands.
The attacker infrastructure includes two IP addresses: 66.245.219[.]252 and 65.20.71[.]131, both matching addresses observed in the compromised KVM owner's logs. The script also contains Chinese-language developer comments describing its persistence mechanisms, reporting functionality, and interactions with GL.iNet's cloud management software, suggesting a Chinese-speaking author.
Additional Payloads and Historical Compromise Indicators
BleepingComputer also analyzed a separate malicious Lua payload recovered from a GL-MT2500 router. This payload launched through a modified urandom_seed startup script and included capabilities to collect device information, contact remote servers, and download and execute additional programs.
Some malicious files recovered from GL.iNet devices carried timestamps dating to December 2025, indicating that certain devices may have been compromised for months before the November 2026 disclosure. It remains unclear whether these earlier infections involved the same threat actors or were related to the attacks addressed in GL.iNet's advisory.
GL.iNet states it continues to investigate the incident and plans to notify identified affected customers using email addresses associated with their cloud accounts.
Source: BleepingComputer