SMSMC BlogPortal Login

GL.iNet's cloud was hacked and pushed malware to devices. Ask the same of every cloud-managed camera and door lock.

Attackers used GL.iNet's cloud management service to install malware on routers and KVM devices. What it means for cameras, recorders and door controllers that a vendor manages from its cloud, and a one-afternoon review.

By Jim Venuto

The remote door that opened both ways

On November 20, GL.iNet found that someone had used a flaw in its cloud management service, GoodCloud, to get into customer devices and install malware. The devices were routers and KVMs. A KVM is a small box that lets someone see and control a computer’s screen, keyboard and mouse over the network, as if standing in front of it. GL.iNet says it fixed the cloud flaw. It also says the fix does not remove malware from devices that were already infected (GL.iNet security notice).

Most small offices do not own a GL.iNet KVM. That is not the point. The point is the shape of the problem. A device sits in your building. The manufacturer’s cloud has a way to reach it, so staff can manage it from anywhere. If the cloud is broken into, the attacker gets the same reach.

Your cameras, recorders, door controllers, alarm panels and badge readers are probably built the same way. So the useful question this week is not “do we use GL.iNet?” It is “which devices in our building can a vendor’s cloud reach, and what happens if that cloud is the problem?”

What was reported

GL.iNet says an unauthorized party exploited the cloud vulnerability to install malicious software on some routers and KVM devices. It has not said how many customers are affected, and it said it is still working out whether computers plugged into infected KVMs were reached (BleepingComputer; Help Net Security).

A consulting firm that manages GL.iNet routers for customers checked the ones it could reach. Of 199 routers, 166 showed either the November 20 attack, an older backdoor, or both. On 24 of them the attacker had a root shell, which is full control. The firm could not say how the older backdoors got there. Their advice for a device that had been controlled that way: every key, password and profile stored on it could have been copied, so cleaning or reinstalling it does not take that back. You have to remove the access at the other end (Help Net Security, above).

GL.iNet’s own checks may miss some infections, and it says so. It points to a community-built scanner and states that neither approach can guarantee a device is clean (GL.iNet notice). That is an honest statement, and it is what an owner should expect from a vendor in the middle of an incident.

Why this is a physical security problem

A KVM or a camera is a way into whatever it is attached to. A camera recorder holds footage and often has a login that is reused elsewhere. A door controller decides who gets in. A cloud console for any of them usually holds the list of users, the schedules and the way to unlock a door remotely.

I worked with an office that had put in a cloud-managed camera and door system years earlier. The installer set up one shared administrator account on the vendor’s portal, with the installer’s own email address as the recovery contact. Nobody at the office knew. The system worked well, which is why nobody looked. When we listed what the cloud portal could do, it turned out to include unlocking the front door and downloading any camera’s footage. The office had never decided that a login at someone else’s company should have that power.

That is not a story about a bad vendor. It is the usual story: remote access gets set up for convenience and then nobody owns it.

One afternoon: a cloud-reach review

Do this for every device that sits on your network and talks to a manufacturer or installer service.

  1. List the devices. Cameras, recorders, door controllers, readers, alarm panels, intercoms, remote-access boxes such as KVMs, routers, and any “smart” device in a closet. Walk the building. Check the ceiling and the network closet, not only the equipment list from the installer.
  2. Note who manages each one. Is it a vendor cloud, your installer’s cloud account, a dealer portal, or only your own network? Write the name of the portal and the company behind it.
  3. Find the administrators. Log in to each portal and list users. Remove anyone who left, any shared login, and any installer account you did not agree to. Turn on multi-factor sign-in for every account that is left. Make sure the recovery email and phone belong to the business, not to an installer or a former employee.
  4. Check what remote access can do. Can the cloud unlock a door? Export video? Change user lists? If you do not need a function, switch it off. Remote viewing is a different risk from remote control.
  5. Check the firmware. Note the version on each device and the date of the vendor’s latest release. Turn on automatic updates where they are safe, and set a monthly reminder for the ones that cannot update themselves.
  6. Put them on their own network. Cameras, door controllers and remote-access devices belong on a separate network from the computers that hold your files and accounting. If one is taken over, it should not be able to see the rest of the office. A business router with a few settings can do this; a guest network is not enough.
  7. Ask the vendor three questions. How will you tell us if your cloud is breached? How do we shut off remote management without losing local use? What do you do to find and remove malware from devices already in the field?

Write the answers down in a single page. That page is what you will want when a vendor notice arrives on a Friday.

Do you have the affected devices?

If you or an IT contractor installed a GL.iNet router or KVM, check the vendor’s notice for your exact model and install the security firmware. The notice says the update removes the malware identified so far without a factory reset, but also that more indicators have turned up and the quick checks may not catch all of them. If a KVM is infected, the computer attached to it needs looking at too: unfamiliar programs or browser extensions, new user accounts, odd startup items. Change passwords and keys that the device could have seen, and do that from a clean computer.

How to tell it worked

  • Every device with cloud management is on your list, with a named owner.
  • No account on any vendor portal belongs to someone who has left or to a person you cannot name.
  • Multi-factor sign-in is on for each one.
  • You can say, for each device, what a stranger with the vendor’s cloud access could do to it.
  • Cameras and door controllers cannot reach the office file server from where they sit.

How SMC approaches it

SMC helps small businesses choose cameras, door access and alarm equipment by the problem to be solved, not by brand. That includes a look at whether each option needs a vendor’s cloud at all, or can run on the office’s own network with remote access only where it is needed. SMC reviews portal accounts and recovery contacts, separates the network, and writes the one-page owner list so the next vendor notice is a ten-minute job.

Want to talk it through? Book a free 30-minute call with Security Medic Consulting.

Sources