CATalyst: Defeating last-level cache side channel attacks in cloud computing

Fangfei Liu, Qian Ge, Y. Yarom, Francis X. McKeen, Carlos V. Rozas, G. Heiser, R. Lee
{"title":"CATalyst: Defeating last-level cache side channel attacks in cloud computing","authors":"Fangfei Liu, Qian Ge, Y. Yarom, Francis X. McKeen, Carlos V. Rozas, G. Heiser, R. Lee","doi":"10.1109/HPCA.2016.7446082","DOIUrl":null,"url":null,"abstract":"Cache side channel attacks are serious threats to multi-tenant public cloud platforms. Past work showed how secret information in one virtual machine (VM) can be extracted by another co-resident VM using such attacks. Recent research demonstrated the feasibility of high-bandwidth, low-noise side channel attacks on the last-level cache (LLC), which is shared by all the cores in the processor package, enabling attacks even when VMs are scheduled on different cores. This paper shows how such LLC side channel attacks can be defeated using a performance optimization feature recently introduced in commodity processors. Since most cloud servers use Intel processors, we show how the Intel Cache Allocation Technology (CAT) can be used to provide a system-level protection mechanism to defend from side channel attacks on the shared LLC. CAT is a way-based hardware cache-partitioning mechanism for enforcing quality-of-service with respect to LLC occupancy. However, it cannot be directly used to defeat cache side channel attacks due to the very limited number of partitions it provides. We present CATalyst, a pseudo-locking mechanism which uses CAT to partition the LLC into a hybrid hardware-software managed cache. We implement a proof-of-concept system using Xen and Linux running on a server with Intel processors, and show that LLC side channel attacks can be defeated. Furthermore, CATalyst only causes very small performance overhead when used for security, and has negligible impact on legacy applications.","PeriodicalId":417994,"journal":{"name":"2016 IEEE International Symposium on High Performance Computer Architecture (HPCA)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-03-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"365","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE International Symposium on High Performance Computer Architecture (HPCA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HPCA.2016.7446082","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 365

Abstract

Cache side channel attacks are serious threats to multi-tenant public cloud platforms. Past work showed how secret information in one virtual machine (VM) can be extracted by another co-resident VM using such attacks. Recent research demonstrated the feasibility of high-bandwidth, low-noise side channel attacks on the last-level cache (LLC), which is shared by all the cores in the processor package, enabling attacks even when VMs are scheduled on different cores. This paper shows how such LLC side channel attacks can be defeated using a performance optimization feature recently introduced in commodity processors. Since most cloud servers use Intel processors, we show how the Intel Cache Allocation Technology (CAT) can be used to provide a system-level protection mechanism to defend from side channel attacks on the shared LLC. CAT is a way-based hardware cache-partitioning mechanism for enforcing quality-of-service with respect to LLC occupancy. However, it cannot be directly used to defeat cache side channel attacks due to the very limited number of partitions it provides. We present CATalyst, a pseudo-locking mechanism which uses CAT to partition the LLC into a hybrid hardware-software managed cache. We implement a proof-of-concept system using Xen and Linux running on a server with Intel processors, and show that LLC side channel attacks can be defeated. Furthermore, CATalyst only causes very small performance overhead when used for security, and has negligible impact on legacy applications.
催化剂:在云计算中击败最后一级缓存侧通道攻击
缓存侧通道攻击是对多租户公有云平台的严重威胁。过去的研究表明,一个虚拟机(VM)中的秘密信息如何被另一个共同驻留的VM使用这种攻击提取出来。最近的研究证明了对最后一级缓存(LLC)进行高带宽,低噪声侧信道攻击的可行性,该缓存由处理器包中的所有内核共享,即使虚拟机被安排在不同的内核上也可以进行攻击。本文展示了如何使用最近在商用处理器中引入的性能优化功能来击败这种LLC侧信道攻击。由于大多数云服务器使用英特尔处理器,我们将展示如何使用英特尔缓存分配技术(CAT)来提供系统级保护机制,以防止对共享LLC的侧信道攻击。CAT是一种基于方式的硬件缓存分区机制,用于强制执行有关LLC占用的服务质量。然而,由于它提供的分区数量非常有限,因此它不能直接用于击败缓存侧通道攻击。我们提出了CATalyst,一种伪锁定机制,它使用CAT将LLC划分为一个混合硬件软件管理的缓存。我们在Intel处理器的服务器上使用Xen和Linux实现了一个概念验证系统,并证明了LLC侧信道攻击可以被击败。此外,当用于安全性时,CATalyst只会导致非常小的性能开销,并且对遗留应用程序的影响可以忽略不计。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信