[Paper Review] Formally Verified Hardware/Software Co-Design for Remote Attestation
This paper presents VRASED, the first formally verified hardware/software co-design for remote attestation in low-end embedded systems. By combining a formally verified HMAC implementation with a verified hardware design, VRASED ensures end-to-end security properties with minimal hardware overhead, achieving correctness through machine-checked proofs in a verified co-design framework.
In this work, we take the first step towards formal verification of Remote Attestation (RA) by designing and verifying an architecture called VRASED: Verifiable Remote Attestation for Simple Embedded Devices. VRASED instantiates a hybrid (HW/SW) RA co-design aimed at low-end embedded systems, e.g., simple IoT devices. VRASED provides a level of security comparable to HW-based approaches, while relying on SW to minimize additional HW costs. Since security properties must be jointly guaranteed by HW and SW, verification is a challenging task, which has never been attempted before in the context of RA. We believe that VRASED is the first formally verified RA scheme. To the best of our knowledge, it is also the first formal verification of a HW/SW implementation of any security service. To demonstrate VRASED's practicality and low overhead, we instantiate and evaluate it on a commodity platform (TI MSP430). VRASED's publicly available implementation was deployed on the Basys3 FPGA.
Motivation & Objective
- To address the lack of formal verification in remote attestation (RA) systems, especially for low-end embedded devices.
- To close the gap in formally verified hybrid RA architectures that jointly verify hardware and software components.
- To design a minimal, efficient RA system suitable for resource-constrained IoT devices with provable security guarantees.
- To demonstrate practicality by implementing and verifying VRASED on commodity platforms like the MSP430 and Basys3 FPGA.
- To establish a methodology for formally verifying hardware/software co-designs of security services, setting a precedent for future work.
Proposed method
- Designing VRASED as a hybrid hardware/software co-design that leverages a formally verified HMAC implementation (HACL*) for cryptographic integrity.
- Using formal specification and verification in the Isabelle/HOL theorem prover to verify the entire stack, from low-level hardware behavior to end-to-end RA security properties.
- Modeling the MSP430 microcontroller’s behavior using axioms and LTL specifications to enable formal reasoning about hardware-software interaction.
- Verifying the hardware design in Verilog using formal methods, ensuring correct behavior under all execution paths.
- Integrating the verified software and hardware components into a complete, end-to-end verified RA protocol.
- Deploying the verified implementation on the TI MSP430 and Basys3 FPGA to demonstrate practicality and low overhead.
Experimental results
Research questions
- RQ1Can a hybrid hardware/software co-design for remote attestation be formally verified from the ground up, including both hardware and software components?
- RQ2What is the minimal hardware and software overhead required to achieve formally verified remote attestation in low-end embedded systems?
- RQ3How can formal verification techniques be applied to ensure that security properties like integrity and confidentiality are preserved in a co-designed RA system?
- RQ4Can a formally verified RA system be practically deployed on commodity low-end platforms like the MSP430?
- RQ5What are the performance and resource trade-offs of a formally verified RA system compared to non-verified counterparts?
Key findings
- VRASED is the first formally verified remote attestation scheme, with all trusted components—including hardware, software, and their composition—verified using machine-checked proofs.
- The hardware overhead of VRASED is minimal, requiring only 0.8% additional LUTs and 0.5% additional registers on the Basys3 FPGA.
- The total attestation time for 4KB of memory is 3.6 million CPU cycles, outperforming SMART (9.2M cycles) and approaching SANCUS (1.3M cycles).
- The verified software component uses HACL*, a formally verified cryptographic library, ensuring correctness of HMAC computation.
- The implementation was successfully deployed on the MSP430 and Basys3 FPGA, demonstrating practicality and low resource consumption.
- Formal verification uncovered previously unknown vulnerabilities in prior designs, such as the non-atomicity of interrupt disabling in SMART, highlighting the value of verification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.