0

Cache side-channel attacks rely on the capability to observe cache hits/misses for a given set. Usually this is done via timing information, e.g. in flush+reload or prime+probe. Why is the performance monitoring function of CPUs, e.g. the Intel Processor Performance Monitoring not used for cache attacks?

As far as I understand, the performance counters give information about the number of cache misses/hits. Using this assumption could you observe if a certain cache set was replaced by the victim? The attacker accesses a certain memory address, and observes if the number of cache misses increased by 1 instead of measuring the access time in the probe phase of prime+probe.

Is the only reason that the the performance monitoring units do not provide high enough resolution?

RoraΖ
12.5k4 gold badges54 silver badges84 bronze badges
asked Apr 27, 2022 at 11:45

1 Answer 1

1

Assuming Windows you cannot read the performance counters from user mode, you need a kernel module for that.
When you have the option to install a kernel module there are much easier ways than a cache attack to get information from other processes.

answered Apr 27, 2022 at 12:11

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.