2 ms·
Imagine code you want to attack has an array lookup based on some secret data: x = array[secretdata]. The entry in the array will be loaded into the cpu c
by londons_explore 5y ago
Imagine code you want to attack has an array lookup based on some secret data:
x = array[secretdata].
The entry in the array will be loaded into the cpu core via the L3 cache. If the L3 cache is already full, then one entry will have to be evicted from the cache. The evicted entry will depend on the memory address that is being accessed.
Another CPU, running an attackers code, can repeatedly try to load stuff from L3, and detect what was evicted and when to learn the secretdata.