Has it been Pwned
Side channelPractical impact

Flip Feng Shui: Rowhammer corrupts a co-hosted VM's RSA public keys

Razavi et al. (USENIX Security 2016) combined memory deduplication with Rowhammer to flip chosen bits in another VM's memory pages. Flipping a bit in a victim's RSA public key (in OpenSSH authorized_keys or in the GPG keys apt uses to verify package updates) yields a modulus that can often be factored, letting the attacker log in or serve malicious updates.

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

Flip Feng Shui is a fault attack on the public-key side: the corrupted public modulus is almost never a product of two large primes, so it is easy to factor and compute a matching private key. RSA's hardness is not challenged - the attacker substitutes a weak key.

The work led cloud and Linux vendors to disable cross-VM memory deduplication by default and showed why code should verify the integrity of keys held in memory. Phoenix (2025) re-evaluated this same 'RSA key attack' as a target for DDR5 Rowhammer.

Sources

  1. paperFlip Feng Shui: Hammering a Needle in the Software Stack (USENIX Security 2016)USENIX, usenix.org
  2. blogFlip Feng Shui project pageVUSec, vusec.net