case: des-weak-key
subject: {secret_role: long-term, algorithm: DES, context: legacy system}
validity: {status: valid}
findings:
  - class: A1
    objective: dist
    route: degeneracy
    attack:
      relation: "E_k composed with E_k is the identity"
      setting: secret-key
      algorithm: "query c = E(m), test E(c) = m; works against any involution"
      cost: "2 queries"
      rho: "not applicable: the objective is dist and rho is a recovery measure. For recovery, listing the 4 keys is the best known attack (rho = 1)"
      prevalence_ratio: "astronomically large: a random permutation is almost never an involution"
      excess_prevalence: "about 2^-54: the ideal prevalence is negligible beside it"
      mass: "4 of 2^56 = 2^-54 under uniform selection"
      class_size: "4"
      listing_feasible: true
    evidence: demonstrated
    note: "Advantage about 1 with 2 queries. The mode of use is not stated, so the objective stays dist; in output feedback mode every second keystream block would equal the IV, which is conf. Practical significance needs non-uniform selection or adversarial key choice; under uniform selection the mass is negligible."
    sources: [R4]
  - class: B2
    generation:
      mechanism: "one of 4 predeclared keys out of 2^56: chance 2^-54 under uniform generation, and no audit of the generator is stated"
      lambda_required: 56
      shortfall: true
      root_cause: unknown
      cause_evidence: unknown
    evidence: indicated
    note: "One key in a predeclared subset: indicated (classification I.4, D33). The value 01 01 .. 01 looks chosen, which is a hypothesis about the cause, not a finding."
  - class: C3
    policy: {name: NIST FIPS 46-3, version: "withdrawn 19 May 2005", rule: "DES no longer approved for protecting Federal information", mandates_rejection: true}
    evidence: demonstrated
    sources: [R34]
disposition: {action: treat-as-compromised, rule: 2, note: "A key known to be one of four is recovered by trying the four (recovery by listing, classification I.3). The C3 finding would give reject-by-policy on its own; rule 2 comes first."}
