Key Weakness Classification: membership criteria

The membership criteria for classes A1 to C3 of the Key Weakness Classification (KWC). The name is proposed. It is independent of MITRE's Common Weakness Enumeration and of the NIST Bugs Framework [R43]: those classify faults in software, this classifies findings about a key. "Weakness" is used loosely in the name: C2 and C3 are not weaknesses of the key, and the precise umbrella term is "key finding" (I.7).

This file is the single source for criteria: the decision guide, the report schema, the paper and the website restate it. It extends 01 §4 and 04. Nothing here is a standard.

In the three-layer reading of KWC this file is layer 3 (Part I) and the authority for layer 2 (Part II). Layer 1, the classes in words, is core.md; it must stay readable without this file.

Contents

Summary

Classes are nonexclusive: one key can be in several. Every finding states its parameters; a class name alone is never a finding.

Class Term A key is a member when Report with
A1 Primitive-weak key An attack declared in advance, using oracle access to the keyed map, beats its baseline (I.3) \(g\), \(\Delta\) or \(\Phi\), \(\rho\), \(\kappa\), mass
A2 Problem-instance-weak key An attack declared in advance, using the public instance derived from the key, beats its baseline (I.3) \(g\), \(\Delta\) or \(\Phi\), \(\rho\), mass
B1 Low-guesswork key It falls within budget \(b\) of a search strategy \(A\) fixed in advance (I.4) \(A\), \(b\)
B2 Predictably generated key Its generating process has a \(\lambda\) shortfall for the key's use (I.4) \(\lambda\), mechanism, cause evidence
C1 Relationally vulnerable key Data from outside the instance clearly raises an attack's success (I.5) \(g\), subtype, observations
C2 Compromised key A party outside the authorized set knows, accessed, substituted or misused it (I.5) mode, party, history
C3 Policy-inadequate key It fails a named policy rule (I.5) policy, version, rule

Outside the classes: invalid keys, which fail the specification's admissibility rules, and descriptors, recorded values that never make a key vulnerable on their own (I.6).


Part I. Formal core

I.1 Setting

From 02 §1: construction \(C\), admissible keyspace \(\mathcal K\), \(N=|\mathcal K|\), key \(K\sim D\), realized value \(k\), auxiliary information \(I\), cost budget \(t\). Added here:

Model assumptions. Every finding inherits these.

I.2 Declared attacks and baselines

Every key lies in some small set, and an attacker who hard-codes that set finds it at once (02 §8). A weakness claim is therefore only meaningful against an attack fixed before the target is seen, with all of its costs counted.

Declared attack. \(\Delta=(S,A,g,t)\). The subset \(S\subseteq\mathcal K\) is given by a public predicate and \(A\) is an algorithm; both are fixed independently of the target key. Its coverage is \(\varepsilon_\Delta=\min_{k\in S}R^g_{C,A}(k,t,I)\), the success guaranteed for every member of \(S\). An average may be used if stated; it is taken over \(k\) uniform on \(S\), never over \(D\), so that generation bias stays in group B.

Cost. \(t\) is the full cost of the attack, with each part stated: precomputation \(T_{\rm pre}\), online time \(T_{\rm on}\), memory, advice length and oracle queries. Against \(u\) targets precomputation is amortized: \(t=T_{\rm pre}/u+T_{\rm on}\). Both baselines below get the same precomputation, memory and number of targets, so a table of all members of \(S\) built in advance gains nothing: the enumeration baseline may use the same table. Counting the table's cost without matching the baseline is not enough, because a table reused over many targets beats listing afresh for any \(S\) ([R36], experiments/e4.md).

\(\rho\) is therefore a function of the attack, the resource model \(\mathcal R\) (precomputation, memory, advice) and the number of targets, written \(\rho(\Delta;\mathcal R,u)\), and group A membership is relative to the same three. A key can be A2 for one target and not for many: with a shared table, listing an arbitrary set of \(M\) keys catches up with interval search as \(u\) approaches \(M\) (experiments/e8.md). Where \(\mathcal R\) and \(u\) are not stated, \(u=1\) with no precomputation.

Two baselines.

Structural advantage. \[\rho(\Delta)=\frac{\min\bigl(E^g(S,\varepsilon_\Delta),\,G^g(\varepsilon_\Delta)\bigr)}{t},\qquad \sigma=\log_2\rho\ \text{(advantage in bits)}.\] It measures what \(A\) gains over the better of listing \(S\) and ignoring \(S\). Both terms are needed. Against \(G^g\) alone, every small subset would qualify, since listing a few candidates is cheap. Against \(E^g\) alone, every arbitrary subset larger than \(G^g\) would gain from the generic attack, which does not use the subset. A singleton always has \(\rho\le O(1)\): knowing that \(k\) is one specific value is a guess, not structure.

Decomposition. The total advantage over the generic attack splits into a subset part and a structural part: \[\frac{G^g}{t}=\beta\cdot\rho,\qquad\beta=\frac{G^g}{\min(E^g,G^g)}.\] \(\beta\) is what the attacker gains by aiming at a small set at all; \(\rho\) is what structure adds inside that set. For P-384 and the interval \([1,2^8)\): \(G=2^{192}\), \(E=2^8\), \(t=2^4\), so \(\beta\) is 184 bits and \(\rho\) is 4 bits. Almost all of the loss comes from the key being in a tiny declared set, which is a B1 and B2 matter; structure adds little here.

