Cloud
10/2/2015
04:25 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Amazon Downplays New Hack For Stealing Crypto Keys In Cloud

Attack works only under extremely rare conditions, cloud giant says of the latest research.

A team of researchers at the Worcester Polytechnic Institute (WPI) in Massachusetts has developed a proof-of-concept attack for stealing private RSA cryptographic keys from virtual machines hosted in Amazon’s EC2 cloud infrastructure.

Amazon says customers using current software and following security best practices are not vulnerable to the attack, however. The cloud company describes the attack as a complex one that would only work under certain extremely rare, pre-existing conditions involving outdated third-party software. "Further, a patched version of the open source software targeted by this research (Libgcrypt) is publicly available for Amazon EC2 customers," the company said.

In a paper published by the International Association for Cryptologic Research (IACR), the researchers described a technique for locating the physical machine on which a specific VM might be hosted and then using a rogue machine on the same server to steal the crypto keys.

The attack technique is reminiscent of, and builds off, work done six years ago by researchers at MIT and the University of California at San Diego. In that paper, the researchers showed how an attacker could identify the physical server on which a target virtual machine is located in a public cloud infrastructure and then install a rogue VM on the same server to eavesdrop on it.

The WPI researchers said that many of the vulnerabilities that were exploited by the MIT and UC-San Diego researchers six years ago have been closed. Cloud service providers, hypervisor vendors, providers of crypto libraries, and others have fixed many previously existing security holes through patches, they noted.

"Through combined efforts of all involved parties, the bar for performing successful attacks in the cloud is quickly rising," the researchers acknowledged in their paper.

Even so, it's still possible for attackers to detect when a rogue VM is co-located on the same physical server as a target VM, and then use side-channel attacks to recover the RSA decryption keys from it.

The paper references the use of shared resources such as Last Level Caches (LLCs) to detect instances where a target VM and attack VM are co-located on the same server in a cloud infrastructure like Amazon's.

Their method is based on a previously used technique called "prime and probe," involving the use of shared memory caches for establishing communications between VMs on the same physical server. While the hypervisor typically prevents VMs from directly reading the memory of another VM, the Last Level Cache can provide indirect information on another VMs memory usage. The WPI researchers essentially took advantage of this technique to device a new way for extracting RSA keys from a target VM.

"The main takeaway is that these micro-architectural leakages do not only exist, but may be exploited even in the rather noisy environment of public clouds," Thomas Eisenbarth, assistant professor at WPI’s department of electrical and computer engineering, told Dark Reading.

But enterprises that are careful about their software choices should be well-protected. "For example, the most recent versions of OpenSSL and Libgcrypt are designed in such a way that the exploited leakages do no longer occur," he says. "Crypto keys are still safe if users follow security best practices and stick to well-maintained fully-patched crypto libraries."

Yehuda Lindell, chief scientist and co-founder of encryption technology vendor Dyadic says the proof-of-concept developed by the WPI researchers shows how side-channel attacks make it possible for one process to steal a secret key held by another process.

"In order to carry out such an attack in the cloud, you first need to know that you are co-located on the same physical machine as a VM with the target application," Lindell says. "This paper shows new ways of detecting collocation, and then methods for stealing the key using the side channels."

 

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Blog Voyage
50%
50%
Blog Voyage,
User Rank: Strategist
10/3/2015 | 9:15:16 AM
Y
"But enterprises that are careful about their software choices should be well-protected"

 

Seems legit...
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Security Operations and IT Operations: Finding the Path to Collaboration
A wide gulf has emerged between SOC and NOC teams that's keeping both of them from assuring the confidentiality, integrity, and availability of IT systems. Here's how experts think it should be bridged.
Flash Poll
New Best Practices for Secure App Development
New Best Practices for Secure App Development
The transition from DevOps to SecDevOps is combining with the move toward cloud computing to create new challenges - and new opportunities - for the information security team. Download this report, to learn about the new best practices for secure application development.
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-7445
Published: 2015-10-15
The Direct Rendering Manager (DRM) subsystem in the Linux kernel through 4.x mishandles requests for Graphics Execution Manager (GEM) objects, which allows context-dependent attackers to cause a denial of service (memory consumption) via an application that processes graphics data, as demonstrated b...

CVE-2015-4948
Published: 2015-10-15
netstat in IBM AIX 5.3, 6.1, and 7.1 and VIOS 2.2.x, when a fibre channel adapter is used, allows local users to gain privileges via unspecified vectors.

CVE-2015-5660
Published: 2015-10-15
Cross-site request forgery (CSRF) vulnerability in eXtplorer before 2.1.8 allows remote attackers to hijack the authentication of arbitrary users for requests that execute PHP code.

CVE-2015-6003
Published: 2015-10-15
Directory traversal vulnerability in QNAP QTS before 4.1.4 build 0910 and 4.2.x before 4.2.0 RC2 build 0910, when AFP is enabled, allows remote attackers to read or write to arbitrary files by leveraging access to an OS X (1) user or (2) guest account.

CVE-2015-6333
Published: 2015-10-15
Cisco Application Policy Infrastructure Controller (APIC) 1.1j allows local users to gain privileges via vectors involving addition of an SSH key, aka Bug ID CSCuw46076.

Dark Reading Radio
Archived Dark Reading Radio
In past years, security researchers have discovered ways to hack cars, medical devices, automated teller machines, and many other targets. Dark Reading Executive Editor Kelly Jackson Higgins hosts researcher Samy Kamkar and Levi Gundert, vice president of threat intelligence at Recorded Future, to discuss some of 2016's most unusual and creative hacks by white hats, and what these new vulnerabilities might mean for the coming year.