CACHE SNIPER : Accurate timing control of cache evictions
Samira Briongos, Ida Bruhns, Pedro Malag\'on, Thomas Eisenbarth and, Jos\'e M. Moya

TL;DR
This paper introduces CACHE SNIPER, a novel cache eviction attack that precisely evicts cache data without special privileges, bypassing existing countermeasures and extracting cryptographic keys from protected implementations.
Contribution
The paper presents a new timing-based cache eviction attack leveraging TSX and L3 replacement policies, capable of bypassing common cryptographic countermeasures.
Findings
Successfully extracted RSA keys from wolfSSL library
Extracted AES keys from OpenSSL's S-Box implementation
Demonstrated attack efficiency without shared memory or privileges
Abstract
Microarchitectural side channel attacks have been very prominent in security research over the last few years. Caches have been an outstanding covert channel, as they provide high resolution and generic cross-core leakage even with simple user-mode code execution privileges. To prevent these generic cross-core attacks, all major cryptographic libraries now provide countermeasures to hinder key extraction via cross-core cache attacks, for instance avoiding secret dependent access patterns and prefetching data. In this paper, we show that implementations protected by 'good-enough' countermeasures aimed at preventing simple cache attacks are still vulnerable. We present a novel attack that uses a special timing technique to determine when an encryption has started and then evict the data precisely at the desired instant. This new attack does not require special privileges nor explicit…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Cloud Data Security Solutions · Cryptographic Implementations and Security