Weak family. A family \(\{\Delta_M\}\) indexed by subset size \(M\) is structurally weak if \(\rho(\Delta_M)\) grows with \(M\), at a stated rate, while \(E^g(S_M)\le G^g\). Example: intervals of width \(M\) in a prime-order group, searched by baby-step giant-step, have \(\rho\approx\sqrt M\) for \(M\le\sqrt n\) (02 §5). Above that size the baseline is capped: \(\rho\) falls as \(\sqrt{n/M}\) and reaches 1 only at \(M=n\), so a gain remains but shrinks (measured in experiments/e3.md; constants depend on the cost model). For an arbitrary subset no attack better than \(\rho\approx1\) is known.

Concrete attack. A fixed parameter set may have no family to grow in. A single \(\Delta\) then qualifies only if \(\sigma\ge\sigma_{\min}\), because a gain of a few bits is within the uncertainty of cost models and listing itself has \(\sigma=0\). The policy declares \(\sigma_{\min}\) in advance; the default is 16 bits, a convention (proposed). Use the family reading only when the finding cites a growth rate.

Objectives. The baselines above are defined for recovery. For another objective Route 1 applies only when the finding states a matched baseline for that objective's own success measure (distinguishing advantage, forgery probability); listing candidates is not automatically that baseline. Otherwise use Route 2 or report the attack without a \(\rho\).

Population competitiveness (optional). Three attacker goals are kept apart:

Model Goal Cost measure
Single target Recover one given key \(t\)
Sequential targets First success over independent keys \(T(\Delta)=\mathbb E[C]/p\)
Multi-target, shared One or more successes with shared resources Stated with \(u\), \(T_{\rm pre}\) and memory [R18]

\(C\le t\) is the cost spent per key and \(p\) the probability that the attack succeeds on a target; for an attack that succeeds only inside \(S\), \(p=q\,\bar\varepsilon\) with \(q=\Pr_D[K\in S]\) and \(\bar\varepsilon\) the average success inside \(S\). Compare \(T\) with \(G^g\) ([R8], 02 §3). Under uniform \(D\) a structurally weak interval family is not competitive (\(N/\sqrt M\ge\sqrt N\)). Under a defective \(D\) (B2) it can be. Shared precomputation across targets can change the asymptotic cost, not only constants. This is how A2 and B2 combine into population risk.

I.3 Group A: weak keys

Group A locates the weakness in the keyed transformation itself. The split between A1 and A2 is by what the attack takes as input:

Class Attack input Examples
A1 Oracle access to the keyed map (queries, input/output) DES weak keys [R4]; IDEA classes [R26]; GHASH \(H=0\) [R25]
A2 A public instance derived from \(k\) (modulus, public point) Fermat close primes; Wiener [R21]; ROCA [R20]; interval DLP [R7]

A key enters group A by one of two routes. Write the result as A1[\(g\)] or A2[\(g\)] with the \(\Delta\) or \(\Phi\) that covers it.

Route 1, structural advantage. \(k\) is in A[\(g\)] with respect to \(\Delta\) if \(k\in S\), \(\varepsilon_\Delta\) is non-negligible, and \(\Delta\) belongs to a structurally weak family, or is a concrete attack with \(\sigma\ge\sigma_{\min}\) (I.2).

Route 2, structural degeneracy. \(k\) is in A[\(g\)] with respect to a relation \(\Phi\) if all four hold:

  1. Relation on maps. \(\Phi\) is a predicate on keyed maps (or instances), not on key labels, stated before the target. It is relabeling-invariant because \(\Phi(E_k)\) does not depend on how \(k\) is written.
  2. Membership. \(\Phi(E_k)\) holds. Write \(S_\Phi=\{k:\Phi(E_k)\}\).
  3. Exploitation game, in one of two key models, stated in the finding: - Secret key. The challenger samples \(k\leftarrow D\) conditioned on \(k\in S_\Phi\) and runs the standard game for \(g\) (PRP distinguishing, forgery, ...). With oracle access only, \(A\) reaches advantage at least \(\varepsilon\) using \(q\) queries and time \(t\). \(A\) must be \(\Phi\)-generic: it reaches the same advantage against any map satisfying \(\Phi\) (for example a random involution), so it uses the relation and never trial-evaluates candidate keys. - Known or chosen key. \(k\) is given to, or chosen by, the adversary, and the objective is to show \(\Phi\) for a map that should behave ideally ([R5] works here). This matters where keys can be chosen or influenced by an adversary.
  4. Excess prevalence. The relation holds for more keys of \(C\) than of its ideal counterpart, by a stated excess. Let \(q_C=\Pr_K[\Phi(E_K)]\) for \(K\) uniform on \(\mathcal K\), and \(q_0=\Pr_\pi[\Phi(\pi)]\) for \(\pi\) drawn from the ideal counterpart (a random permutation for a block cipher, a random function for a hash). Then \[\kappa(\Phi)=\frac{q_C}{q_0},\qquad \delta_\Phi=q_C-q_0 .\] - Where \(q_C\) is known exactly from the construction, the finding states \(\kappa\) and \(\delta_\Phi\), and \(\kappa\) must lie outside the fluctuation of an ideal family of the same size, about \(1\pm z/\sqrt{|\mathcal K|q_0}\) for a stated number \(z\) of standard deviations. - Where \(q_C\) is estimated from a sample or a measured family, the excess must clear a significance level declared in advance against the ideal-family null.

A bare \(\kappa>1\) is not enough: about half of all ideal families pass it by chance (experiments/e11.md).

