Refreshing now

GL.iNet admits it ran reverse shells on routers during cleanup

The maker says connections researchers flagged as malicious came from its own repair work. If you own a GL.iNet router or KVM, update it now.

GL.iNet Flint 2 (GL-MT6000) router, one of the models on the company's security firmware list
Photo: GL.iNet

GL.iNet, the maker of popular travel routers and KVM remote control boxes, says some of the suspicious connections that researchers found on customer devices were its own. In an incident update dated December 4, reported by BleepingComputer on Saturday, the company says that reverse shells to one server address were part of its investigation and repair work after the GoodCloud attack, not a second intruder. The original attack is real and the fixes are out, so the practical advice has not changed: update, and check devices you cannot vouch for.

What happened, in order

  • November 20: GL.iNet says it found unauthorized access to some routers and KVMs. Attackers used a flaw in GoodCloud, its remote management service, to install malware on some devices. The company says a permission mistake in the cloud messaging service let unauthorized commands reach connected devices, and that it fixed the cloud side the same day.
  • November 27: co-founder and COO Alfie Zhao wrote on the forum that the incident "was not handled as well as it should have been" and promised an outside forensic and legal review.
  • December 4: the new update. According to BleepingComputer, GL.iNet confirmed that connections to the address 170.39.226.219, from the evening of November 20 to midday on November 21 (UTC), including reverse shells, belonged to its own response. It said the activity "may have triggered security alerts" and apologized for not saying so earlier.

What is confirmed and what is claimed

GL.iNet confirms the cloud flaw, the date it fixed it and the fact that it made those connections itself. Researchers at RemoteToHome Consulting, quoted by BleepingComputer, go further. They say they examined 183 routers and saw suspicious activity on 152, and that the repair connections reused the same kind of command injection the attackers used and were unencrypted. GL.iNet has not confirmed either point. Those researchers also say they found no sign that a third party intercepted the connections.

Still unanswered: how many devices were infected, what commands GL.iNet ran, whether owners agreed, and whether computers plugged into infected KVMs were touched. The company says it has hired an independent firm to audit its firmware, cloud services and source code, and is arranging a separate forensic investigation.

What to do

  1. Update first. The firmware table on GL.iNet's notice lists minimum safe versions per model. A few examples: Flint 2 (GL-MT6000) 4.11.2, Beryl 7 (GL-MT3600BE) 4.9.2, Flint 4 (GL-BE14000) 4.9.4, Slate 7 (GL-BE3600) 4.10.3, Slate 7 Pro (GL-BE10000) 4.8.8, KVMs RM1, RM10 and similar 1.10.3, and the Comet Q (RMQ1) 1.8.7. Older models are on the list too, at 4.3.31 or 4.5.24. Install only the firmware for your exact model.
  2. If you suspect infection, disconnect the device when it is safe to do so and contact GL.iNet support. Then reinstall the firmware without keeping settings, set it up by hand with new passwords and keys, and do not restore an old backup. Look before you reboot if you can: The Hacker News says traces of a live reverse shell vanish on restart.
  3. If the device was linked to GoodCloud, change the passwords and keys stored on it or reachable from it, even if a check finds nothing. VPN keys and Wi-Fi passwords count.
  4. With a KVM, scan the computer behind it and look for unfamiliar accounts, startup items and browser extensions. BleepingComputer adds that some KVMs shipped with GoodCloud on by default, even before being linked to an account.
  5. Do not wait for an email. GL.iNet says it is writing to customers it identifies as affected, and that not receiving one proves nothing.

Why it matters

These boxes sit between your laptop and a hotel, home or office network, and a router that takes commands from a cloud service is only as safe as that service. The same fixes apply in Mexico and the United States. If a compromise cost you money or accounts, tell your bank and, in Mexico, the Policía Cibernética of your state.

Sources: BleepingComputer: GL.iNet admits using reverse shells on routers during breach response, GL.iNet Official Forum: Security Notice, GoodCloud Remote Management Incident, GL.iNet Official Forum: A message from the GL.iNet COO about the security incident, The Hacker News: Hackers exploited GL.iNet cloud flaw

More from Cybersecurity