NetCAT: Practical Cache Attacks from the Network
Michael Kurth, Ben Gras, Dennis Andriesse, Cristiano Giuffrida, Herbert Bos, Kaveh Razavi
NetCAT : Practical Cache Attacks from the Network Michael Kurth , - - PowerPoint PPT Presentation
NetCAT : Practical Cache Attacks from the Network Michael Kurth , Ben Gras, Dennis Andriesse, Cristiano Giuffrida, Herbert Bos, Kaveh Razavi Cache Attack from the Network Client Server Remote Cache Attack SSH 2 Network Cache Attack 3
Michael Kurth, Ben Gras, Dennis Andriesse, Cristiano Giuffrida, Herbert Bos, Kaveh Razavi
2
SSH Server Client Remote Cache Attack
3
4
5
VM 1 VM 2 Shared Hardware (CPU / Cache) Other Process Browser Shared Hardware (CPU / Cache)
6
Fast Slow
Core 0 Core 1
Regs
L1 d-cache L1 i-cache
L2 cache LLC cache (shared by all cores) Main Memory
Regs
L1 d-cache L1 i-cache
L2 cache
Small Large
7
Prime Cache Lines Probe Victim Access
8
9
10
11
CP ...
Mai Mem Iegaed Mem Clle PCIe R Cmle La Leel Cache Wa 20 Wa 4 Wa 3 Wa 2 Wa 1 Wa 19 Wa 17 PCIe Deice (NIC, GPU, Sage)
CP ...
Mai Mem Iegaed Mem Clle PCIe R Cmle La Leel Cache Wa 20 Wa 4 Wa 3 Wa 2 Wa 1 Wa 19 Wa 17 PCIe Deice (NIC, GPU, Sage)
12
From: Intel Data Direct I/O Technology Overview
13
14
Target NIC
HW Kernel User Space TCP IP Interfaces Application
Buffer
Target NIC
HW Kernel User Space TCP IP Interfaces Application
Buffer Buffer Buffer Buffer
15
16
18
19
t1 = timed_rdma_read(offsetX); rdma_write (offsetX); t2 = timed_rdma_read(offsetX);
20
CP ...
Mai Mem Iegaed Mem Clle PCIe R Cmle La Leel Cache Wa 20 Wa 4 Wa 3 Wa 2 Wa 1 Wa 19 Wa 17 PCIe Deice (NIC, GPU, Sage)
22
23
SSH Server Client Remote Cache Attack
24
NIC CP 1 2 3 4
Pace 4 Pace 3 Pace 2 Pace 1
Ring Bffe
5 6 7 8
Pace
Cache Acii
Cache Le
1 2 3 4
Cache Acii
Cache Le
1 2 3 4
Cache Acii
Cache Le
1 2 3 4
Cache Acii
Cache Le
1 2 3 4
Cache Acii
Cache Le
1 2 3 4
25
26
27
28
29
30
32
33
34