Dual-Partition Secure Boot for Field Update Rollback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Field systems in remote locations face challenges with secure updates and rollback mechanisms, particularly in environments with limited physical security, leading to potential system tampering and operational downtime due to compromised gateways.
Innovation Solution
Implementing a field system with a first and second partition, where the second partition becomes active after a secure bootloader configuration change, followed by root of trust measurements and encryption key access, allowing for a fail-safe rollback to the first partition in case of update issues.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a bootloader configuration change is performed to activate a second partition for system updates, then system update capability is improved, but system security and reliability are worsened due to potential tampering and unauthorized modifications
Solution Approach 1:
The patent performs root of trust measurements of the bootloader configuration before allowing partition activation. This preliminary verification ensures that only authorized bootloader configurations can switch partitions, preventing unauthorized system updates while enabling legitimate updates through pre-validated configuration changes.
Solution Approach 2:
The patent introduces an encryption key as an intermediary between the bootloader configuration and the partition data. The encryption key is conditionally decrypted based on root of trust measurements, acting as a security gate that mediates access to the second partition only when the bootloader configuration is verified as authentic and authorized.
2Reliability
If encryption is implemented to protect partition data, then data confidentiality is improved, but system complexity increases due to key management and decryption operations
Solution Approach 1:
The patent applies encryption selectively only to the second partition that contains update data, rather than encrypting the entire system storage. The encryption key is locally stored and conditionally decrypted only when needed for partition switching. This localized approach provides data confidentiality for sensitive areas while minimizing the overall system complexity burden.
3Ease of repair
If a partition switching mechanism is implemented for updates, then system maintainability is improved, but operational downtime increases due to reboot requirements
Solution Approach 1:
The patent performs all verification and decryption operations before the actual partition switch is executed. Root of trust measurements are taken, encryption keys are decrypted, and the second partition is validated in advance. This preliminary preparation ensures that when the partition switch occurs, it can be executed quickly with minimal downtime, as no additional verification is needed during the actual transition.
4Reliability
If root of trust measurements are performed to verify bootloader configuration, then system security is improved, but processing time increases due to additional verification steps
Solution Approach 1:
The root of trust measurements are performed as part of the normal system initialization and partition activation process, rather than being executed repeatedly during operation. The measurements verify the bootloader configuration once before partition switching, establishing trust in advance. This approach provides strong security verification while minimizing the impact on operational processing time.
Data Source
AI summary
A method can include operating a field system using a first partition as an active partition and a second partition as a passive partition; responsive to receipt of a system update, changing a bootloader configuration from the first partition to the second partition; performing root of trust measurements for the update where the measurements account at least for the change in the bootloader configuration; responsive to establishing trust via the measurements, accessing an encryption key; decrypting, using the encryption key, at least the second partition for use by the system; and rebooting the field system using the second partition as an active partition and the first partition as a passive partition for a system rollback responsive to detection of a system update issue.


