Lecture-6 (Cache Attacks) CS665-Fall 2018: Secure Memory Systems
Lecture-6 (Cache Attacks) CS665-Fall 2018: Secure Memory Systems
Lecture-6 (Cache Attacks) CS665-Fall 2018: Secure Memory Systems
CS665-Fall 2018
Secure Memory Systems
Biswa@CSE-IITK
Before That: Bit of Crypto (Information)
0 0 1 0 1
CS665: Fall 2018 Biswabandan Panda, CSE@IITK 3
Flush (Evict) + Reload
Step 0:Spy maps the shared
library, shared in the cache
LLC
LLC
0 0 1 0 1
CS665: Fall 2018 Biswabandan Panda, CSE@IITK 8
Flush + Flush
Step 0:Spy maps the shared
library, shared in the cache
LLC
LLC
On a hit at the LLC, clflush has to flush L1+L2 of the victim too
LLC
LLC
• Prime + Probe: Does not demand page sharing, coarse grained, high-
noise, need to find out the eviction set
• No flush instruction
• Gap between Evict and Reload, Flush and Reload, Prime and Probe