arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.05615cs.CR
收藏

一种消除末级缓存中边通道的软件方法

A software approach to defeating side channels in last-level caches

Ziqiao Zhou, Michael K. Reiter, Yinqian Zhang

摘要:

我们提出了一种软件方法来减轻访问驱动的侧信道攻击,该攻击利用跨核共享的最后一级缓存(LLC)来泄漏安全域之间的信息(例如,在云中的租户)。我们的方法动态地管理物理内存页之间共享的安全域禁用共享的LLC线,从而防止通过LLC的“刷新-刷新”侧通道。它还管理内存页面的可缓存性,以阻止LLC中的跨租户“Prime-Probe”攻击。我们已经将我们的方法实现为Linux内核中称为CacheBar的存储管理子系统,以跨容器边界干预此类侧通道,因为容器是在平台即服务(PaaS)云中强制租户隔离的常用方法。通过形式化验证、原理性分析和实证评估,我们证明CacheBar在PaaS工作负载下实现了强大的安全性和较小的性能开销。

英文摘要:

We present a software approach to mitigate access-driven side-channel attacks that leverage last-level caches (LLCs) shared across cores to leak information between security domains (e.g., tenants in a cloud). Our approach dynamically manages physical memory pages shared between security domains to disable sharing of LLC lines, thus preventing "Flush-Reload" side channels via LLCs. It also manages cacheability of memory pages to thwart cross-tenant "Prime-Probe" attacks in LLCs. We have implemented our approach as a memory management subsystem called CacheBar within the Linux kernel to intervene on such side channels across container boundaries, as containers are a common method for enforcing tenant isolation in Platform-as-a-Service (PaaS) clouds. Through formal verification, principled analysis, and empirical evaluation, we show that CacheBar achieves strong security with small performance overheads for PaaS workloads.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