Has it been Pwned
Side channelPractical impact

First cross-VM side-channel key extraction in a virtualised cloud

Zhang, Juels, Reiter and Ristenpart (ACM CCS 2012) used an L1 instruction-cache Prime+Probe attack from one Xen virtual machine to extract an ElGamal decryption key from GnuPG/libgcrypt running in another VM on the same physical machine, using machine-learning classification and error correction to clean up noisy observations.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

It turned the 2009 'Hey, you, get off of my cloud' co-residency concern into an end-to-end key theft, validating the cloud multi-tenancy threat model. Follow-ups made it much more practical: Flush+Reload (2014) exploited memory deduplication, and Liu et al. ('Last-Level Cache Side-Channel Attacks are Practical', IEEE S&P 2015) attacked GnuPG ElGamal across cores and VMs without any shared memory.

Cloud providers responded by disabling cross-VM page deduplication, pinning or isolating cores, and later core scheduling. The math of ElGamal was irrelevant - libgcrypt's square-and-multiply leaked through instruction-cache usage.

Sources

  1. paperCross-VM side channels and their use to extract private keys (ACM CCS 2012)ACM, doi.org
  2. paperLast-Level Cache Side-Channel Attacks are Practical (IEEE S&P 2015)IEEE, doi.org