\(\kappa\) near 1. The class is then an artifact of conditioning. \(\Phi=[E_k(x)=y]\) for fixed blocks \(x,y\) holds for the same fraction of keys in an ideal cipher, and is not group A. \(\kappa\) belongs to the stated relation: a class with \(\kappa\approx1\) can contain keys that a stronger relation exposes, so it rejects the class and clears no key. State the strongest relation known to hold (experiments/e5.md).

Objective of a Route 2 finding. The objective is the one the stated setting of use supports. The relation itself gives dist. Record conf, forge or rec only when the finding states the setting of use in which the relation gives that break: the mode or protocol, what the adversary can query, and who chooses the inputs. For an involution, \(E_k=E_k^{-1}\): an adversary who can submit chosen blocks to \(E_k\) decrypts, and in output feedback mode every second keystream block equals the IV with no query at all, since \(O_2=E_k(E_k(IV))=IV\). Both are conf. Without a stated setting of use the finding is dist, with the conditional consequences named in the note. Give one finding per class, with the strongest objective supported.

Report \(q\), \(t\), \(\varepsilon\), the key model, the setting of use, \(\kappa\), \(\delta_\Phi\) and the mass \(\Pr_D[K\in S_\Phi]\). Route 2 classes usually have negligible mass under uniform \(D\), so the finding must say what makes them matter: non-uniform selection (B2) or adversarial key choice.

No \(\rho\) outside recovery. \(\rho\) is a recovery measure (I.2), and a Route 2 finding with another objective reports none. The cost of testing \(\Phi\) against the cost of listing \(S_\Phi\) compares a distinguisher with a recovery baseline; it is not a \(\rho\), however large the class. A Route 2 class is also Route 1 only if a declared recovery attack beats listing \(S_\Phi\) and the generic attack under the stated resource model.

Recovery by listing. A key whose membership in a declared class is at credible or above can be recovered by trying the members, whenever the class can be listed within the budget and candidates can be tested (a known plaintext pair, or the public key). The gain is subset advantage: \(\rho=1\), and the key is not structurally weak for recovery. Record it on the group A finding as listing_feasible, with the class size; the finding keeps the objective its relation or attack supports. Disposition rule 2 then applies: a key known to be one of the four DES weak keys is as good as known.

Class \(\Phi\) Game \(\kappa\)
DES weak keys \(E_k\circ E_k=\mathrm{id}\) Secret-key PRP distinguisher: query \(c=E(m)\), test \(E(c)=m\); 2 queries; works against any involution [R4] Astronomically large: a random permutation is almost never an involution
GHASH \(H=0\) Hash is constant Secret-key forgery: replay a tag for a new message under the same nonce; 1 query [R25] Astronomically large
Polynomial-MAC subsets [R24] Hash collides on a chosen pair \((M_1,M_2)\) Secret-key forgery: substitute \(M_2\) for \(M_1\); succeeds on every key in the subset Small: at most the message length in blocks (inferred from the abstract)

Pervasive classes. Almost every subset of a polynomial-MAC keyspace is an A1[forge] class under Route 2 [R24], matching the literature's usage. Record A1[forge] with \(\kappa\) and the mass, and state that the finding describes the primitive: \(\kappa\) is at most the message length and the mass equals the generic forgery bound, so membership says little about this key. The classes matter in practice as partitioning oracles, which recover low-entropy keys by testing many candidates per query [R37, R38]; where online queries are the resource counted, that is a recovery attack that beats listing (inferred from the abstracts).

