[Paper Review] Advanced profiling for probabilistic Prime+Probe attacks and covert channels in ScatterCache
This paper presents two advanced attacks on ScatterCache, a cryptographic cache architecture designed to thwart cache-based side-channel attacks. It introduces a highly optimized eviction set profiling technique that reduces required victim accesses from ~2^25 to under 2^10 in an 8-way set-associative cache with 11 index bits, and demonstrates a novel probabilistic covert channel using arbitrary address collisions, achieving higher bandwidth than full-cache eviction methods while remaining effective in randomized caches.
Timing channels in cache hierarchies are an important enabler in many microarchitectural attacks. ScatterCache (USENIX 2019) is a protected cache architecture that randomizes the address-to-index mapping with a keyed cryptographic function, aiming to thwart the usage of cache-based timing channels in microarchitectural attacks. In this note, we advance the understanding of the security of ScatterCache by outlining two attacks in the noise-free case, i.e. matching the assumptions in the original analysis. As a first contribution, we present more efficient eviction set profiling, reducing the required number of observable victim accesses (and hence profiling runtime) by several orders of magnitude. For instance, to construct a reliable eviction set in an 8-way set associative cache with 11 index bits, we relax victim access requirements from approximately $2^{25}$ to less than $2^{10}$ . As a second contribution, we demonstrate covert channel profiling and transmission in probabilistic caches like ScatterCache. By exploiting arbitrary collisions instead of targeted ones, our approach significantly outperforms known covert channels (e.g. full-cache eviction).
Motivation & Objective
- To challenge the security assumptions of ScatterCache, a protected cache architecture that uses keyed cryptographic functions to randomize address-to-index mapping.
- To reduce the computational cost of profiling eviction sets in Prime+Probe attacks by optimizing victim access requirements.
- To demonstrate the feasibility of constructing and exploiting covert channels in probabilistic caches like ScatterCache, despite their randomized design.
- To show that even with strong randomization, side-channel and covert-channel attacks remain viable under noise-free conditions.
- To provide a foundation for future formal analysis of attacker effort and covert channel capacity bounds in protected cache systems.
Proposed method
- Generalizes existing eviction set profiling by modeling collision probabilities across cache ways and using statistical inference to reduce required observable victim accesses.
- Employs a probabilistic covert channel that leverages arbitrary address collisions across cache ways, rather than relying on targeted or full-cache eviction.
- Uses a binning mechanism to transmit one bit at a time across s disjoint bins of transmitter addresses, increasing reliability through redundancy.
- Employs a threshold-based detection scheme where the receiver counts slow accesses after reloading receiver addresses to infer transmitted bits.
- Simulates both profiling and transmission phases under the same noise-free assumptions as the original ScatterCache analysis.
- Treats each cache way as an independent probabilistic channel with a 1/nways success probability per collision, enabling bandwidth tuning via parameters f (fraction of cache lines) and s (number of bins).
Experimental results
Research questions
- RQ1Can eviction set profiling in ScatterCache be significantly accelerated by reducing the number of required observable victim accesses?
- RQ2To what extent can probabilistic covert channels be constructed and exploited in a cache architecture that uses keyed cryptographic randomization of address-to-index mapping?
- RQ3How does the bandwidth and error rate of a covert channel in ScatterCache compare to traditional Prime+Probe and full-cache eviction-based covert channels?
- RQ4What is the trade-off between profiling complexity and covert channel quality in randomized cache architectures?
- RQ5Can the residual attack surface in ScatterCache be formally bounded in terms of attacker effort and channel capacity?
Key findings
- The proposed profiling method reduces the required number of observable victim accesses from approximately 2^25 to less than 2^10 in an 8-way set-associative cache with 11 index bits, representing a reduction of over 1000-fold.
- The attack achieves reliable eviction set construction with significantly lower runtime and resource consumption than previously assumed in the original ScatterCache analysis.
- A novel probabilistic covert channel is demonstrated that operates by exploiting arbitrary collisions across cache ways, rather than requiring full-cache eviction or targeted collisions.
- The covert channel achieves higher bandwidth than full-cache eviction-based covert channels while remaining effective in the presence of cryptographic randomization.
- The channel's bit error rate and bandwidth are tunable through parameters f (fraction of cache lines used) and s (number of bins), enabling trade-offs between reliability and throughput.
- Simulation results confirm the feasibility of both profiling and transmission phases under the noise-free assumptions of the original ScatterCache security model.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.