Full name: Uptane is a name, not an abbreviation; the Uptane Standard does not spell it out.
What it is
Uptane is a framework for securing over-the-air (OTA) software updates of ground vehicles, meaning updates delivered by radio. It adapts TUF §21.10 (The Update Framework), a design that limits the damage of stolen signing keys, to a vehicle’s electronic control units (ECUs), its many embedded computers. Trishank Karthik Kuppusamy and colleagues presented it at the escar Europe conference in 2016 [448], and the Uptane project maintains it as a standard. Two repositories sign each update; an ECU too weak for the full check performs a reduced one, partial verification.
Basis of this account
This account rests on the Uptane Standard for Design and Implementation, version 1.2.0, published by the Uptane project under the Joint Development Foundation, read in its web edition (https://uptane.org/papers/uptane-standard.1.2.0.html). Section 4 (the threat model §1.2) was read, Sections 5.2 and 5.3 in part, and Section 5.4, the procedures inside the vehicle, in full. The original research paper, Kuppusamy and others, “Uptane: Securing Software Updates for Automobiles”, escar Europe 2016, was not read; its title, first author and venue were checked in public listings. Escar is a conference series on embedded security in cars. The Deployment Best Practices document, to which the Standard refers for several choices, and the later Standard versions 2.0.0 and 2.1.0 were not read. Nothing was run for this account.
What the paper claims
The Standard’s authors state the following.
Threat model. Attackers may read and change network traffic outside the vehicle and on the vehicle’s internal networks, that is, act as a man-in-the-middle §7.26. They may take over either the Director repository or the Image repository, with every key stored on it, but not both. They may take over either a Primary or a Secondary ECU, but not both in the same vehicle.
Attacks covered. Reading an encrypted update; blocking or slowing traffic; a freeze attack, which keeps sending a properly signed but old update; installing only part of a signed set of updates; a rollback attack, which installs an older, once-valid version; an endless data attack, which sends data until storage runs out; a mix-and-match attack, which installs individually valid images that do not work together; and an arbitrary software attack, which installs code of the attacker’s choice.
Resilience from two repositories. Full verification, which checks that the Director’s instructions match the Image repository’s metadata, “provides resilience to a key compromise in the system”.
Fields that resist a compromised Director. A release counter in the Image repository’s metadata “can be used to prevent rollback attacks even in cases where the Director repository is compromised”, and a hardware identifier can ensure, even then, that an ECU is not ordered to install an image for different hardware.
Compliance. An implementation complies only if every Primary performs full verification and every Secondary that is updated over the air performs at least partial verification.
How it works
Parts.
The Image repository holds the update images and signed metadata about them. It is controlled mainly by people and changes rarely. Its Targets role may delegate signing, for example to the supplier of one ECU.
The Director repository decides which image each ECU of one particular vehicle should install. It is automated and online: it reads the vehicle’s report of what is installed, consults a private inventory database, and signs Targets metadata for that vehicle on demand. Its Targets role may not delegate.
Each repository has the four roles of TUF: Root (which keys are trusted), Timestamp (whether anything is new), Snapshot (which metadata versions belong together) and Targets (the hashes, lengths and other details of images).
The Primary ECU downloads metadata and images for itself and for the other ECUs, verifies them fully, and passes each Secondary the metadata and the image it needs.
A Secondary ECU is an ECU that receives its updates through the Primary.
Every ECU must have a secure source of time, for example signed time statements from a time server.
Full verification (Section 5.4.4.2): check the current time; download and check the Director’s Root, Timestamp, Snapshot and Targets metadata; then the Image repository’s Root, Timestamp, Snapshot and top-level Targets metadata. Then, for each image the Director lists (a Secondary may limit this to its own image), find the Image repository’s Targets entry with exactly the same file name, following delegations, and check that the lengths, the hashes and the fields marked as “must match”, such as the hardware identifier and the release counter, agree.
Partial verification (Section 5.4.4.1) has two steps: load and verify the current time, or the most recent securely signed time; then download and check the Director’s Targets metadata. Checking Targets metadata (Section 5.4.4.6) means:
download no more than a byte limit that the implementer chooses;
compare its version number with the one listed in Snapshot metadata, a step that a partial-verification ECU may skip because it may hold no Snapshot metadata;
check that it carries signatures from the threshold number of distinct keys that the Director’s Root metadata names;
check that its version number is not lower than that of the Targets metadata accepted before, against rollback;
check that the current time is before its expiry time, against freeze;
check that it contains no delegations and names no ECU identifier twice.
Such an ECU must hold the Director’s Root and Targets metadata. It may also fetch and check new Director Root metadata, which is how it would learn that the Director’s Targets key was replaced.
Before installing, every ECU verifies the image itself (Section 5.4.3.4). It finds the Director’s entry for its own ECU identifier and checks that the hardware identifier there equals its own, that the file name is valid for it, and that the release counter is not lower than in the previous metadata. It decrypts the image if the image is encrypted, checks the image’s hashes against the metadata, and should also check the image’s length.
Worked example
All names, dates and values in this example are invented. A Secondary ECU, the brake controller brake-1, has hardware identifier hw-brk-a. It last accepted Director Targets metadata of version 11, which assigned it the image brake-3.0.bin with release counter 30. Today is 19 November 2026. The Primary passes on new Director Targets metadata: version 12, expiring on 1 December 2026, signed by the Director’s single Targets key (threshold 1). For brake-1 it lists the image brake-3.1.bin, 262,144 bytes long, with its cryptographic hash §5.1, hardware identifier hw-brk-a and release counter 31.
Partial verification. One valid signature meets the threshold of 1; ; 19 November is before 1 December; there are no delegations, and brake-1 appears once. Image check. hw-brk-a matches; ; the delivered image is 262,144 bytes long, which is bytes, as listed, and its hash matches. The ECU installs it.
Attack 1: a compromised Primary replays version 11, which is genuinely signed and not yet expired, to push brake-3.0.bin back. The Secondary rejects it, since . The Primary can, however, withhold version 13 when the Director issues it, and the Secondary has no way to notice this before version 12 expires on 1 December.
Attack 2: an attacker steals the Director’s online Targets key. The attacker signs version 13, expiring in a week. For brake-1 it lists brake-2.7.bin, an old genuine image with a known flaw, relabeled with release counter 32 and the correct hardware identifier. Every check of partial verification passes: one valid signature, , not expired, , matching hardware identifier, and a hash that matches the file actually sent. A full-verification ECU rejects the same metadata, because the Image repository’s entry for brake-2.7.bin carries its original release counter, say 27, and for a field that must match. An image that the attacker built fails full verification too, since the Image repository lists no such file.
What this account does not establish
This account follows version 1.2.0 of the Standard. The later versions 2.0.0 and 2.1.0 were not compared, and the security argument of the original 2016 paper was not read.
The Standard is a set of requirements, not a measurement or a proof; its statements about resilience are its authors’ design claims.
That partial verification gives no protection against a stolen Director Targets key, as Attack 2 shows, follows from the steps listed above. The Standard sends the reader to its Deployment Best Practices document for how to choose between partial and full verification, and that document was not read.
Freshness rests on the clock. The Standard requires every ECU to have a secure source of time, yet makes the time-verification step optional for an ECU that cannot verify a time message (Section 5.4.3.1). The expiry check is only as good as the time the ECU believes.
A Secondary depends on the Primary for delivery. A compromised Primary cannot forge the Director’s signatures, but it can drop, delay or withhold updates. The assumption that an attacker does not control both the Primary and a Secondary of one vehicle is part of the threat model, not a property that Uptane enforces.
A partial-verification ECU may skip the comparison with Snapshot metadata, so it does not check that its Targets metadata belongs to the same state of the repository as other files.
Against endless data, the byte limit for metadata is left to the implementer, and version 1.2.0 only recommends checking an image’s length; the Standard notes that this check will become a requirement.
Questions answered
What changes when a device performs only partial verification?
When a device performs only partial verification, it accepts an update on the authority of a single party, the holder of the Director repository’s Targets key, instead of requiring two independently controlled repositories to agree. In Uptane, the framework for securing over-the-air updates of vehicles, full verification checks that the Director’s instruction to install an image matches the Image repository’s signed record of that image. Partial verification checks only the Director’s signed Targets metadata.
The device keeps these protections: the signature threshold of the Director’s Targets key; rejection of Targets metadata with a lower version number than metadata it accepted before; rejection of expired metadata, if its clock is trustworthy; rejection of metadata with delegations or duplicate ECU identifiers; and, for the image, a matching hardware identifier, a release counter no lower than before, and matching hashes.
These things change:
Whoever holds the Director’s online Targets key can make the device install any image for its hardware identifier, including an old genuine image relabeled with a higher release counter. The fields that would catch this live in the Image repository’s metadata, which the device never reads.
The comparison with Snapshot metadata, the check against mix-and-match, may be skipped.
Freshness comes only from the expiry time of the Targets metadata and the device’s clock, not from Timestamp metadata.
The device learns that the Director’s key was replaced only if it also fetches new Root metadata.
The device depends on the Primary to deliver the metadata and the image, so a compromised Primary can withhold or delay updates, though it cannot forge them.
To judge any design with partial verification, list exactly which checks the device performs, which other party supplies the remaining assurance, how the device knows that this assurance is authentic, and what an attacker who compromises that party, or the relay in between, can then do.
Related entries: Authentication coverage (§5.41), Reference monitor (§1.17), TUF: surviving limited signing-key compromise (§21.10), Rollback versus anti-rollback (§8.26), Replay attack (§1.26), Root of trust (§1.33). Further reading: [214, 448].