arXiv · 1603.05615
A software approach to defeating side channels in last-level caches
Abstract
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.
Explore related subjects
Keep this discovery
Ziqiao Zhou, Michael K. Reiter, Yinqian Zhang. 2016-03-17. A software approach to defeating side channels in last-level caches. https://arxiv.org/abs/1603.05615
Cite the original work for its findings. Save a collection to share your selection of sources.