SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Chosen-ciphertext security

Chosen-ciphertext security is the family of encryption security notions in which the adversary, besides holding the public key, can have ciphertexts of its choice decrypted. The standard map of these notions comes from Bellare, Desai, Pointcheval and Rogaway's “Relations Among Notions of Security for Public-Key Encryption Schemes”, presented at CRYPTO '98 with a full version in June 2001, which pairs a goal with an attack 12.

The two goals are indistinguishability (IND), from Goldwasser and Micali, the adversary's inability to learn any information about the plaintext of a challenge ciphertext, and non-malleability (NM), from Dolev, Dwork and Naor, its inability, given a challenge ciphertext, to output a different ciphertext whose plaintext is meaningfully related to the original, for example one greater 1. The three attacks, in increasing strength, are chosen-plaintext attack (CPA); non-adaptive chosen-ciphertext attack (CCA1), formalised by Naor and Yung, in which a decryption oracle may be used only before the challenge is seen; and adaptive chosen-ciphertext attack (CCA2), due to Rackoff and Simon, in which the oracle may also be queried afterwards on anything except the challenge itself 1.

The combinations give six notions, from IND-CPA to NM-CCA2. For every pair the paper proves either an implication or a separation. The non-trivial implication is that IND-CCA2 implies NM-CCA2; the separations show that IND-CCA1 does not imply NM-CPA, that NM-CPA does not imply IND-CCA1, and that NM-CCA1 does not imply NM-CCA2 1. Because IND-CCA2 implies all the other notions, the authors suggested that “CCA” should in future be understood to mean the adaptive version 1.

The notion matters because deployed systems often act as decryption oracles. Daniel Bleichenbacher's attack, also at CRYPTO '98, performs an RSA private-key operation against protocols using PKCS #1 encryption, given only an oracle that says whether a chosen ciphertext decrypts to a correctly formatted block; he estimated that typically about 2^20 chosen ciphertexts suffice, analysed how the SSL 3.0 handshake could supply the oracle, and observed that such weaknesses were often considered only theoretical 3. Bellare and his coauthors cited the result as showing that RSA PKCS #1 does not achieve IND-CCA1, and as reinforcing the danger of assuming anything beyond IND-CPA that has not been demonstrated 1.

Recent standards name IND-CCA2 as their goal. NIST's FIPS 203 (August 2024) states that ML-KEM is believed to satisfy IND-CCA2 security, obtained by applying the Fujisaki-Okamoto transform to an underlying public-key scheme, K-PKE, that is not IND-CCA2-secure and must not be used on its own 4. RFC 9180, Hybrid Public Key Encryption (February 2022), cites analyses showing that a scheme of essentially its form is IND-CCA2-secure when its KEM and AEAD components are, and that IND-CCA2 security of those components is necessary 5.

Source · Relations Among Notions of Security for Public-Key Encryption Schemes (opens in a new tab) · Mihir Bellare, Anand Desai, David Pointcheval and Phillip Rogaway (CRYPTO '98, full version 2001)

References

  1. Relations Among Notions of Security for Public-Key Encryption Schemes (opens in a new tab) · Mihir Bellare, Anand Desai, David Pointcheval and Phillip Rogaway, full version of a CRYPTO '98 paper, UC San Diego · June 1, 2001 ↩ ↩ ↩ ↩ ↩ ↩
  2. Relations among Notions of Security for Public-Key Encryption Schemes (Cryptology ePrint Archive 1998/021) (opens in a new tab) · International Association for Cryptologic Research · June 17, 1998 ↩
  3. Chosen Ciphertext Attacks Against Protocols Based on the RSA Encryption Standard PKCS #1 (opens in a new tab) · Advances in Cryptology, CRYPTO '98, LNCS 1462 (Springer), course copy at ETH Zurich ↩
  4. FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard (opens in a new tab) · National Institute of Standards and Technology · August 13, 2024 · Section 3.2 on the Fujisaki-Okamoto transform and IND-CCA2 security. ↩
  5. RFC 9180, Hybrid Public Key Encryption (opens in a new tab) · Internet Research Task Force (RFC Editor) · February 1, 2022 · Section 9.1.2, Computational Analysis. ↩

Research articles

See what connects to it on the map of ideas →

See also