'PortSmash' Brings New Side-Channel Attack to Intel Processors
New vulnerability exposes encryption keys in the first proof-of-concept code.
November 6, 2018
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
You May Also Like