Cybersecurity

GL.iNet used reverse shells to repair routers after security breach

GL.iNet confirmed using reverse-shell connections via IP 170.39.226.219 to remediate routers following a GoodCloud vulnerability breach. Security researchers found 152 of 183 examined routers showed suspicious activity, including 24 devices with root-level reverse shells.

Published
Section
Cybersecurity
Reading time
3 minutes
GL.iNet used reverse shells to repair routers after security breach

GL.iNet used reverse shells to fix routers

GL.iNet confirmed it used reverse-shell connections on customer routers during its response to a November security breach. These connections used the IP address 170.39.226.219, which security researchers previously flagged as suspicious. Between November 20 at 19:13 UTC and November 21 at 12:57 UTC, the company performed activity using these shells. Port 5088 facilitated device repair during this period. GL.iNet apologized for the confusion because remediation efforts might trigger security alerts. The company previously reported that hackers exploited a vulnerability in its GoodCloud remote management platform to infect routers and KVM devices with custom malware. This platform allows customers to manage supported computers and servers connected to GL.iNet KVM products.

Router Inspection Findings Count
Total routers examined 183
Devices with suspicious activity 152
Devices with root-level reverse shells 24
Devices with older persistent backdoors 47
Devices with remote command execution evidence 81

Researcher findings and security risks

The original breach happened when attackers used a permission configuration error in the GoodCloud messaging service to send unauthorized commands to devices. GL.iNet fixed the cloud-side vulnerability on November 20 at 05:44 UTC and began remediation on affected routers later that day. RemoteToHome Consulting claims GL.iNet exploited the same AstroWarp/SD-WAN command injection vulnerability that the threat actors used to establish root-level reverse shells on customers’ routers. This remediation process used the same vulnerability as the attackers. An attacker could monitor commands or gain control over affected devices if they intercepted the unencrypted traffic. RemoteToHome Consulting demonstrated in laboratory testing that an attacker could obtain root-level access to a router by redirecting these connections.

RemoteToHome Consulting reported that 152 of 183 examined routers showed suspicious activity, including 24 with root-level reverse shells, 47 with an older persistent backdoor, and 81 showing evidence of remote command execution. The company has not explained how it initiated the connections, what commands it executed, how many customer devices it accessed, or if device owners authorized the activity. RemoteToHome Consulting also reported that some routers continued attempting to establish these connections for days after the stated remediation period ended. The company found no evidence that third parties actually intercepted or hijacked the connections. Some KVM devices had GoodCloud services enabled by default before users linked them to a cloud account. This fact raises questions about which devices were exposed. GL.iNet has engaged an independent security firm to review its firmware, cloud services, and source code, and is arranging a separate forensic investigation through legal counsel.

GL.iNet released security firmware updates for affected routers and KVM devices. The company recommends that customers update their firmware and change potentially exposed credentials. If customers suspect their devices were compromised, they should reinstall the firmware without retaining existing settings.