Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
Mengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher, Roy Campbell, Josep Torrellas
University of Illinois at Urbana-Champaign
Attack Directories, Not Caches: Side Channel Attacks in a - - PowerPoint PPT Presentation
Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World Mengjia Yan , Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher, Roy Campbell, Josep Torrellas University of Illinois at Urbana-Champaign S&P19 May
University of Illinois at Urbana-Champaign
2
Core L1
Shared LLC
Core L1 Core L1 Core L1
Victim VM Attacker VM
Attack Platforms Target Applications
3
4
5
6
private L2 shared LLC (inclusive) private L2 shared LLC (non-inclusive)
7
Target address Attacker’s addresses victim cache 0 attacker cache 1 insert to LLC. cache conflict. evict an inclusion victim
(a) inclusive cache
insert to LLC. No conflict No inclusion victim
(b) non-inclusive cache
private L2 shared LLC Victim’s line does not exist in LLC victim cache 0 attacker cache 1
8
…… …… …… ……
traditional directory (TD) extended directory (ED) cache lines
Shared LLC slice
…… …… …… …… …… …… …… ……
1000 0000
…… ……
…… …… …… ……
traditional directory (TD)
… …
victim
core 0
attacker
core 1 Private L2
extended directory (ED) cache lines
Shared LLC slice
Target address
…… …… …… …… …… …… …… ……
cache line directory entry
inclusion victim
Attacker's addresses
9
…… ……
…… …… …… ……
traditional directory (TD)
… …
victim
core 0
attacker
core 1 Private L2
extended directory (ED) cache lines
Shared LLC slice
…… …… …… …… …… …… …… …… …… ……
Target address cache line directory entry Attacker's addresses
10
11
12
Access latencies measured in the probe operation in Prime+Probe. A sequence of “01010111011001” can be deduced as part of the exponent.
Epoch ID
13
University of Illinois at Urbana-Champaign
14
15
16