Researchers find a new way to attack the cloud

Using side-channel attacks they find ways to steal data from cloud applications

Amazon and Microsoft have been pushing cloud-computing services as a low-cost way to outsource raw computing power, but the products may introduce new security problems that have yet to be fully explored, according to researchers at the University of California, San Diego, and the Massachusetts Institute of Technology.

Cloud services can save companies money by allowing them to run new applications without having to buy new hardware. Services like Amazon's Elastic Computer Cloud (EC2) host several different operating environments in virtual machines that run on a single computer. This lets Amazon squeeze more computing power out of each server on its network, but it may come at a cost, the researchers say.

In experiments with Amazon's EC2 they showed that they could pull off some very basic versions of what are known as side-channel attacks. A side-channel attacker looks at indirect information related to the computer -- the electromagnetic emanations from screens or keyboards, for example -- to determine what is going on in the machine.

The researchers were able to pinpoint the physical server used by programs running on the EC2 cloud and then extract small amounts of data from these programs, by placing their own software there and launching a side-channel attack. Security experts say the attacks developed by the researchers are minor, but they believe side-channel techniques could lead to more serious problems for cloud computing.

Many users are already reluctant to use cloud services because of regulatory concerns -- they need to have a better handle on the physical location of their data -- but the side-channel research brings a whole new set of problems, according to Tadayoshi Kohno, an assistant professor with the University of Washington's computer science department. "It's exactly these types of concerns -- the threat of the unknown -- that is going to make a lot of people hesitant to use cloud services such as EC2."

In the past, some side-channel attacks have been very successful. In 2001, researchers at the University of California, Berkeley, showed how they were able to extract password information from an encrypted SSH (Secure Shell) data stream by performing a statistical analysis of the way keyboard strokes generated traffic on the network.

The UC and MIT researchers weren't able to achieve anything that sophisticated, but they think their work may open the door to future research in this area. "A virtual machine is not proof against all of the kinds of side-channel attacks that we've been hearing about for years," said Stefan Savage, associate professor with UC San Diego, and one of the authors of the paper.

By looking at the computer's memory cache, the researchers were able to glean some basic information about when other users on the same machine were using a keyboard, for example to access the computer using an SSH terminal. They believe that by measuring the time between keystrokes they could eventually figure out what is being typed on the machine using the same techniques as the Berkeley researchers.

Savage and his co-authors Thomas Ristenpart, Eran Tromer and Hovav Shacham were also able to measure the cache activity when the computer was performing simple tasks such as loading a particular Web page. They believe that this method could be used to do things such as see how many Internet users were visiting a server or even which pages they were viewing.

To make their simple attacks work, the researchers had to not only figure out which EC2 machine was running the program they wanted to attack, they also had to find a way to get their particular program on it. This isn't easily done, because cloud computing is, by definition, supposed to make this kind of information invisible to the user.

But by doing an in-depth analysis of DNS (Domain Name System) traffic and using a network-monitoring tool called traceroute, the researchers were able to work out a technique that could give them a 40 percent chance of placing their attack code on the same server as their victim. The cost of the attack on EC2 was just a few dollars, Savage said.

Virtual machines may do a good job of isolating operating systems and programs from each other, but there is always an opening for these side-channel attacks on systems that share resources, said Alex Stamos, a partner with security consultancy iSEC Partners. "It's going to be a whole new class of bugs that people are going to have to fix in the next five years."

His company has worked with a number of clients interested in cloud computing, but only if they can be assured that no one else is sharing the same machine. "I'm guessing the cloud-computing providers are going to be pushed by their clients to be able to provide physical machines."

Amazon wasn't quite ready to talk about side-channel attacks Thursday. "We take all security claims very seriously and are aware of this research," a spokeswoman said. "We are investigating and will post updates to our security center."

Join the CSO newsletter!

Error: Please check your email address.

Tags amazonamazon ec2securitycloud computing

More about Amazon Web ServicesC2etworkMassachusetts Institute of TechnologyMicrosoftMITSECSSH

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Robert McMillan

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place