Skip to main content
QUICK REVIEW

[Paper Review] HYDRA: HYbrid Design for Remote Attestation (Using a Formally Verified Microkernel)

Karim Eldefrawy, Norrathep Rattanavipanon|arXiv (Cornell University)|Mar 7, 2017
Security and Verification in ComputingComputer Science7 citations
TL;DR

HYDRA presents the first hybrid remote attestation scheme using the formally verified seL4 microkernel to enforce memory isolation and access control, enabling secure, efficient attestation on commodity hardware without hardware modifications. It achieves attestation of 10 MB of memory in under 500 ms using a Speck-based MAC, demonstrating practicality and strong security guarantees via formal verification.

ABSTRACT

Remote Attestation (RA) allows a trusted entity (verifier) to securely measure internal state of a remote untrusted hardware platform (prover). RA can be used to establish a static or dynamic root of trust in embedded and cyber-physical systems. It can also be used as a building block for other security services and primitives, such as software updates and patches, verifiable deletion and memory resetting. There are three major classes of RA designs: hardware-based, software-based, and hybrid, each with its own set of benefits and drawbacks. This paper presents the first hybrid RA design, called HYDRA, that builds upon formally verified software components that ensure memory isolation and protection, as well as enforce access control to memory and other resources. HYDRA obtains these properties by using the formally verified seL4 microkernel. (Until now, this was only attainable with purely hardware-based designs.) Using seL4 requires fewer hardware modifications to the underlying microprocessor. Building upon a formally verified software component increases confidence in security of the overall design of HYDRA and its implementation. We instantiate HYDRA on two commodity hardware platforms and assess the performance and overhead of performing RA on such platforms via experimentation; we show that HYDRA can attest 10MB of memory in less than 500msec when using a Speck-based message authentication code (MAC) to compute a cryptographic checksum over the memory to be attested.

Motivation & Objective

  • To explore a new design space for hybrid remote attestation by integrating formally verified software components to improve security confidence.
  • To reduce reliance on specialized hardware by leveraging the seL4 microkernel’s formal verification for memory isolation and access control.
  • To demonstrate practical performance of hybrid RA on commodity platforms while maintaining strong security guarantees.
  • To extend hybrid RA beyond simple, low-end devices to support multi-process, capable embedded and cyber-physical systems.
  • To provide a foundation for future secure systems by combining verified kernels with cryptographic attestation.

Proposed method

  • HYDRA uses the formally verified seL4 microkernel to enforce memory isolation and access control, ensuring that only authorized processes can access attested memory regions.
  • The attestation process is structured into three phases: request verification, memory mapping, and cryptographic checksum computation using a keyed MAC.
  • Memory regions from the target process are mapped into the attestation process’s address space via seL4’s secure memory mapping primitives.
  • A cryptographic checksum is computed using a MAC function (e.g., Speck-64-128) over the attested memory regions to ensure integrity.
  • The design leverages the formally verified seL4 executable, guaranteeing that implementation matches the verified specification.
  • Performance evaluation is conducted on two commodity boards (Sabre Lite and ODROID-XU4) using various memory sizes and numbers of processes.

Experimental results

Research questions

  • RQ1Can a hybrid remote attestation scheme achieve strong security guarantees using only formally verified software components, without requiring hardware extensions?
  • RQ2How does the performance of remote attestation scale with increasing memory size when using a formally verified microkernel?
  • RQ3What is the relative performance overhead of memory mapping and cryptographic checksum computation in a formally verified environment?
  • RQ4Can hybrid RA be practically deployed on commodity hardware platforms without modifications, while maintaining low latency?
  • RQ5How does the number of concurrent processes affect the attestation performance in a formally verified system?

Key findings

  • HYDRA achieves remote attestation of 10 MB of memory in less than 500 ms on commodity hardware using a Speck-based MAC, demonstrating practical performance.
  • The cryptographic checksum computation ($MacMem$) accounts for 84.89% of the total attestation time when attesting 1 MB of memory, making it the dominant performance bottleneck.
  • Memory mapping ($RetrieveMem$) contributes less than 16% of the total runtime, indicating that seL4’s access control mechanisms introduce minimal performance overhead.
  • The performance of $MacMem$ is linear with respect to memory size, enabling predictable scaling up to 10 MB of attested memory.
  • The runtime of $MacMem$ remains reasonably linear with the number of processes, showing that HYDRA scales well in multi-process environments.
  • Speck-64-128 and BLAKE2S provide the fastest MAC performance on seL4, outperforming CBC-AES and HMAC-SHA-256 by at least 33% on the Sabre Lite platform.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.