{
  "id": "2006/136",
  "url": "https://opencryptology.org/2006/136",
  "original_url": "https://eprint.iacr.org/2006/136",
  "title": "A Challenging but Feasible Blockwise-Adaptive Chosen-Plaintext Attack on SSL",
  "authors": [
    "Gregory V. Bard"
  ],
  "affiliations": null,
  "abstract": "This paper introduces a chosen-plaintext vulnerability in the Secure\nSockets Layer (SSL) and Trasport Layer Security (TLS) protocols which\nenables recovery of low entropy strings such as can be guessed from a\nlikely set of 2--1000 options.  SSL and TLS are widely used for\nsecuring communication over the Internet. When utilizing block ciphers\nfor encryption, the SSL and TLS standards mandate the use of the\ncipher block chaining (CBC) mode of encryption which requires an\ninitialization vector (IV) in order to encrypt. Although the first IV\nused by SSL is a (pseudo)random string which is generated and shared\nduring the initial handshake phase, subsequent IVs used by SSL are\nchosen in a deterministic, predictable pattern; in particular, the IV\nof a message is taken to be the final ciphertext block of the\nimmediately-preceding message, and is therefore known to the adversary.\n\nThe one-channel nature of web proxies, anonymizers or Virtual Private\nNetworks (VPNs), results in all Internet traffic from one machine\ntraveling over the same SSL channel. We show this provides a feasible\n``point of entry'' for this attack. Moreover, we show that the\nlocation of target data among block boundaries can have a profound\nimpact on the number of guesses required to recover that data,\nespecially in the low-entropy case.\n\nThe attack in this paper is an application of the blockwise-adaptive\nchosen-plaintext attack paradigm, and is the only feasible attack to\nuse this paradigm with a reasonable probability of success.  The\nattack will work for all versions of SSL, and TLS version 1.0. This\nvulnerability and others are closed in TLS 1.1 (which is still in\ndraft status) and OpenSSL after 0.9.6d.  It is hoped this paper will\nencourage the deprecation of SSL and speed the adoption of OpenSSL\nor TLS 1.1/1.2 when they are finially released.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Challenging but Feasible Blockwise-Adaptive Chosen-Plaintext Attack on SSL” by Gregory V. Bard, Cryptology ePrint Archive, Paper 2006/136, https://eprint.iacr.org/2006/136. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2006-04-09T19:08:57Z",
    "updated": "2006-04-18T02:49:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2006/136.pdf",
    "sha256": "32139f3c96be715d184202bcebfdba2a0ed2a8be6312758ff10c11db0a6691a7",
    "size": 133011,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2006/136/versions/20190225T160657Z.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/136.pdf",
      "size": 133011,
      "sha256": "32139f3c96be715d184202bcebfdba2a0ed2a8be6312758ff10c11db0a6691a7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260404160757id_/https://eprint.iacr.org/2006/136.pdf",
      "captured_at": "2026-04-04T16:07:57Z",
      "size": 120741
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/136.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 133011
    }
  ],
  "bibtex": "@misc{cryptoeprint:2006/136,\n      author = {Gregory V. Bard},\n      title = {A Challenging but Feasible Blockwise-Adaptive Chosen-Plaintext Attack on SSL},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2006/136},\n      year = {2006},\n      url = {https://eprint.iacr.org/2006/136}\n}"
}
