CEASER: Mitigating Conflict-Based Cache Attacks via Encrypted-Address and Remapping
The DOI matches its Crossref record; 29 of the 29 references it cites were found in a registry or an index.
Abstract
Modern processors share the last-level cache between all the cores to efficiently utilize the cache space. Unfortunately, such sharing makes the cache vulnerable to attacks whereby an adversary can infer the access pattern of a co-running application by carefully orchestrating evictions using cache conflicts. Conflict-based attacks can be mitigated by randomizing the location of the lines in the cache. Unfortunately, prior proposals for randomized mapping require storage-intensive tables and are effective only if the OS can classify the applications into protected and unprotected groups. The goal of this paper is to mitigate conflict-based attacks while incurring negligible storage and performance overheads, and without relying on OS support. This paper provides the key insight that randomized mapping can be accomplished efficiently by accessing the cache with an encrypted address, as encryption would cause the lines that map to the same set of a conventional cache to get scattered to different sets. This paper proposes CEASE, a design that uses Low-Latency Block-Cipher (LLBC) to translate the physical line-address into an encrypted line-address, and accesses the cache with this encrypted line-address. We analyze efficient designs for LLBC that can perform encryption and decryption within two cycles. We also propose CEASER, a design that periodically changes the encryption key and performs dynamic-remapping to improve robustness. CEASER provides strong security (tolerates 100+ years of attack), has low performance overhead (1% slowdown), requires a storage overhead of less than 24 bytes for the newly added structures, and does not need any OS support.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Handbook of applied cryptography
(1997) · Choice Reviews Online · doi:10.5860/choice.34-4512 · Cited by 10,357
Communication Theory of Secrecy Systems
Shannon, C. E. (1949) · Bell System Technical Journal · doi:10.1002/j.1538-7305.1949.tb00928.x · Cited by 9,440 · cited 1×
“Claude Shannon identified confusion and diffusion as the two vital properties for a secure cipher [32].”
BackgroundSpectre Attacks: Exploiting Speculative Execution
Kocher, P., Genkin, D., Gruss, D., Haas, W., Hamburg, M., Lipp, M., Mangard, S., Prescher, T., Schwarz, M., & Yarom, Y. (2018) · arXiv · doi:10.48550/arxiv.1801.01203 · Cited by 1,850
Spectre Attacks: Exploiting Speculative Execution
Kocher, P., Horn, J., Fogh, A., Genkin, D., Gruss, D., Haas, W., Hamburg, M., Lipp, M., Mangard, S., Prescher, T., et al. (2019) · 2019 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2019.00002 · Cited by 1,780
Automatically characterizing large scale program behavior
Sherwood, T., Perelman, E., Hamerly, G., & Calder, B. (2002) · Proceedings of the 10th international conference on Architectural support for programming languages and operating systems · doi:10.1145/605397.605403 · Cited by 1,674 · cited 1×
“For each benchmark, we use a representative slice [20] of 1 billion instructions.”
MethodCache Attacks and Countermeasures: The Case of AES
Osvik, D. A., Shamir, A., & Tromer, E. (2006) · Lecture Notes in Computer Science · doi:10.1007/11605805_1 · Cited by 1,352 · cited 4×
“Cache attacks can be mitigated by rewriting the securitysensitive applications to not keep critical information (such as encryption tables) in memory and instead compute the critical information on-the-fly [13], [24].”
BackgroundMethodInfluentialLast-Level Cache Side-Channel Attacks are Practical
Liu, F., Yarom, Y., Ge, Q., Heiser, G., & Lee, R. B. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.43 · Cited by 1,009 · cited 4×
“An adversary can exploit this timing differences to determine the line to bank mapping and focus the attack on one bank [10].”
BackgroundInfluentialHow to Construct Pseudorandom Permutations from Pseudorandom Functions
Luby, M., & Rackoff, C. (1988) · SIAM Journal on Computing · doi:10.1137/0217022 · Cited by 938
Description of a new variable-length key, 64-bit block cipher (Blowfish)
Schneier, B. (1994) · Lecture Notes in Computer Science · doi:10.1007/3-540-58108-1_24 · Cited by 791 · cited 1×
“Feistel-Networks are simple to implement, incur low-latency, and are widely used in encryption algorithms, such as the Data Encryption Standard (DES) [11] and BlowFish [17].”
Cryptography and Computer Privacy
Feistel, H. (1973) · Scientific American · doi:10.1038/scientificamerican0573-15 · Cited by 777 · cited 1×
“1 In this section, we demonstrate the diffusion property for our proposed implementation of LLBC, using an Avalanche Test [33], [34].”
MethodEnhancing lifetime and security of PCM-based main memory with start-gap wear leveling
Qureshi, M. K., Karidis, J., Franceschini, M., Srinivasan, V., Lastras, L., & Abali, B. (2009) · Proceedings of the 42nd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1145/1669112.1669117 · Cited by 762 · cited 1×
“Start-Gap Wear-Leveling [29], [30] of non-volatile memories used Feistel-Network for static randomization of the entire memory space, however, with Start-Gap the keys for the Feistel-Network remains unchanged during the system uptime.”
BackgroundSelf-citationWebster, A. F., & Tavares, S. E. (2007) · Lecture Notes in Computer Science · doi:10.1007/3-540-39799-x_41 · Cited by 719 · cited 1×
“1 In this section, we demonstrate the diffusion property for our proposed implementation of LLBC, using an Avalanche Test [33], [34].”
MethodThe GAP Benchmark SuitePreprint
Beamer, S., Asanović, K., & Patterson, D. A. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1508.03619 · Cited by 671 · cited 1×
“We use a diverse set of workloads for our study, including all the 29 workloads from the SPEC2006 benchmarks suite and 5 workloads from the GAP benchmark suite [19].”
MethodCache Games -- Bringing Access-Based Cache Attacks on AES to Practice
Gullasch, D., Bangerter, E., & Krenn, S. (2011) · 2011 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2011.22 · Cited by 528
New cache designs for thwarting software cache-based side channel attacks
Wang, Z., & Lee, R. B. (2007) · Proceedings of the 34th annual international symposium on Computer architecture · doi:10.1145/1250662.1250723 · Cited by 500 · cited 7×
“For example, PLCache [4] uses cache line locking to lock the lines of the protected applications.”
BackgroundMethodInfluentialCATalyst: Defeating last-level cache side channel attacks in cloud computing
Liu, F., Ge, Q., Yarom, Y., Mckeen, F., Rozas, C., Heiser, G., & Lee, R. B. (2016) · 2016 IEEE International Symposium on High Performance Computer Architecture (HPCA) · doi:10.1109/hpca.2016.7446082 · Cited by 370 · cited 1×
“CATalyst [21] uses the Cache Allocation Technology (CAT) to reserve a given number of ways for the security-sensitive applications.”
MethodA case for two-way skewed-associative caches
Seznec, A. (1993) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1109/isca.1993.698558 · Cited by 348
STEALTHMEM: system-level protection against cache-based side channel attacks in the cloud
Kim, T., Peinado, M., & Mainar-Ruiz, G. (2012) · Cited by 309
Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
Yan, M., Sprabery, R., Gopireddy, B., Fletcher, C. W., Campbell, R. H., & Torrellas, J. (2019) · IEEE Symposium on Security and Privacy (S&P) · doi:10.1109/sp.2019.00004 · Cited by 258 · cited 1×
“While we analyzed CEASER only for a shared LLC, CEASER can also be used to protect against attacks on other shared structures, such as against directory-based attacks [31].”
MethodRandom Fill Cache Architecture
Liu, F., & Lee, R. B. (2014) · 2014 47th Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1109/micro.2014.28 · Cited by 212 · cited 1×
“Flush-based attacks can be mitigated by avoiding the sharing of security-critical data [14] or by restricting the use of clflush to kernel mode [15].”
BackgroundThe ZCache: Decoupling Ways and Associativity
Sanchez, D., & Kozyrakis, C. (2010) · 2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1109/micro.2010.20 · Cited by 201 · cited 1×
“Prior studies [25]–[28] have used XOR-based indexing functions for reducing conflicts in cache-sets and memorybanks.”
MethodNon-monopolizable caches: Low-complexity mitigation of cache side channel attacks
Domnitser, L., Jaleel, A., Loew, J., Abu-Ghazaleh, N., & Ponomarev, D. (2012) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/2086696.2086714 · Cited by 197 · cited 2×
“Examples of preservation based approach include PL-Cache [4] (lock lines of sensitive application in the cache) and Non-Monopolizable Cache [5] (reserve a few ways of the shared cache for each core).”
BackgroundMethodNew cache designs for thwarting software cache-based side channel attacks
Wang, Z., & Lee, R. B.-L. (2007) · ACM SIGARCH Computer Architecture News · doi:10.1145/1273440.1250723 · Cited by 188
Software mitigations to hedge AES against cache-based software side channel vulnerabilities.Preprint
Brickell, E., Graunke, G., Neve, M., & Seifert, J. (2006) · IACR Cryptology ePrint Archive · Cited by 144
Yan, M., Gopireddy, B., Shull, T., & Torrellas, J. (2017) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1145/3079856.3080222 · Cited by 98 · cited 3×
“Nonetheless, an SMT-based system can still use NoMo for the L1 and L2 cache (private) and CEASER for the LLC. Recent studies [15], [23] have exploited the inclusion property of LLC to provide For example, Relaxed Inclusion Cache (RIC) [23] classifies the working set into private, read-only, and…”
BackgroundMethodMapping the Intel Last-Level CachePreprint
Yarom, Y., Ge, Q., Liu, F., Lee, R. B.-L., & Heiser, G. (2015) · IACR Cryptology ePrint Archive · doi:10.13140/rg.2.1.1351.9846 · Cited by 80
Vandierendonck, H., & Bosschere, K. D. (2005) · IEEE Transactions on Computers · doi:10.1109/tc.2005.122 · Cited by 71
RIC: Relaxed Inclusion Caches for Mitigating LLC Side-Channel Attacks
Kayaalp, M., Khasawneh, K. N., Esfeden, H. A., Elwell, J., Abu‐Ghazaleh, N., Ponomarev, D., & Jaleel, A. (2017) · ACM/IEEE Design Automation Conference (DAC) · doi:10.1145/3061639.3062313 · Cited by 50 · cited 2×
“Nonetheless, an SMT-based system can still use NoMo for the L1 and L2 cache (private) and CEASER for the LLC. Recent studies [15], [23] have exploited the inclusion property of LLC to provide For example, Relaxed Inclusion Cache (RIC) [23] classifies the working set into private, read-only, and…”
BackgroundArchitecting against Software Cache-Based Side-Channel Attacks
Kong, J., Acıiçmez, O., Seifert, J.-P., & Zhou, H. (2012) · IEEE Transactions on Computers · doi:10.1109/tc.2012.78 · Cited by 37
Metadata
- Authors
- Qureshi, M. K.
- Venue
- 2018 51st Annual IEEE/ACM International Symposium on Microarchitecture (MICRO)
- Publisher
- IEEE
- Published
- 2018-10
- Pages
- 775-787
- ISSN
- 1072-4451 (ISSN-L)
- OpenAlex
- W2905380323
- Cited by
- 222
- References
- 29
- FWCI
- 9.99
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.