Following serial numbers across broken supply chains
Kenneth Macleod on hardware provenance: tracing a single secure element from distributor invoice back through test, packaging and fab documents, and what to do when they disagree.
1.One part
Take one part. Not a reel, not a batch: one secure element in a small anti-static bag, with a marking on top, a date code and a lot code. Write down everything printed on it. Then find every document that claims to describe it. The distributor's invoice will name a manufacturer part number and perhaps a lot. The certificate of conformance will name a lot that may or may not be the same. The marking on the part will give a date code in a format that differs by manufacturer and sometimes by year.
If the part has an electronic identifier, read it. If it has a device certificate provisioned at the factory, read that too. Now you have between four and eight sources that should all agree. In my experience they agree on everything about a third of the time.
2.Why the paperwork disagrees
Most disagreements are innocent. Lots are split and merged at the test house. Packaging subcontractors issue their own lot numbers. Distributors repackage reels. Date codes record the assembly week, not the wafer start. Certificates are issued by a provisioning service with its own serial scheme. Each step makes sense on its own; together they make a chain that cannot be followed without someone at each link agreeing to share their mapping.
Some disagreements are not innocent. Remarked parts carry markings sanded off and reprinted; recycled parts come back from scrap boards with tinned leads and a fresh date code. In the reference collection I keep a drawer of each, and the paperwork that came with them is usually more confident than the paperwork that comes with genuine parts.
3.What attestation adds
Device identity and attestation give the part a voice of its own. A genuine part with a DICE-style identity can produce evidence signed by a key that only that part holds, chained to a certificate the manufacturer issued. That evidence does not prove the paperwork was right, but it gives you one piece of evidence that cannot easily be copied. When Emma-Jane MacKinnon-Lee tests her neighbour verifier on parts from the collection, the remarked parts fail at the first certificate check, which is the most satisfying result I have seen in years.
4.Keeping the disagreement
My one rule is to write down disagreements rather than resolve them early. A provenance file logs each claim, its source, the date I saw it, and whether other sources support or contradict it. If the lot on the certificate of conformance does not match the lot on the reel, both go in the file. Later a test house might share its lot-split data and the contradiction resolves. Or it does not, and the file says so. That is also a result.
Machines that pay each other on the strength of signed receipts will need provenance files of exactly this kind, kept by verifiers rather than by people. The question is whether we design attestation logs to be read later, or only to be acted on now.