December 3, 2015 By Douglas Bonderud 2 min read

Sharing is a positive force. Parents teach it to children, managers teach it to staff and new technology initiatives depend on it; public cloud computing wouldn’t be possible without the ability to share and redistribute resources on demand. But as reported by Threatpost, sometimes sharing can also do more harm than good: Researchers have now discovered that thousands of embedded devices — routers, gateways and modems, to name a few — share cryptographic keys, opening up a new avenue for man-in-the-middle (MitM) attacks.

Share and Share Alike?

In a study of more than 4,000 devices from 70 manufacturers, researchers from SEC Consult discovered startling consistency: Almost 600 unique private keys were shared and reused across devices. Of the 580 shared, 230 were actively in use, accounting for 9 percent of HTTPS hosts (150 certificates shared among 3.2 million hosts) and 6 percent of secure shell (SSH) hosts. In total, over 900 products from 50 vendors were identified as vulnerable.

What’s more, while devices made by the same company were shown to reuse private keys, those same keys were also found in devices made by competitors — meaning keys were either deliberately shared, leaked or simply repurposed by OEMs working with different vendors. Since these keys are hard-coded into firmware, it’s not simply a matter of resetting the device and trying again; this state of affairs is effectively permanent.

So what’s the problem here? According to InfoWorld, if attackers can steal private keys and then intercept a connection attempt, they can co-opt the user’s public key and force embedded devices to talk with their machines instead. And since SSH sign-ons typically occur only during the first-ever login attempt, cybercriminals could set themselves up as the go-to connection. By capturing encrypted HTTPS traffic and then applying the right private key, it’s possible for malicious actors to extract usernames, passwords and other forms of authentication.

Sharing these keys makes the problem much worse — attackers have a much higher chance of successfully repurposing keys from one device to grant access on another. While companies have been quick to release warnings and advisories, there’s no quick fix here, although they rightly point out that it would require direct network access for attackers to launch a MitM attack on these embedded devices. The SEC researchers recommended that vendors change default cryptographic keys before hard-coding their firmware in addition to turning off any remote access features on their network.

Perception and Reality of Embedded Devices

So how did it come to this? How did vendors allow their devices to use and reuse keys without a thought to the potential consequences? A recent CNBC article offered some clarity: When asked, 36 percent of consumers admitted they had shared the password to their online banking account, yet most users gave themselves an A for following cybersecurity best practices.

In other words, there’s a disconnect between perception and reality. Cybersecurity is somehow viewed as a matter of perspective rather than hard-and-fast rules. For vendors and OEMs, the sentiment seems to be that they were only embedded devices and, given the relatively complex nature of carrying out a MitM attack, sharing secure keys wasn’t really a problem — they still deserve an A for cybersecurity, right?

Attackers are now more than willing to go the extra mile if it gives them unfettered access to corporate networks, especially if companies aren’t actively searching for threats in a specific area. Bottom line? Embedded devices aren’t in a class alone when it comes to IT security. Best practices must be shared across all potential access points.

More from

When ransomware kills: Attacks on healthcare facilities

4 min read - As ransomware attacks continue to escalate, their toll is often measured in data loss and financial strain. But what about the loss of human life? Nowhere is the ransomware threat more acute than in the healthcare sector, where patients’ lives are literally on the line.Since 2015, there has been a staggering increase in ransomware attacks on healthcare facilities. And the impacts are severe: Diverted emergency services, delayed critical treatments and even fatalities. Meanwhile, the pledge some ransomware groups made during…

AI and cloud vulnerabilities aren’t the only threats facing CISOs today

6 min read - With cloud infrastructure and, more recently, artificial intelligence (AI) systems becoming prime targets for attackers, security leaders are laser-focused on defending these high-profile areas. They’re right to do so, too, as cyber criminals turn to new and emerging technologies to launch and scale ever more sophisticated attacks.However, this heightened attention to emerging threats makes it easy to overlook traditional attack vectors, such as human-driven social engineering and vulnerabilities in physical security.As adversaries exploit an ever-wider range of potential entry points…

4 trends in software supply chain security

4 min read - Some of the biggest and most infamous cyberattacks of the past decade were caused by a security breakdown in the software supply chain. SolarWinds was probably the most well-known, but it was not alone. Incidents against companies like Equifax and tools like MOVEit also wreaked havoc for organizations and customers whose sensitive information was compromised.Expect to see more software supply chain attacks moving forward. According to ReversingLabs' The State of Software Supply Chain Security 2024 study, attacks against the software…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today