{
  "id": "a5-2",
  "name": "A5/2",
  "family_id": "a5-2",
  "description": "A5/2 with a 64-bit session key and four LFSRs. Broken: real-time known-plaintext key recovery in under 1 ms from 2 frames (~2^16 operations) and instant ciphertext-only key recovery in under one second from 4 encrypted GSM frames (~2^16 operations).",
  "status": "broken",
  "parameters": {
    "key_bits": 64,
    "lfsr_count": 4,
    "clocking": "irregular (controlled by a fourth LFSR)",
    "standard": "ETSI GSM 03.20 / 3GPP TS 43.020"
  },
  "references": [
    {
      "title": "ETSI GSM 03.20 / 3GPP TS 43.020: Security-related network functions (A5/2 cipher)",
      "url": "https://www.3gpp.org/DynaReport/43020.htm",
      "authors": [
        "ETSI / 3GPP"
      ],
      "quote_location": "GSM A5/2 export cipher (64-bit session key, four LFSRs)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "a5-2-barkan-2003-instant-ciphertext-only",
      "target_id": "a5-2",
      "title": "Instant ciphertext-only key recovery of A5/2 from 4 encrypted GSM frames",
      "goal": "key-recovery",
      "attack_family": "algebraic",
      "setting": "Ciphertext-only attack exploiting the redundancy GSM's error-correcting code adds before encryption: A5/2's internal state is linearised and solved from 4 encrypted frames in under one second (~2^16 operations)",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2003-08-17",
      "authors": [
        "Elad Barkan",
        "Eli Biham",
        "Nathan Keller"
      ],
      "references": [
        {
          "title": "Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication",
          "url": "https://doi.org/10.1007/978-3-540-45146-4_35",
          "authors": [
            "Elad Barkan",
            "Eli Biham",
            "Nathan Keller"
          ],
          "doi": "10.1007/978-3-540-45146-4_35",
          "quote_location": "CRYPTO 2003"
        },
        {
          "title": "Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication (journal version)",
          "url": "https://doi.org/10.1007/s00145-007-9001-y",
          "authors": [
            "Elad Barkan",
            "Eli Biham",
            "Nathan Keller"
          ],
          "doi": "10.1007/s00145-007-9001-y",
          "quote_location": "Journal of Cryptology 2008"
        },
        {
          "title": "ETSI GSM 03.20 / 3GPP TS 43.020: Security-related network functions (A5/2 cipher)",
          "url": "https://www.3gpp.org/DynaReport/43020.htm",
          "authors": [
            "ETSI / 3GPP"
          ],
          "quote_location": "GSM A5/2 export cipher (64-bit session key, four LFSRs)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 1,
        "total_rounds": 1,
        "log2_time": 16,
        "time_unit": "A5/2 operations (~2^16; under 1 s from 4 encrypted frames)"
      },
      "notes": "A5/2 is a non-round stream cipher (rounds 1/1 denote the full cipher). Date approximates CRYPTO 2003."
    },
    {
      "id": "a5-2-goldberg-1999-real-time",
      "target_id": "a5-2",
      "title": "Real-time known-plaintext key recovery of A5/2 from 2 frames",
      "goal": "key-recovery",
      "attack_family": "algebraic",
      "setting": "Known-plaintext attack recovering the A5/2 key in under 1 ms (~2^16 operations) from 2 frames by guessing the clock-control register and solving linear equations",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "1999-08-15",
      "authors": [
        "Ian Goldberg",
        "David Wagner",
        "Lucky Green"
      ],
      "references": [
        {
          "title": "The (Real-Time) Cryptanalysis of A5/2",
          "url": "http://www.isaac.cs.berkeley.edu/isaac/gsm-faq.html",
          "authors": [
            "Ian Goldberg",
            "David Wagner",
            "Lucky Green"
          ],
          "quote_location": "CRYPTO 1999 Rump Session"
        },
        {
          "title": "Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication (journal version)",
          "url": "https://doi.org/10.1007/s00145-007-9001-y",
          "authors": [
            "Elad Barkan",
            "Eli Biham",
            "Nathan Keller"
          ],
          "doi": "10.1007/s00145-007-9001-y",
          "quote_location": "Journal of Cryptology 2008"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "self_reported",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 1,
        "total_rounds": 1,
        "log2_time": 16,
        "time_unit": "A5/2 operations (~2^16; under 1 ms from 2 known-plaintext frames)"
      },
      "notes": "Rump-session announcement (source_status: self_reported). Rounds 1/1 denote the full cipher. Date approximates CRYPTO 1999."
    }
  ],
  "frontiers": [
    {
      "id": "a5-2-downgrade-residual",
      "target_id": "a5-2",
      "title": "Residual A5/2 downgrade exposure in GSM deployments",
      "description": "A5/2 falls instantly to ciphertext-only attacks, and because GSM reuses the session key across ciphers, forcing a handset to A5/2 compromises A5/1 sessions too. Measuring residual A5/2 support and downgrade exposure in deployed handsets and networks remains open.",
      "references": [
        {
          "title": "Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication (journal version)",
          "url": "https://doi.org/10.1007/s00145-007-9001-y",
          "authors": [
            "Elad Barkan",
            "Eli Biham",
            "Nathan Keller"
          ],
          "doi": "10.1007/s00145-007-9001-y",
          "quote_location": "Journal of Cryptology 2008"
        },
        {
          "title": "ETSI GSM 03.20 / 3GPP TS 43.020: Security-related network functions (A5/2 cipher)",
          "url": "https://www.3gpp.org/DynaReport/43020.htm",
          "authors": [
            "ETSI / 3GPP"
          ],
          "quote_location": "GSM A5/2 export cipher (64-bit session key, four LFSRs)"
        }
      ]
    }
  ],
  "dead_ends": []
}
