{
  "id": "2005/416",
  "url": "https://opencryptology.org/2005/416",
  "original_url": "https://eprint.iacr.org/2005/416",
  "title": "Cryptography in Theory and Practice: The Case of Encryption in IPsec",
  "authors": [
    "Kenneth G. Paterson",
    "Arnold K. L. Yau"
  ],
  "affiliations": null,
  "abstract": "This paper studies the gaps that exist between cryptography as studied in theory, as defined in standards, as implemented by software engineers, and as actually consumed by users. Our focus is on IPsec, an important and widely-used suite of protocols providing security at the IP layer of network communications. Despite well-known results in theoretical cryptography highlighting the vulnerabilities of unauthenticated encryption, the IPsec standards currently mandate its support. We present evidence that such ``encryption-only'' configurations are in fact still often selected by users in practice, even with strong warnings advising against this in the IPsec standards. We then describe a variety of attacks against such configurations and report on their successful implementation in the case of the Linux kernel implementation of IPsec. Our attacks are\nrealistic in their requirements, highly efficient, and recover the complete contents of IPsec-protected datagrams. Our attacks still apply when integrity protection is provided by a higher layer protocol, and in some cases even when it is supplied by IPsec itself.\nFinally in this paper, we reflect on the reasons why this unsatisfactory situation persists, and make some recommendations for the future development of IPsec and cryptographic software in general.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cryptography in Theory and Practice: The Case of Encryption in IPsec” by Kenneth G. Paterson, Arnold K. L. Yau, Cryptology ePrint Archive, Paper 2005/416, https://eprint.iacr.org/2005/416. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2005-11-21T08:03:26Z",
    "updated": "2006-04-24T15:25:03Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2005/416.pdf",
    "sha256": "09855dbfd6fe8464366f0d2a71f96495e025654b21e35bb8f9363f98717f2b2d",
    "size": 483483,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2005/416/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/2005/416.pdf",
      "size": 483483,
      "sha256": "09855dbfd6fe8464366f0d2a71f96495e025654b21e35bb8f9363f98717f2b2d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2005/416/versions/20051202T012332Z.pdf",
      "captured_at": "2005-12-02T01:23:32Z",
      "label": "copy captured 2005-12-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20051202012332id_/http://eprint.iacr.org:80/2005/416.pdf",
      "size": 488561,
      "sha256": "5e7065939f46395dace6f5f35708ce29705574dd2e4d56c965d215e0333da946",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260603153320id_/https://eprint.iacr.org/2005/416.pdf",
      "captured_at": "2026-06-03T15:33:20Z",
      "size": 377055
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/416.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 483483
    }
  ],
  "bibtex": "@misc{cryptoeprint:2005/416,\n      author = {Kenneth G. Paterson and Arnold K. L. Yau},\n      title = {Cryptography in Theory and Practice: The Case of Encryption in IPsec},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2005/416},\n      year = {2005},\n      url = {https://eprint.iacr.org/2005/416}\n}"
}
