Lazy IoT, router makers reuse skeleton keys over and over in thousands of devices – new study

SSH logins, server-side HTTPS certs baked in firmware

It's what we all assumed, but quietly hoped wasn't quite this bad.

Lazy makers of home routers and the Internet of Things are reusing the same small set of hardcoded security keys, leaving them open to hijacking en masse, researchers have warned.

In other words, if you can log into one gizmo remotely, you can probably log into thousands upon thousands of others – even devices from a different manufacturer.

Infosec biz Sec Consult says it studied 4,000 embedded devices from 70 hardware makers, and found that many products are sharing the same hardwired SSH login keys and server-side SSL certificates.

As a result, potentially millions of gadgets can be logged into by miscreants, or their builtin HTTPS web server connections silently decrypted by man-in-the-middle attackers, using these keys and certificates once they are extracted from their firmware.

The problem, says Sec Consult, lies in the way many IoT and networking gear vendors develop and deploy their products. Chipmakers will often provide a software development kit with their silicon for product manufacturers to adapt for their particular applications.

Unfortunately, hardly anyone changes this source code, not even the security keys or certificates included as examples. What we all end up with is gadgets with logins stashed in flash ROMs, and the keys known to anyone with the ability to extract the data.

"The source of the keys is an interesting aspect. Some keys are only found in one product or several products in the same product line. In other cases we found the same keys in products from various different vendors," Sec Consult noted.

The keys, certs and source code can come from "white-label devices produced by different vendors; hardware, chipset or SoC vendors' software development kits; or board support packages."

The infosec biz gave these examples of shared secrets in multiple devices:

  • A certificate issued to a Broadcom email address is used in firmware from Actiontec, Aztech, Comtrend, Innatech, Linksys, Smart RG, Zhone and ZyXEL. This certificate is found in a Broadcom SDK. The affected vendors used it as a basis to develop their own firmware. More than 480,000 devices on the web are using this single certificate.
  • A certificate issued to Multitech in Bangalore, India is used in firmware from Aztech, Bewan, Observa Telecom, NetComm Wireless, Zhone, ZTE and ZyXEL. This certificate can be attributed to a Texas Instruments SDK for ADSL2+ routers. Over 300,000 devices on the web are using this certificate. A SSH host key can be attributed to this SDK as well.
  • A certificate issued to "MatrixSSL Sample Server Cert" is used in WiMAX gateways from Green Packet, Huawei, Seowon Intech, ZTE and ZyXEL. All affected devices use the same code base, which is likely developed by ZyXEL. At least 80,000 devices on the web are using this certificate.

None of this will be a shock to many of you – anyone who's come close to a system-on-chip knows a lot of consumer-grade firmware is rushed, insecure, and rarely patched after release.

For now, it's fun marveling Sec Consult's statistics: roughly 580 private keys were found distributed over all the analyzed devices, and at least 230 are in use in the wild on the internet, we're told. The study was carried out by Stefan Viehböck, a senior security consultant at Vienna-headquartered Sec Consult.

The HTTPS certificates are used to secure the builtin web-based configuration interface provided by some devices. The SSH keys are typically used to log into gadgets remotely, and control them completely via a command line.

Sec Consult said the millions of vulnerable devices include wireless broadband gateways, network routers, and IP-enabled appliances. The biz reckons they have the server-side certificates for nine per cent of all HTTPS-serving hosts on the 'net, and the keys to six per cent of SSH hosts.

The research outfit has urged device vendors to give each individual device they sell securely random cryptographic keys, generated in the factory or on first boot up.

As for the insecure equipment and gadgets in the wild right now, what's being done about them?

"We have worked together with CERT/CC to address this issue since early August 2015," Sec Consult said.

"CERT/CC made great efforts to inform affected device vendors, chipset manufacturers and affected ISPs. Some vendors have responded and have started to implement fixes. CERT/CC informed major browser vendors as well. This vulnerability is tracked as VU#566724. Several CVE-IDs have been assigned as well."

Keep a look out for those firmware updates; if your vendor is any good, working patches might well arrive before the heat death of the universe. ®

Similar topics

Other stories you might like

  • Ubuntu 21.10: Plan to do yourself an Indri? Here's what's inside... including a bit of GNOME schooling

    Plus: Rounded corners make GNOME 40 look like Windows 11

    Review Canonical has released Ubuntu 21.10, or "Impish Indri" as this one is known. This is the last major version before next year's long-term support release of Ubuntu 22.04, and serves as a good preview of some of the changes coming for those who stick with LTS releases.

    If you prefer to run the latest and greatest, 21.10 is a solid release with a new kernel, a major GNOME update, and some theming changes. As a short-term support release, Ubuntu 21.10 will be supported for nine months, which covers you until July 2022, by which point 22.04 will already be out.

    Continue reading
  • Heart FM's borkfast show – a fine way to start your day

    Jamie and Amanda have a new co-presenter to contend with

    There can be few things worse than Microsoft Windows elbowing itself into a presenting partnership, as seen in this digital signage for the Heart breakfast show.

    For those unfamiliar with the station, Heart is a UK national broadcaster with Global as its parent. It currently consists of a dozen or so regional stations with a number of shows broadcast nationally. Including a perky breakfast show featuring former Live and Kicking presenter Jamie Theakston and Britain's Got Talent judge, Amanda Holden.

    Continue reading
  • Think your phone is snooping on you? Hold my beer, says basic physics

    Information wants to be free, and it's making its escape

    Opinion Forget the Singularity. That modern myth where AI learns to improve itself in an exponential feedback loop towards evil godhood ain't gonna happen. Spacetime itself sets hard limits on how fast information can be gathered and processed, no matter how clever you are.

    What we should expect in its place is the robot panopticon, a relatively dumb system with near-divine powers of perception. That's something the same laws of physics that prevent the Godbot practically guarantee. The latest foreshadowing of mankind's fate? The Ethernet cable.

    By itself, last week's story of a researcher picking up and decoding the unintended wireless emissions of an Ethernet cable is mildly interesting. It was the most labby of lab-based demos, with every possible tweak applied to maximise the chances of it working. It's not even as if it's a new discovery. The effect and its security implications have been known since the Second World War, when Bell Labs demonstrated to the US Army that a wired teleprinter encoder called SIGTOT was vulnerable. It could be monitored at a distance and the unencrypted messages extracted by the radio pulses it gave off in operation.

    Continue reading

Biting the hand that feeds IT © 1998–2021