Relabeling. Under a relabeling \(\pi\), \((S,A)\) for \(C\) becomes \((\pi^{-1}(S),A\circ\pi)\) for \(C'\), with the translation cost \(c\) added to the attack and to both baselines. Coverage is unchanged; \(\rho\) becomes \((B+c)/(t+c)\) for baseline \(B\), close to \(\rho\) only when \(c\ll t\) (experiments/e12.md). A B1 strategy transported the same way also keeps its ranks, so relabeling does not separate A from B1; \(\rho\) does, since a transported search order still has \(\rho=1\). A claim such as "looks simple" names no \(\Delta\) or \(\Phi\) and does not survive relabeling.

Membership is relative. Every key lies in some interval. What makes a key A2 is that \(\Delta\) was fixed before the target. Why an attacker would choose that \(\Delta\) is a B1 or B2 question. So P-384 scalar 4 is "A2[rec] with respect to (interval \([1,2^8)\), BSGS)"; that it lies in this interval rather than another is B1 under ascending search and evidence for B2.

I.4 Group B: search and generation

B1 Low-guesswork

\(k\in\mathrm{B1}(A,b)\) iff \(G_A(k)\le b\), for a strategy \(A\) fixed independently of \(k\) and a budget \(b\). Always reported with \((A,b)\).

Record B1 only for a strategy that the report names: one that was run against the key, or that a named tool or party uses. That some order would reach the key early is true of every key and is not a finding. A key on a published list is B1 only if a search over that list is named; whether it is also C2 or B2 is decided in I.5 and below.

B2 Predictably generated

Let \(\mathrm{Gen}\) be the generating process: the generator and everything that places the value in use, including provisioning, import and deliberate choice. Let \(\lambda\) be the security level the key's use requires (from the construction or policy).

The attacker's information is split:

\(\mathrm{Gen}\) has a \(\lambda\) shortfall if any of these holds:

  1. Predictable from the process. An attacker with \(I_{\rm gen}\) only, at cost \(t\) within the declared budget, guesses \(K\) with probability \(\varepsilon\) where \(t/\varepsilon<2^{\lambda}\). Report the pair \((t,\varepsilon)\), not only the ratio: \(2^{20}\) work for a \(2^{-40}\) chance and \(2^{60}\) work for certainty have the same ratio and different consequences for one target. The ratio is a first-success cost over repeatable trials (I.2); for a single target the success curve \(P_{\rm gen}(t)=\max_{A:\,\mathrm{cost}\le t}\Pr[A(I_{\rm gen})=K]\) is the quantity to state. The information-theoretic case is \(t=1\): \(P_{\rm guess}(K\mid I_{\rm gen})>2^{-\lambda}\) (02 §1).
  2. Correlated outputs. A joint attack on \((K_1,\dots,K_L)\) beats \(\lambda\). Shared primes are this, seen from the generator side.
  3. Exploitable bias. Outputs are biased so that a known attack combining the bias with \(I_{\rm use}\) succeeds within budget, although condition 1 fails. Example: lattice recovery of an ECDSA key from nonces with a few fixed bits [R28].

\(k\) is B2 if its \(\mathrm{Gen}\) has a \(\lambda\) shortfall. B2 is a property of the process, inherited by its outputs; evidence for it is usually indirect (II.1).

Provisioning and deliberate choice count as the process. A key copied from public documentation is B2 by condition 1, cause: copied value. Keys chosen on purpose from a set a known attack exploits, such as small RSA private exponents, are B2 by condition 3, cause: design choice. State the cause; B2 here does not mean a faulty random generator.

One matching key. A single key that falls in a subset named before looking supports the B2 effect at indicated, on two conditions. The chance of at least one such match under correct generation is stated and small: about \(u\mu\) for \(u\) keys examined and a subset of probability \(\mu\) under the correct generator. And the generator has not been shown correct independently. Credible needs several matches or provenance (II.4). If the generator is audited the match is the chance event and there is no B2; a pattern noticed after looking supports nothing (experiments/e9.md).

Duplicated keys. One key held by many instances (a key built into every device of a model, a cloned virtual machine) is the extreme of condition 2: any sibling's copy gives the key with probability 1. The observed duplication demonstrates the effect; no sibling key needs to have been extracted. State the cause (shared key) with its own level; how the key came to be shared may be unknown. This applies where the instances' roles require independent keys. A group key shared on purpose among parties who are all authorized for it, or subkeys derived deterministically from one master secret, are correlated by design and are not B2 on that ground.

\(I_{\rm use}\) alone never gives B2. A public key determines its private key, so \(P_{\rm guess}(K\mid\text{public key})=1\) for every correctly generated key; recovering \(K\) from it is the generic attack or group A. The computational notions behind condition 1 are in [R40].

Not B2: a detectable bias with no shortfall, such as a library fingerprint [R29]. Record it as the descriptor "generator fingerprint" (I.6).

I.5 Group C: context

C1 Relationally vulnerable

\(k\) is C1[\(g\)] with respect to observations \(O\) from outside the instance (other keys, other executions, auxiliary secrets, side channels, a related-key oracle) if \(O\) clearly raises the attacker's success at the same cost: \(R^g(k,t,I\cup O)\ge\varepsilon\) while \(R^g(k,t,I)\le\varepsilon_0\), with \(\varepsilon_0<\varepsilon\) both stated. The usual case is \(\varepsilon_0\) negligible, but a rise from 1% to 99% also counts.

Subtype \(O\) Example
cross-key Other public keys Shared RSA prime [R19]
auxiliary-secret Signatures exposing nonce structure ECDSA nonce reuse; biased nonces [R28]
cross-execution Runs under the same key that repeat a public value AEAD nonce or IV reuse
related-key Oracle under key transformations in a class \(\Phi\) RKA model [R27]
side-channel Physical or timing leakage (none in sources)

A or C1. An attack that needs only the instance's own public data or oracle is group A. One that needs data from another instance or execution is C1. Close primes are A2; a shared prime is C1.

Auxiliary-secret rule. Classify the secret where the defect lies, and classify the long-term key as C1 (auxiliary-secret), naming that secret's class. A biased nonce from a faulty generator: nonce B2; long-term key C1 (auxiliary-secret, nonce B2), then C2 once recovered.

What decides the auxiliary value's class is whether the scheme needs it secret and unpredictable, not whether a fault or a design produced it:

C2 Compromised

Let \(\mathcal P_{\rm auth}\) be the parties authorized to know or use \(k\). \(k\) is C2 if a party outside \(\mathcal P_{\rm auth}\) knows \(k\), has had access to it, or has substituted or misused it [R16, R23 §1.6.1].

Attribute Values
mode disclosed, recovered, shared, substituted, misused
party public (published); detector (the party whose check or scan produced the report); third party (another identified outsider); unknown
history historical unauthorized use: known (it occurred); unknown (not established either way); excluded (evidence covering the whole exposure rules it out)
evidence II.1 level. A "suspected compromise" is indicated or credible

C3 Policy-inadequate

\(k\) is C3 for policy \(P\) version \(v\) if \(\mathrm{Pol}_{P,v}(k,\text{context})=0\). Always name \(P\), \(v\) and the rule.

I.6 Outside the classes: invalid keys and descriptors

Invalid key: \(V_C(k)=0\), the value fails the specification's admissibility rules. It is outside A1 to C3 and disposition rule 0 rejects it (II.3). Flaws in how a system handles invalid keys are reported separately.

Descriptors are recorded values, not classes. None makes a key vulnerable on its own.

Descriptor Definition Role
Bit length, encoding width \(\lfloor\log_2k\rfloor+1\) (\(0\) for \(k=0\)), a byte-string key being read as a big-endian unsigned integer; width of the encoding Context only
Self-information \(i_D(k)\) under a stated \(D\) Context only
Description complexity \(L_U(k)\) or a compressor proxy Prior for B1 strategies; hypothesis for B2
Generator fingerprint Detectable bias without a \(\lambda\) shortfall Provenance
Computational accessibility Least cost over declared and generic attacks, compared with a budget Practical exposure; context for C3 and for the budget in II.3 rule 2

I.7 Umbrella terms

Term Meaning here
Weak key Member of A1[\(g\)] or A2[\(g\)]; always with \(g\) and \(\Delta\) or \(\Phi\)
Key finding Broadest term: any class finding, descriptor or invalidity. A finding need not be a vulnerability
Vulnerable key Member of A1, A2, B2, C1 or C2 at evidence level credible or above. B1 alone is a search position and C3 alone is noncompliance; neither qualifies
Computationally accessible Descriptor, not a class; say whether via group A, B1 or the generic attack
Guess-prioritized key Deprecated; write B1(\(A\),\(b\))
Low-description-complexity key Descriptor only

I.8 Combinations

Common joint patterns:

Pattern Meaning
A2 + B2 Structure plus defective \(D\) gives a population-competitive attack (I.2); or structured generation whose fingerprint enables the attack (ROCA)
A2 + B1 One subset seen both as structure and as search order (small ECC scalars)
B2 + C2 Defective generator whose outputs are publicly enumerable (Debian)
C1 + C2 Relation exploited and key recovered (nonce attacks)

Part II. Operational profile

II.1 Evidence levels

Each claim in a finding carries its own level: the effect, and for B2 the cause.

Level Meaning Source words mapped
unknown No information either way "unknown" (03 YAML)
hypothesized Plausible, but no specific evidence, or a pattern chosen after looking -
indicated A predeclared test or list match is positive; alternatives open "suspected"
credible Strong evidence under a stated model, predeclared or corroborated, alternatives weighed "strongly suspected", "credibly evidenced", [R23] "clear evidence"
demonstrated Effect reproduced (key recovered, factor found) or cause shown (defect located) "verified", "established", [R23] "demonstrated or proven"

Group A and C1 findings. The effect claimed has two parts: the attack or relation works as stated, and it covers this key. The level is that of the weaker part.

Level Attack or relation Coverage of this key
demonstrated The effect was shown on this key: key recovered, forgery produced, relation checked by queries or computed from the known key The same act shows both parts
credible Proved in a reviewed publication, or reproduced by the assessor or independently Shown by a predeclared test with a stated error rate (fingerprint, membership test), or stated by the party responsible for the key
indicated Published but neither reviewed nor reproduced, or a cost extrapolated beyond the sizes reproduced Asserted by someone else, or suggested by a test that leaves alternatives open
hypothesized Conjectured A pattern noticed after looking

A published proof supports credible, not demonstrated: demonstrated is reserved for the effect on this key, and for the objective recorded. Checking an involution by queries demonstrates dist; a conf finding deduced from the mode is credible until that break is shown. Where the check is cheap (two queries for an involution) there is rarely a reason to stop at credible.

II.2 Finding notation

Class Write
A1/A2 A2[rec] Δ=(S, A, t) ρ=… evidence=… or A1[dist] Φ=… κ=…
B1 B1(A=ascending, b=2^8)
B2 B2 λ-shortfall=… mechanism=… evidence=…
C1 C1[rec] subtype=… O=…
C2 C2 mode=… party=… evidence=… history=…
C3 C3 P=… v=… rule=…

The machine-readable form is report-schema.yaml.

II.3 Disposition

Disposition is separate from classification. Apply the rules in order; the first match decides. A policy may tighten them.

  1. The key is invalid: reject as invalid. Class findings are still recorded.
  2. C2 at credible or above: treat as compromised, meaning reject at issuance, revoke, replace.
  3. Any of the following: treat as compromised. - Key recovery demonstrated using only information available to an adversary, whatever the class. This includes a B1 strategy that was run and found the key. - A group A or C1 finding at credible or above whose recovery, forgery or confidentiality attack is marked feasible against this key within the budget, with success above the generic bound. - A group A finding at credible or above whose class can be listed within the budget (I.3).

A distinguisher alone never fires this rule. 3. B2 at credible or above, for the effect or the cause, with a \(\lambda\) shortfall for the key's use: treat as compromised. 4. A C3 rule that mandates rejection: reject by policy. The key is replaced, but no compromise is asserted. 5. Any finding at indicated or above, counting a B2 cause level: investigate. 6. Otherwise: no action. This does not certify the key.

Rules 1 to 3 keep three different reasons apart; [R23] maps all three to one revocation reason, keyCompromise. Rule 4 is separate because a policy rejection (RSA-1024, DES) applies to every key of its kind, not to this key. Lower evidence calls for investigation, not automatic replacement.

Rule 5 counts B1 although B1 alone is not a vulnerability (I.7). A key that sits early in a search order declared in advance is exposed to that order, and a correct generator is unlikely to have produced it, so the hit is a reason to check the generator for B2. "Investigate" asserts no defect. When the strategy was run and found the key, rule 2 applies instead.

Budget.

Generic bound. What the same budget achieves without the finding. For recovery it is the success of the generic attack on the instance at that cost. For distinguishing, forgery and confidentiality it is the advantage that the same queries and time reach against the ideal counterpart of the construction in the same setting of use, for example a forgery probability of \(2^{-\tau}\) per attempt for a \(\tau\)-bit tag.

II.4 Mapping to policy and tool checks

Default classes and evidence when a check fires. The decision guide applies these.

Check Classes Evidence on positive
Small ECC scalar (interval DLP) A2[rec], B1, C2 (detector, if outside the authorized set) Demonstrated. B2 effect up to credible if the subset was predeclared and several keys match; cause unknown without process evidence
Fermat close primes A2[rec], C2 (detector) Demonstrated; C3 if under an [R23] rule
Small RSA private exponent A2[rec] Demonstrated when recovered
ROCA fingerprint A2[rec], B2 B2 effect demonstrated; cause credible from the fingerprint, demonstrated only with independent provenance; A2 credible on the fingerprint, demonstrated when factored
Debian, GitKraken, firmware key list B2, C2 (disclosed, public) Demonstrated match; cause per list provenance
Shared RSA factor (batch GCD) C1[rec] cross-key, B2, C2 (detector) Demonstrated; B2 indicated or credible
Published private key C2 (disclosed, public) Demonstrated if checked against this public key; credible on a full-key match against a maintained list of private keys; at most indicated without an artifact (II.1)
Key size or algorithm rule C3 Demonstrated for noncompliance only
Biased or repeated secret nonces Nonce B2, cause stated; key C1[rec] auxiliary-secret, C2 Per recovery

[R23] items that require rejecting or revoking a key:

[R23] item Classes Required evidence
§6.1.1.3(2), §4.9.1.1 item 16 B2 credible
§6.1.1.3(3), §4.9.1.1 item 4 A or C1, rec demonstrated
§6.1.1.3(4) C2 per CA procedure
§6.1.1.3(5) per check above demonstrated match

Part III. Decisions

All items are Accepted as of 2026-12-04. Revised and Proposed items would need user review; there are none at present. G labels gaps in the glossary section 9; D and R2 label decisions from later reviews.

IDs Origin Decided by
G1 to G9, D1 to D8 Glossary gaps and the first design pass User
D9 to D17 First external review of the paper User
D18 to D20 Rater-agreement experiment E10 User
D21 to D23 First cold test of the agent skill User (D21); agent, delegated
D24 Naming User
D25, D26 Second external review User
R2-3 to R2-8 Corrections from the second external review Agent, on the user's instruction
D27 to D36 Two further cold tests of the agent skill Agent, delegated
ID Decision Alternative not taken Status
G1 Representation and description are descriptors, not classes (I.6) Classes for them; they are not defects Accepted
G2 Weak key means A1 or A2, with an objective (I.7) Broad "weak key" as in [R22], [R23] Accepted
G3 Group A is judged by structural advantage over the declared subset, through weak families; policy thresholds are C3 (I.2, I.3, I.5) Generic full-keyspace baseline, under which every small subset qualifies Accepted
G3b Route 2 is an explicit game: relation on maps, \(\Phi\)-generic adversary, stated setting; pervasive classes ([R24]) are included (I.3) Atypicality over a declared family, which excludes [R24] subsets; a separate "degenerate key" label Accepted
G4 "Guess-prioritized key" is deprecated; write B1(\(A\),\(b\)) Redefine it as a property of the attacker's list Accepted
G5 "Computationally accessible" is a descriptor (I.6) Keep it as an umbrella class Accepted
G6 Classes apply to any secret; auxiliary-secret rule (I.5) Treat nonce flaws as C1 only Accepted
G7 Recovery by a detector is C2 (recovered, detector); a feasible unexecuted attack is not C2 but disposes as compromised (I.5, II.3) C2 only for unauthorized third parties Accepted
G8 "Vulnerable key" needs credible or above; a suspected compromise counts once it reaches credible (I.7) Count every hypothesized finding Accepted
G9 Five-level evidence scale, applied per claim (II.1) Separate scales for effect and cause Accepted
G10 A public list of candidate private keys makes its members C2 (disclosed, public) (I.5) B2 only Accepted
G11 Scalar 4 is A2 via interval DLP, not because \(4G\) is cheap to compute; 04 EX wording corrected in deliverables - Accepted
G12 Interval DLP cites [R7] only; [R6] is a separate algebraic class - Accepted
G13 Group A and C1 always carry \([g]\) (I.1) Objective-free classes with a note Accepted
G14 "Low-description-complexity key" is a descriptor (I.6) A new class Accepted
N1 Subsets with \(\rho\approx1\) are excluded from Route 1; [R24] subsets enter via Route 2 as pervasive classes (I.3) Exclude them from group A entirely (superseded by G3b) Accepted
N2 No B2 without a \(\lambda\) shortfall; bias alone is a fingerprint [R29] (I.4) Any detectable bias is B2 Accepted
D1 "Reject by policy" (C3 mandate) is a separate outcome from "treat as compromised"; explicit investigate and no-action rules (II.3) C3 mandate disposes as compromised Accepted
D2 The \(\rho\) baseline is \(\min(E^g,G^g)\); weak families grow only while \(E^g\le G^g\) (I.2) Enumeration only, under which every arbitrary set above \(G^g\) is structurally weak Accepted
D3 Rule 0 rejects an invalid key (reject-invalid) before rules 1 to 6 (I.6, II.3) Reuse reject by policy; leave validity out of disposition Accepted
D4 Rule 5 counts a B2 cause level as well as effect levels (II.3) Effect levels only Accepted
D5 A \(\lambda\) shortfall includes bias that a known attack exploits within budget, as with biased nonces (I.4) Strict \(P_{\rm guess}\) reading, under which biased nonces are only a fingerprint Accepted
D6 "Vulnerable key" excludes B1: an early position in a declared search is exposure to that strategy, not a defect of the key (I.7) Include B1, which makes every key vulnerable to some declared order Accepted
D7 State the model assumptions: classical attacker, best-known costs, heuristic baselines, concrete thresholds, bounded advice (I.1) Leave them implicit Accepted
D8 Rule 5 counts B1: a B1 hit under a predeclared strategy prompts a check of the generator; "investigate" asserts no defect (II.3) A B1-only key gets no action Accepted
D9 Attack cost counts precomputation (amortized over stated targets), memory, advice and queries, and the baselines get the same resources; coverage is worst-case, or an average over uniform \(S\) (I.2) Online time only, which lets a precomputed table pass as structure; averages over \(D\) Accepted
D10 Report \(\sigma=\log_2\rho\); split total advantage as \(\beta\cdot\rho\); Route 1 accepts a concrete attack with stated \(\sigma\) where no family exists (I.2, I.3) Growing family required in every case Accepted
D11 Route 2 requires excess prevalence \(\kappa>1\) against the ideal counterpart, and reports \(\kappa\) (I.3). Revises G3b Demote Route 2 to a descriptor; keep it with a caveat only Accepted
D12 B2 uses generation-side information \(I_{\rm gen}\) and one resource-bounded condition; \(I_{\rm use}\) alone never gives B2 (I.4) Unrestricted \(I\), under which every public key gives \(P_{\rm guess}=1\) Accepted
D13 C1 needs a stated rise in success from outside observations, not a negligible baseline (I.5) Negligible baseline required Accepted
D14 Recovery by an authorized party is not C2; it demonstrates the attack and rule 2 applies (I.5). Refines G7 Every detector recovery is C2 Accepted
D15 "Vulnerable key" excludes C3 as well as B1; "key finding" is the broadest term (I.7). Extends D6 C3 counts as a vulnerability Accepted
D16 Rule 2 covers recovery, forgery and confidentiality attacks marked feasible above the generic bound; distinguishers alone do not fire it (II.3) Recovery only; all objectives Accepted
D17 Relabeling alone does not separate A from B1; \(\rho\) does. The population measure uses success probability \(p=q\bar\varepsilon\) and names three attacker models (I.2, I.3) "B1 is not relabeling-invariant" as the separating test Accepted
D18 A key provisioned by copying a public value, or chosen deliberately from a set a known attack exploits, is B2 with the cause stated (I.4). published-key gains B2. From E10: all three raters read I.4 this way Leave such keys C2 or A2 only Accepted
D19 B1 is recorded only for a strategy named in the report (I.4). From E10: raters added B1 for any listed key Record B1 whenever some order reaches the key early Accepted
D20 A key in a pervasive Route 2 class is A1; the finding states that it describes the primitive (I.3). From E10: one rater gave no finding Give no finding for pervasive classes Accepted
D21 A key shared by many instances is B2 (condition 2, effect demonstrated by the duplication) and C2 (mode shared, credible; demonstrated once extracted); not C1 (I.4, I.5). New example shared-device-key. From the skill's cold test C2 only after extraction; C1 cross-key Accepted
D22 A repeated or predictable secret auxiliary value is B2 whether by fault or by design; a repeated public value that only has to be unique is not B2, and the key is C1 (cross-execution) (I.5). Removes "nonce reuse by protocol design: no B2", which contradicted D18 and I.4 condition 2. Keep "by design: no B2"; make every nonce reuse B2 Accepted
D23 Cause evidence: demonstrated needs the defect located in the artifact or reproduced; a statement by the responsible party is credible; an unverified outside claim is at most indicated (II.1). Treat vendor documentation as demonstrated Accepted
D24 The classification is named Key Weakness Classification (KWC), a proposed term. Three web searches on 2026-12-04 found no prior use of the name or acronym Locus classification; no name Accepted
D25 Route 2 needs a stated excess prevalence: report \(\kappa\) and \(\delta_\Phi\); where prevalence is exact the excess must exceed ideal-family fluctuation, where estimated it must clear a declared significance level (I.3). Replaces strict \(\kappa>1\), which half of ideal families pass (E11) Keep \(\kappa>1\); drop prevalence and report a profile only Accepted
D26 Rule 2 fires on any demonstrated recovery that uses only adversary-accessible information, including a B1 strategy that was run and found the key; the class stays B1 (II.3). Classification, recoverability and disposition are separate. Narrows D8: a B1 finding without a recovery still falls to rule 5 Rule 2 needs a group A or C1 finding Accepted
D27 The objective of a Route 2 finding is the strongest one the stated setting of use supports; the relation alone gives dist. The generic bound for dist, forge and conf is the advantage of the same resources against the ideal counterpart in the same setting (I.3, II.3). From the skill cold test: an involution key is dist or conf depending on the mode. Always dist; always the strongest conceivable objective Accepted
D28 \(\rho\) is reported for recovery only. A Route 2 finding with another objective reports none; test cost against listing cost is not a \(\rho\). Route 1 applies as well only for a declared recovery attack that beats listing the class (I.3). Report \(\rho\) for every objective Accepted
D29 The level of a group A or C1 finding is the weaker of two claims, that the attack works and that it covers this key. A reviewed proof or a reproduction is credible; demonstrated needs the effect on this key. Rule 2's feasible path needs the finding at credible or above, as rules 1 and 3 do (II.1, II.3). roca A2 moves from indicated to credible. One undivided level; no threshold on the feasible path Accepted
D30 A claim that a private key is public: demonstrated when checked against the public key, credible on a full-key match against a maintained list of private keys, at most indicated without an artifact (II.1, II.4). Demonstrated or nothing Accepted
D31 Report vocabulary: a budget is a number with a unit or a named profile (commodity \(2^{64}\), well-resourced \(2^{80}\) operations; conventions, not attacker estimates); a byte-string key is read big-endian for bit length; party and history values are defined (I.5, I.6, II.3, schema). Leave as free text Accepted
D32 Recovery by listing: a group A finding at credible or above whose class can be enumerated within the budget is marked listing_feasible and fires rule 2; it is subset advantage, \(\rho=1\), and the objective is unchanged (I.3, II.3). des-weak-key moves from reject-by-policy to treat-as-compromised. Leave it to the accessibility descriptor; relabel the finding as recovery Accepted
D33 One key matching a predeclared subset supports the B2 effect at indicated when the chance of such a match under correct generation is stated and small and the generator is not independently shown correct; no B2 when it is audited (I.4). Never B2 from one key; B2 on any predeclared match Accepted
D34 Default \(\sigma_{\min}=16\) bits where the profile declares none; the family reading needs a cited growth rate (I.2). Without a default, ROCA and close primes could not be recorded as A2 unless a policy supplied a threshold. No default (R2-4 as first written) Accepted
D35 A published value is C2 only when an outsider can link it to this key without guessing; a symmetric key equal to a published test vector is B1 or B2, not C2 (I.5). Any published value is C2 Accepted
D36 Budget edges: a cost equal to the budget is within it; the unit is the attack's own step; commodity is the default profile and a larger one needs a stated reason (II.3). Rater's choice Accepted
R2-3 Relabeling: attack and coverage are preserved; \(\rho'=(B+c)/(t+c)\), close to \(\rho\) only for cheap translation (I.3). Corrects a false invariance claim; second external review Keep "ρ is preserved" Accepted
R2-4 Concrete Route 1 membership needs \(\sigma\ge\sigma_{\min}\) declared by the policy; otherwise \(\sigma\) is reported without membership (I.2, I.3). Closes a literal reading that admitted listing A fixed default threshold (later adopted as a fallback, D34) Accepted
R2-5 \(\rho\) and group A membership are stated for a resource model and a number of targets (I.2) Treat membership as absolute Accepted
R2-6 Route 1 baselines are defined for recovery; other objectives need a stated matched baseline (I.2) Use candidate listing for every objective Accepted
R2-7 B2 condition 1 reports \((t,\varepsilon)\) and, for one target, the success curve \(P_{\rm gen}(t)\); \(t/\varepsilon\) is a first-success cost (I.4) Ratio only Accepted
R2-8 Duplicated keys are B2 only where roles require independent keys; keys shared or derived by design among authorized parties are not (I.4). A key leaked after correct generation is C2 only; new example leaked-key Any identical keys are B2 Accepted

Weakest points:


Part IV. Check against boundary cases and gotchas

Every boundary case in design-taxonomy has a single reading, and no item in gotchas contradicts Parts I and II.

Case Result
P-384 scalar 4 (eMudhra) A2[rec] \(\Delta\)=(interval \([1,2^8)\), BSGS), demonstrated; B1(ascending, \(2^8\)); B2 credible, cause unknown; C2 (recovered, detector), history unknown. Disposition: treat as compromised
RSA close primes vs shared prime A2[rec] (own modulus only) vs C1[rec] cross-key (needs a second modulus)
Uniform AES key, all zero B1(zero-first, 1) only. "Looks simple" names no \(\Delta\) or \(\Phi\) on full AES
Constant generator, random-looking B2 (\(P_{\rm guess}=1\)); C2 (disclosed) if the constant is known outside
ROCA A2[rec] and B2 (effect demonstrated, cause credible from the fingerprint): both, not "A2/B2"
Obsolete key length C3 plus accessibility descriptor (generic attack); not A2, no subset advantage
Debian OpenSSL B2 demonstrated; C2 (disclosed, public)
Repeated or biased ECDSA nonce Nonce B2, by fault or by design, cause stated; key C1[rec] auxiliary-secret; C2 once recovered
Polynomial MAC arbitrary subset A1[forge] via Route 2 (pervasive, \(\kappa\) small, mass at the generic forgery bound); not via Route 1. GHASH \(H=0\) likewise
Gotcha Status
Short value is not low entropy Consistent: bit length is a descriptor
Starting at zero is fine until structure Consistent: B1 vs Route 1
Equal prior mass is not equal outcome Consistent: B1 is a class
Small known subsets not automatically weak Consistent for Route 1 and DLP; [R24] subsets enter via Route 2
Random self-reducibility Not affected
Relabeling must preserve the domain Consistent: relabeling uses efficient bijections on \(\mathcal K\) and counts translation cost
DES history, AES reduced-round Consistent: objective index
Blocklist match is one finding Consistent: II.1 list-match rule
Removing labels does not help Not affected
Rivest-Silverman constants Consistent: \(T(\Delta)\) uses \(\mathbb E[C]/p\), \(p=q\bar\varepsilon\)
Hard-coded attacker Resolved by declared attacks (I.2) and the bounded-advice assumption (I.1)