S$A: A Shared Cache Attack That Works across Cores and Defies VM Sandboxing -- and Its Application to AES
Authors:
- Gorka IrazoquiGIGorka Irazoqui
- Thomas EisenbarthTEThomas Eisenbarth
- Berk SunarBSBerk Sunar
Top Cited Papers
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10816011,p. 591-604
Abstract
The cloud computing infrastructure relies on virtualized servers that provide isolation across guest OS's through sand boxing. This isolation was demonstrated to be imperfect in past work which exploited hardware level information leakages to gain access to sensitive information across co-located virtual machines (VMs). In response virtualization companies and cloud services providers have disabled features such as deduplication to prevent such attacks. In this work, we introduce a fine-grain cross-core cache attack that exploits access time variations on the last level cache. The attack exploits huge pages to work across VM boundaries without requiring deduplication. No configuration changes on the victim OS are needed, making the attack quite viable. Furthermore, only machine co-location is required, while the target and victim OS can still reside on different cores of the machine. Our new attack is a variation of the prime and probe cache attack whose applicability at the time is limited to L1 cache. In contrast, our attack works in the spirit of the flush and reload attack targeting the shared L3 cache instead. Indeed, by adjusting the huge page size our attack can be customized to work virtually at any cache level/size. We demonstrate the viability of the attack by targeting an Open SSL1.0.1f implementation of AES. The attack recovers AES keys in the cross-VM setting on Xen 4.1 with deduplication disabled, being only slightly less efficient than the flush and reload attack. Given that huge pages are a standard feature enabled in the memory management unit of OS's and that besides co-location no additional assumptions are needed, the attack we present poses a significant risk to existing cloud servers.Keywords
This publication has 21 references indexed in Scilit:
- Cross-Tenant Side-Channel Attacks in PaaS Clouds2014
- Wait a Minute! A fast, Cross-VM Attack on AES2014
- Practical Timing Side Channel Attacks against Kernel Space ASLR2013
- Cross-VM side channels and their use to extract private keys2012
- New Results on Instruction Cache AttacksLecture Notes in Computer Science, 2010
- Towards hybrid last level caches for chip-multiprocessorsACM SIGARCH Computer Architecture News, 2008
- Yet another MicroArchitectural Attack:2007
- Advances on Access-Driven Cache Attacks on AES2007
- Cache Attacks and Countermeasures: The Case of AES2006
- Lattice scheduling and covert channels2003