Definition
Positive evidence for a claim about a system’s history is an observation that, under a declared fault model §1.30 (the list of failures and attacks the system can meet), only histories in which the claim is true can produce. Absence of evidence is a missing observation, such as an absent record. An unknown state is what an observation leaves when histories that need different treatment can all produce it. Absence of evidence becomes positive evidence only when the fault model rules out every other way the observation could be missing.
The idea
A device starts and reads its settings storage. Every byte reads 0xFF, the value that erased flash memory §6.6 holds, and no provisioning record, the record written when the device received its owner’s key, is there. Two histories fit. In the first, the device is new and was never provisioned. In the second, the device was provisioned, accepted commands numbered up to 500, and then lost its storage: a power failure in the middle of rewriting it, a software fault, or an attacker who erased the chip through its debug connection. The surviving bytes are identical.
If the device treats erased storage as new, it runs first-time setup: it accepts a new owner and restarts its replay counter at 0. In the first history that is right. In the second, the attacker who erased the chip becomes its owner, or sends recorded commands numbered 1 to 500 again and has them accepted, a replay attack §1.26. If the device instead treats erased storage as an attack and refuses to work, a genuinely new device can never be set up. No rule that looks only at the bytes is right in both histories, because a program given the same input produces the same output.
The intuition is the difference between a record that says no and no record at all. A ledger line reading “no payment received” is information; a torn-out page says nothing about payments. The analogy stops in a useful place: a designer can build a record that cannot be torn out, and then its absence does carry information.
How it works
Reasoning from surviving state to history takes four steps.
Declare the fault model. List every way the stored data can change: normal writes, a torn write §8.19 (a write cut off by a power failure), an erase, a flipped bit and, if attackers are in scope, every write an attacker can make.
Validate each observation. A record counts as evidence only after the checks the model calls for: an integrity §1.9 check such as a checksum §4.32 or a cyclic redundancy check (CRC), which detects a torn or damaged record; and, if attackers can write the storage, a message authentication code §5.7 or digital signature §5.14, which only a key holder can produce. A record that fails its checks counts as absent.
Map observations to histories. For each property the policy depends on, such as whether the device was ever provisioned, list the allowed histories that produce what the device actually reads.
Classify the property as proven true, proven false or unknown: three outcomes, not two.
Two kinds of record make the unknown outcome rarer.
A store-initialized marker is a record written when a store’s first commit, the write that makes its first complete set of data take effect, has finished, and kept by every later update. A valid marker proves that the store was committed at least once. A missing marker proves nothing if the model allows the store to be erased, because the erase removes the marker together with everything else.
A one-way mark is a bit that can change in one direction only, such as a one-time programmable (OTP) fuse, which can be burned once and never restored, or a monotonic counter §8.28 inside a secure element §5.38, a separate tamper-resistant chip. If provisioning sets the mark before anything else, and the model says the mark cannot be undone, an unset mark is positive evidence that the device was never provisioned.
For the unknown outcome the policy needs a response decided in advance: fail closed §1.13, refusing to act; consult a trusted witness outside the device, such as the owner’s server, which records the last command number it issued; use other protected state that survived; or start a new lifecycle that an authorized party approves, with new keys, so that commands from the old lifecycle no longer verify.
Worked example
A device has one OTP fuse, which reads 0 until it is burned and 1 forever after, and a replay counter stored in flash as 2 bytes with a checksum. Provisioning burns the fuse first and then writes the counter. The value 500 is stored as the bytes 01 F4, because and 244 is F4 in hexadecimal. Four histories leave these observations:
| History | Fuse | Counter bytes |
|---|---|---|
| H1: never provisioned | 0 | FF FF |
| H2: provisioned, counter at 500 | 1 | 01 F4, valid |
| H3: as H2, then storage erased | 1 | FF FF |
| H4: fuse burned, then power lost | 1 | FF FF |
In H4 the power failed after the fuse was burned and before the counter was written.
Without the fuse, H1 and H3 both show FF FF and nothing else. Every deterministic rule gives them the same decision: either set up in both, which lets the attacker in H3 replay commands 1 to 500, or refuse in both, which strands the new device of H1. A separate mistake is to read erased flash as data: FF FF read as a 16-bit number is , a counter value that no write produced.
With the fuse, the observations separate H1 from H3. Fuse 0 with erased storage occurs only in H1, so under this fault model it is positive evidence that the device was never provisioned, and first-time setup is safe. Fuse 1 with no valid counter occurs in H3 and in H4, and the observations cannot tell those two apart: the state is unknown. The device refuses to act until an authorized party provisions it again. H4 pays one extra authorized step so that H3 cannot be exploited.
Stated precisely
Let be the set of histories the fault model allows. For a history , let be everything the device can read afterwards: its surviving bytes, its fuses and any input from outside. Let be a property of histories, such as “the device was provisioned”. For an observation :
is positive evidence for if every in with satisfies ;
is positive evidence against if no such satisfies ;
otherwise leaves unknown.
An observation that no history in produces shows that the fault model is wrong.
Indistinguishability: let be a deterministic decision procedure whose only input is . If , then gives and the same decision. So if a policy requires different decisions for and , no such satisfies the policy. Randomness does not help, because a randomized procedure gives both histories the same distribution of decisions. The only remedies are to add an observation that differs between and , or to give both the same decision and accept its cost in one of them.
The classification is only as sound as . It assumes that the fault model lists every way the observations can change, that the integrity checks catch the damage the model allows, and that the authenticity checks rest on keys no attacker holds. An observation that an attacker can forge is evidence against faults only, never against that attacker.
Limits and common mistakes
A missing record is not a negative record. Code that computes provisioned = record_found() turns “not found” into “never happened” and silently chooses the harmless history. Give the state type a third value for unknown, separate from proven never provisioned.
A witness inherits only its own guarantees. A checksum detects accidental damage but not forgery, because anyone can recompute it. A marker that an attacker can write proves nothing against that attacker. A fuse is one-way only within the fault model; a physical attack outside the model may defeat it.
Evidence must survive whatever it records. A marker kept in the same flash region that an erase clears disappears together with the state it vouches for, so its absence says nothing about that erase.
A claim supplied by another party, such as a host computer’s statement of when the device was set up, is evidence only as far as that party is trusted and the claim authenticated. A host’s guess adds nothing about what happened on the device.
Failing closed on the unknown outcome costs availability §1.10: a device that loses its storage needs an authorized way back. A design that cannot afford that cost must add a witness, not relax the rule.
Questions answered
Can two states with identical surviving bytes require different histories?
Yes. Two devices can hold exactly the same surviving bytes after histories that call for different treatment, and then no rule that reads only those bytes can treat both correctly. Erased flash memory is the standard case: every byte reads 0xFF both on a device that was never provisioned and on one that was provisioned, used and then erased by a fault or an attacker. The new device should be set up; the erased one must not accept a new owner or restart its replay counter, which would let old commands be replayed. A deterministic program given identical input returns identical output, so it must treat both devices the same way.
The remedies are to classify the state as unknown and fail closed; to consult a trusted witness outside the device; to keep protected state that survives the erase, such as a one-time programmable (OTP) fuse that provisioning burns first; or to start a new lifecycle only with authorization §1.7 from a trusted party. Treating every unreadable store as factory-new assumes the harmless history without evidence.
Related entries: Assumption versus guarantee (§1.36), Evidence eligibility (§13.14), Recovery fallback (§8.29), Fail closed (§1.13), Fault model (§1.30), Torn write (§8.19), Lifecycle reset and replay across complete reinitialization (§19.3.7).