Home / News / Article
Dark Reading · 5 min read

Industrial Serial Gateways Broadcast That They’re Insecure

Critical OT access devices will often tell you, and anyone else, whether they’re protected by authentication — and many aren’t.

Internet scans indicate that some substantial fraction of serial device servers deployed at operational technology (OT) sites worldwide not only lack authentication but broadcast the fact publicly.

We all have a friend or a family member who’s deeply insecure, and it’s obvious as soon as they start talking. The same can be said of serial-to-IP gateways. Recently Adrian Cheek, senior cybercrime researcher for Flare, probed the wider Internet for these sorts of devices, finding that a substantial chunk of them are discoverable. Worse, they often responded to straightforward requests by saying whether they were or were not protected by authentication — and many were not.

An insecure serial-to-IP gateway is a serious risk to anyone downstream of it. These devices are responsible for translating information between the Internet and industrial machinery. So in a cyberattack, a reachable and unauthenticated one can inadvertently translate an Internet-based threat into one that affects major, safety-critical machines.

Crucial OT Devices Spill the Beans

Using a specific vendor’s UDP discovery service, rather than probing all vendors’ devices, Cheek found 2,474 serial-to-IP gateways exposed on the Web. They seemed to map to real devices rather than honeypots, with half of them located in Russia.

For some reason, in response to the researcher’s unsolicited probes, around half of the devices — 1,265 — proffered their authentication status. Of those that did, 973 reported that authentication was disabled. In other words, 39.3% of all Internet-exposed gateways visibly lacked authentication, and among those whose status could be gleaned, that figure was 77%.

“These devices ship with authentication off. An integrator sets one up on a bench, gets the meter or the drive or the Remote Terminal Unit (RTU) talking to the SCADA host, and moves on to the next site,” Cheek laments. “The device then does one job for 10 or 15 years, and nobody logs into it again. In many cases, the operator doesn’t even know it exists because it went in as part of someone else’s equipment.”

There are also understandable, if not entirely justifiable reasons why operators fail to conceal and lock down their serial device servers. Cheek cites a multitude of reasons, including that enabling such scurity features can break software on the host side.

“Older SCADA packages and virtual serial port drivers may not support the secured modes, so an operator who switches them on can lose the link to the field,” he says. “Then someone has to drive to an unstaffed site to fix it. Firmware updates carry the same risk at a remote site with no spare on hand. People who have been burned by that once are slow to touch a working device again.”

Still, an exposed, unauthenticated serial gateway is a welcome mat for bad actors. Not only does it give arbitrary actors entry into sensitive OT systems and eliminates the need to exploit any kind of vulnerabilities, it also allows attackers to use the vendor’s own supplied tools, which could blend malicious activity in with normal IT-OT traffic.

Cheek made special mention of the risk to mobile network operators and, even more specifically, private access point name (APN) service providers. Last year’s Polish power grid attack used a private APN to pivot from a wind farm’s network to the power plant where the attackers ultimately shut down a steam turbine, water treatment system, and seven serial-to-IP devices. According to Flare, 322 of the 2,474 discovered devices in the study lived in address space associated with known mobile network operators in Europe and the Middle East.

How to Protect Serial Gateways

OT operators can begin to secure their OT access layer by first doing an inventory of the devices they’re running. “For every cellular unit, find out what plan the SIM is on and whether it gets a public address. Then ask your carrier in writing whether devices on your private network can reach each other or devices belonging to other customers,” Cheek notes. “Don’t assume the managed product isolates them. In the Polish incident, that missing isolation is what let the attacker move between two unrelated organizations.”

Next, he advises, “Lock down the data ports as well as the login. Most of these devices let you restrict which IP addresses can open a connection. Configure them so only the SCADA host can reach the serial ports and only an engineering workstation can reach the management interface. Switch off the services you don’t use, which on most units means the discovery service, Telnet, older SNMP, and often the Web interface. Remove SSH and Telnet entirely from anything that faces the carrier network,” and plop a strict firewall between the gateway and control network.

There are also general practices organizations can put in place, like ensuring that the next time they purchase serial device servers, a person or team is assigned to be responsible for the devices, and that they have necessary credentials, configuration, and network details from system integrators.

At the end of the day, though, nothing compares to preventing an attacker’s ability to find and speak to a device in the first place.

“Even a fully patched gateway with authentication on is usually connected to equipment on the serial side that has no security of its own,” Cheek points out. “A meter, a drive, or an RTU will accept any correctly formed command that reaches it. So the useful question is who can reach the gateway at all, because whoever can reach it gets whatever is behind it. Authentication and patching both matter, but restricting what can reach the gateway does more good than either.”

Originally published on Dark Reading