{
  "id": "aes-128-ecb",
  "name": "AES-128-ECB",
  "family_id": "aes-ecb",
  "description": "AES-128 in Electronic Codebook mode per NIST SP 800-38A. Each block is encrypted independently, so the mode is deterministic and not IND-CPA secure: equal plaintext blocks give equal ciphertext blocks. Listed as deprecated for new designs; the attack record is the block-equality distinguisher.",
  "status": "deprecated",
  "parameters": {
    "key_bits": 128,
    "block_bits": 128,
    "rounds": 10,
    "deterministic": true,
    "authenticated": false,
    "standard": "NIST SP 800-38A"
  },
  "references": [
    {
      "title": "NIST SP 800-38A: Recommendation for Block Cipher Modes of Operation: Methods and Techniques (2001)",
      "url": "https://doi.org/10.6028/NIST.SP.800-38A",
      "authors": [
        "Morris Dworkin"
      ],
      "doi": "10.6028/NIST.SP.800-38A"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "aes-128-ecb-block-equality-distinguisher",
      "target_id": "aes-128-ecb",
      "title": "Chosen-plaintext block-equality distinguisher against full-round AES-128-ECB",
      "goal": "distinguisher",
      "attack_family": "generic-structural",
      "setting": "Two chosen plaintext blocks with equal content, encrypted under one key, return equal ciphertext blocks; the distinguisher uses two blocks and succeeds with probability 1 against the deterministic mode on the full 10-round cipher",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2001-12-01",
      "authors": [
        "Morris Dworkin"
      ],
      "references": [
        {
          "title": "NIST SP 800-38A: Recommendation for Block Cipher Modes of Operation: Methods and Techniques (2001)",
          "url": "https://doi.org/10.6028/NIST.SP.800-38A",
          "authors": [
            "Morris Dworkin"
          ],
          "doi": "10.6028/NIST.SP.800-38A",
          "quote_location": "Section 6.1 (ECB mode)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "standard_report",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 10,
        "total_rounds": 10,
        "log2_data": 1,
        "log2_time": 0,
        "time_unit": "chosen-plaintext queries (2 blocks)",
        "success_prob": 1
      },
      "notes": "A structural property of the mode, not a key-recovery attack; it applies to the full cipher. Year-level date approximation for the NIST standard."
    }
  ],
  "frontiers": [],
  "dead_ends": []
}
