What is Anti-rollback protection?
A mechanism recording a minimum version number in storage that cannot be rolled back so software cannot be reverted to older vulnerable versions.
Japanese name: ロールバック防止
A mechanism recording a minimum version number in storage that cannot be rolled back so software cannot be reverted to older vulnerable versions.
Japanese name: ロールバック防止
Secure boot starts only software with a valid signature. Older versions of the software, however, also carry a genuine signature. If an attacker writes back an old version that still has a vulnerability already fixed, signature verification passes, and the vulnerability is then exploited. Preventing this requires checking how recent the version is, in addition to the signature.
A security version number is placed in the software and covered by the signature. On the device, the minimum number that will be accepted is recorded in storage that cannot be rolled back, such as one-time-programmable fuses or a counter that can only increase. At boot or update, the device checks that the software’s number is at least the minimum. The minimum is raised only after the new version has been confirmed to boot correctly. Since a blown fuse cannot be restored, a common method expresses the number as the count of blown fuses.
Once the minimum is raised, it cannot be lowered. Even if a problem is found in the new version, the device can no longer return to the old one. For this reason a security number is kept separately from the functional version number and is raised only when a vulnerability is fixed. In a design with two copies of the software, kept so that the device can still boot if an update fails, the number is raised only after the new copy has booted correctly. The number of fuses is finite, so there is an upper limit on how many times it can be raised.
Answer: C. Older vulnerable software versions also carry valid signatures, so reverting to them enables attacks
The vendor has signed older releases legitimately too, so signature checks alone would still boot an old version reinstalled after a vulnerability was found. Software therefore carries a version number, and the chip records in write-once storage such as eFuses a minimum version below which it refuses to boot. Advancing this number with each update prevents rollback to old versions.
Answer: B. Advance it after the new firmware's signature has been verified and it has been confirmed to boot and run normally from its side
If the number is advanced first and the new firmware turns out to be corrupted or fails to boot, the old version remaining on the original side is also rejected as "older than the minimum version", and the device can no longer boot. So the new version is written to the free side, its signature is verified, and only after it has been confirmed to boot and run normally from that side (commit) is the minimum version number advanced. After that, the device is protected from being rolled back to an old vulnerable version. Conversely, if the number is never advanced, attacks that write back an old, correctly signed version cannot be prevented.
No. If an attacker can rewrite the flash memory, the number is rolled back to the old value along with the software.
It is widely used in devices that have a software update mechanism, such as smartphones, game consoles, automotive control units and IoT devices.
As an Amazon Associate I earn from qualifying purchases.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.