MeltdownPrime and SpectrePrime: Automated Attacks Exploiting Coherence Protocols
The authors built a tool that synthesises microarchitecture-specific programs from a formal description of a microarchitecture and a desired execution pattern. Using a Prime+Probe threat pattern, it produced new Meltdown and Spectre variants that exploit cache line invalidation in coherence protocols, and a C implementation of SpectrePrime achieved accuracy comparable to Spectre on an Intel x86 processor.
arxiv.org
Published on arxiv.org
The original lives on arxiv.org
We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the underlying mistake is that speculative execution leaves observable cache state, and invalidation-based cache coherence protocols let a second core detect that state precisely enough to mount a Prime+Probe timing attack.
Impact
The new Prime variants could leak secrets with timing precision comparable to Flush+Reload, and a proof-of-concept SpectrePrime ran on an Intel x86 processor with accuracy similar to Spectre over 100 runs; the text notes software mitigations will likely be the same but hardware protection will probably differ.
What the attacker needed
Two processor cores; shared cache coherence protocol; ability to run code on the target
The fix
The text does not propose a concrete fix, only noting that software barriers preventing speculation will likely apply equally to the Prime variants.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Modern processors guess ahead about which instructions to run, and that guessing (speculation) can leave traces in the cache, a small fast memory. Meltdown and Spectre are attacks that read secrets by measuring those traces. This paper describes a tool that automatically builds such attack programs and uses it to find two new variants that work across two processor cores by watching cache lines being invalidated.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.