{
  "id": "2014/510",
  "url": "https://opencryptology.org/2014/510",
  "original_url": "https://eprint.iacr.org/2014/510",
  "title": "A Probabilistic Algebraic Attack on the Grain Family of Stream Cipher",
  "authors": [
    "Pratish Datta",
    "Dibyendu Roy",
    "Sourav Mukhopadhyay"
  ],
  "affiliations": null,
  "abstract": "In 2005, Hell, Johansson and Meier submitted a stream cipher proposal named Grain\nv1 to the estream call for stream cipher proposals and it also became one estream nalists in the\nhardware category. The output function of Grain v1 connects its 160 bits internal state divided\nequally between an LFSR and an NFSR, using a non-linear lter function in a complex way. Over\nthe last years many cryptanalyst identied several weaknesses in Grain v1. As a result in 2011 the\ninventors modied Grain v1 and published a new version of Grain named Grain-128a which has\na similar structure as Grain v1 but with a 256 bits internal state with an optional authentication\nis the latest version of Grain family resisting all known attacks on Grain v1. However both these\nciphers are quite resistant against the classical algebraic attack due to the rapid growth of the degree\nof the key-stream equations in subsequent clockings caused by the NFSR. This paper presents a\nprobabilistic algebraic attack on both these Grain versions. The basic idea of our attack is to\ndevelop separate probabilistic equations for the LFSR and the NFSR bits from each key-stream\nequations. Surprisingly it turns out that in case of Grain-128a our proposed equations hold with all\nmost sure probability, which makes the sure retrieval of the LFSR bits. We also outline a technique\nto reduce the growth of degree of the equations involving the NFSR bits for Grain v1. Further\nwe high light that the concept of probabilistic algebraic attack as proposed in this paper can be\nconsidered as a generic attack strategy against any stream cipher having similar structure of the\noutput function as in case of the Grain family.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Probabilistic Algebraic Attack on the Grain Family of Stream Cipher” by Pratish Datta, Dibyendu Roy, Sourav Mukhopadhyay, Cryptology ePrint Archive, Paper 2014/510, https://eprint.iacr.org/2014/510. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-06-30T16:52:28Z",
    "updated": "2014-06-30T16:52:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/510.pdf",
    "sha256": "14bb3b258dd8da5e4aa0e99d0ae9b3374ec52a8599fe2bbec06ef3bfaefbb0fb",
    "size": 349614,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/510/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/510.pdf",
      "size": 349614,
      "sha256": "14bb3b258dd8da5e4aa0e99d0ae9b3374ec52a8599fe2bbec06ef3bfaefbb0fb",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250824193727id_/https://eprint.iacr.org/2014/510.pdf",
      "captured_at": "2025-08-24T19:37:27Z",
      "size": 291813
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/510.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 349614
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/510,\n      author = {Pratish Datta and Dibyendu Roy and Sourav Mukhopadhyay},\n      title = {A Probabilistic Algebraic Attack on the Grain Family of Stream Cipher},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/510},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/510}\n}"
}
