Section 18.4.5

Security traceability and evidence strength

Definition

A security traceability table is a table that links each threat a system must resist to a security requirement, the mechanism that meets the requirement, the assumptions that mechanism relies on, the residual risk and the evidence offered. Residual risk is what an attacker can still achieve against that threat while the mechanism works and its assumptions hold. Each row is a claim: if the assumptions hold, the mechanism keeps the requirement true. Evidence strength says how directly the evidence supports that claim.

Where it fits

Main entry: Assurance case (§10.41).

The assurance case entry describes a structured argument that links a claim to evidence through stated assumptions. One row of this table is a small assurance case written on one line. Read it from left to right.

  1. Threat: what an attacker can try, taken from the threat model §1.2, the written account of what attackers can do.

  2. Requirement: the property the system must keep, stated so that a single execution can break it, such as “each authenticated command is executed at most once”.

  3. Mechanism: the part of the design that keeps the property, such as a counter check.

  4. Assumptions: conditions the argument takes as true without establishing them, such as “the key stays secret”.

  5. Residual risk: what remains possible for the attacker.

  6. Evidence: what supports the claim, and of which kind.

Following each requirement to the mechanism that meets it in this way is called requirement-to-mechanism traceability.

Three things in or near a row are easily confused. An assumption is a condition the claim depends on: if it fails, the row claims nothing, as the assumption versus guarantee §1.36 entry explains. An out-of-scope threat is one the table does not address at all, such as, in many tables, an attacker who opens the chip; the row makes no claim about it. Residual risk belongs to a threat that is in scope: it is what the attacker can still do while every assumption holds and the mechanism works. Take a row about replay attacks §1.26, in which an attacker records a genuine message and sends it again. Its residual risk might read “an attacker can still delay or drop commands”, because a counter check rejects old messages but cannot make a message arrive. Where possible, the residual risk gives a size, for example that a random guess at a 32-bit check value is right with probability 2−322^{-32} per attempt. An empty residual-risk cell claims that nothing remains, which is rarely true.

A row is refuted by a counterexample: one execution in which every stated assumption holds and the stated requirement fails. In an invented row, the requirement is “an authenticated command cannot execute twice”, and the mechanism checks only a message authentication code §5.7 (MAC), a short value computed from the message and a secret key, which only a holder of the key can produce. A sender transmits one valid command. An attacker records it and later sends the same bytes again. The MAC is valid both times, the key never leaked, and the command executes twice. That one trace of two executions refutes the row, and it shows the cause: a MAC establishes authentication §1.6, meaning who produced the bytes, but not freshness, meaning whether these bytes were already used. A counter that must increase with every accepted command adds freshness.

Kinds of evidence differ in what they establish.

Each kind covers specific parts of the claim. None inherits the strength of the evidence in a neighboring column.

All data in this entry’s examples are invented.

Limits and common mistakes

Different kinds of evidence do not average. A proof about a model and one test on hardware cannot be combined into a percentage of confidence, because they answer different questions.

A theorem about a model says nothing about the code until the link between the model and the code is justified.

An execution that breaks an assumption is not a counterexample to the row. If the key leaks and forged commands are accepted, the row’s claim is not refuted; its assumption failed. That execution is still worth reporting, as evidence about how far the assumption can be trusted.

A requirement stated vaguely, such as “replay is prevented”, cannot be refuted, because no single execution clearly breaks it. Restate it as a property of executions before collecting evidence.

Failing to find a counterexample is not a proof. A search that finds none supports the row only as far as the search reached.

Questions answered

What evidence would refute this row?

One execution in which every assumption the row states holds and the requirement the row claims fails would refute the row; such an execution is called a counterexample. To know what it would look like, first state the requirement as a property of single executions, for example “each authenticated command executes at most once”, and list the assumptions, for example “the key stays secret”. Then look for an execution that keeps every assumption and breaks the property.

For that example row, the refuting evidence is a trace in which an attacker records a valid command, sends the same bytes again, and the device executes the command a second time. The message authentication code (MAC), a value that only a holder of the key can compute, is valid both times, and the key never leaked, so every assumption holds. A counterexample may come from a test log, from reading the code, or from a model checker §3.30, a tool that explores every reachable state §3.21 of a model; a counterexample found in a model must then be shown to be possible in the real code. An execution in which the key has leaked does not refute the row: it shows that an assumption failed, not that the mechanism did.

Related entries: Replay attack (§1.26), Assumption versus guarantee (§1.36), Scientific claim versus operational guard (§13.31), Threat model (§1.2), Mechanism versus evidence (§1.37), Security claim scope (§1.45), Message authentication code (MAC) (§5.7).