New vulnerability exposes encryption keys in the first proof-of-concept code.

A new Intel side-channel vulnerability dubbed PortSmash promises to lay encryption keys open to discovery by threat actors.

PortSmash uses characteristics of Simultaneous Multi Threading (SMT), a technique used in Intel processors to run two programs on a single core. In this case, one of the processes sniffs the activity of the other until it's able to work out the timing and details of instructions based on port contentions and their resolution.

The proof of concept, which was created by researchers at Finland’s Tampere University of Technology and the Technical University of Havana, works out the location of data in order to steal an OpenSSL private key from a TLS server.

"Any time you have the opportunity to capture what we assume is secret — in this case a private key — it's serious," says Kevin Bocek, vice president of security strategy at Venafi. In the future when more organizations have complex workloads running on cloud platforms and lack complete control and full visibility, this sort of vulnerability will become even more serious, he notes.

One factor underscoring the seriousness of the vulnerability is the relative ease with which it can be exploited, says Justin Jett, director of audit and compliance at Plixer. Discovering the core on which the TLS server is running is easy with open source tools like taskset or cpuset, he says, and then injecting a process into that same core is quite simple.

"Ultimately, you create malware that will be inserted into the same core [as the server]. This malware then has the capability of getting the decryption key that OpenSSL is generating," he explains.

The issue could become worse, Jett says, "if that site also has deployed some form of single sign-on, then the credentials passed through the Web server could be compromised. And if that single sign-on happens to use Active Directory server, then that could further compromise the systems themselves."

If there's good news here, it's that the same issues currently exist for PortSmash that exist for all similar side-channel vulnerabilities. "This type of attack means that you're already able to execute code on somebody's computer," says Chet Wisniewski, principal research scientist at Sophos. "Typically, once you've already got malicious code running on a computer, why bother executing such a complicated thing in order to potentially steal encryption you probably can already steal?" 

Wisniewski says he believes PortSmash deserves a rating of four on a ten-point scale of severity, but that it could prove more dangerous as time goes on. "A four can turn into a seven or eight down the road. Right now it's too hard for an average criminal to bother with it, but as researchers refine the attack over six-, 12-, 18 months, we've seen all the other attacks suddenly become more important," he explains.

Little Control

There's relatively little that cloud or hosted service customers can do to protect themselves from this sort of vulnerability, researchers say. "Changing the frequency with which TLS keys are replaced is important," Venafi's Bocek says.

"We should certainly be monitoring processes, and making sure that we know there aren't rogue processes that are on the servers that are injecting themselves into specific cores," says Plixer's Jett.

The threat will be problematic for mid-tier organizations without the knowledge or resources to update their applications with newer encryption libraries more resilient to the attack, Wisniewski notes.

"It's inevitable: death, taxes, and more side-channel attacks. I can't protect the chips, but I can protect the TLS certificates," says Bocek. "There will be more side-channel attacks. The sky isn't falling, but it is serious."

Related Content:

 

Black Hat Europe returns to London Dec 3-6 2018  with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions and service providers in the Business Hall. Click for information on the conference and to register.

About the Author(s)

Curtis Franklin, Principal Analyst, Omdia

Curtis Franklin Jr. is Principal Analyst at Omdia, focusing on enterprise security management. Previously, he was senior editor of Dark Reading, editor of Light Reading's Security Now, and executive editor, technology, at InformationWeek, where he was also executive producer of InformationWeek's online radio and podcast episodes

Curtis has been writing about technologies and products in computing and networking since the early 1980s. He has been on staff and contributed to technology-industry publications including BYTE, ComputerWorld, CEO, Enterprise Efficiency, ChannelWeb, Network Computing, InfoWorld, PCWorld, Dark Reading, and ITWorld.com on subjects ranging from mobile enterprise computing to enterprise security and wireless networking.

Curtis is the author of thousands of articles, the co-author of five books, and has been a frequent speaker at computer and networking industry conferences across North America and Europe. His most recent books, Cloud Computing: Technologies and Strategies of the Ubiquitous Data Center, and Securing the Cloud: Security Strategies for the Ubiquitous Data Center, with co-author Brian Chee, are published by Taylor and Francis.

When he's not writing, Curtis is a painter, photographer, cook, and multi-instrumentalist musician. He is active in running, amateur radio (KG4GWA), the MakerFX maker space in Orlando, FL, and is a certified Florida Master Naturalist.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights