Securing Soft IP Cores in FPGA based Reconfigurable Mobile Heterogeneous Systems

Alberto Carelli, Cataldo Basile, Alessandro Savino, Alessandro Vallero, Stefano Di CarloarXiv 2019 · arXiv

TL;DR

This paper proposes two security protocols for deploying FPGA "soft IP" cores in a modern mobile application ecosystem. By leveraging Direct Anonymous Attestation (DAA), the authors demonstrate how software developers can securely deliver hardware accelerators to end-user devices without needing to trust intermediate app stores or even the hardware manufacturers themselves.

What Problem Does This Paper Address?

As mobile devices become more powerful, they are increasingly adopting heterogeneous architectures that include reconfigurable logic, such as Field-Programmable Gate Arrays (FPGAs). This allows mobile apps to offload heavy tasks (like video processing or cryptography) to specialized hardware accelerators.

However, this introduces a major security hurdle: Intellectual Property (IP) protection. A bitstream—the file that configures the FPGA—is the "source code" of the hardware. If an adversary intercepts it, they can reverse-engineer the design or create illegal clones. In a traditional industrial setting, the system designer controls the entire chain. In the mobile market, you have a complex web of independent actors: software providers (SWPs), hardware vendors (HWVs), application stores, and end-users.

The challenge is ensuring confidentiality (only the legitimate device can read the bitstream), integrity (the bitstream hasn't been tampered with), and authenticity (it actually came from the developer), all while navigating a landscape where the end-user device might be compromised and the various business entities may not fully trust one another.

![Fig.

  1. Actors involved in our scenarios showing a common mobile application deployment flow](/figures/art_4cd05cb21020469c818468f0351b1149)

Methods

The authors propose a system architecture where the mobile device is split into an Untrusted Area (the main CPU/OS) and a Trusted Area called the Hardware Acceleration Platform (HAP), which contains the FPGA and a secure microcontroller.

![Fig.

  1. Mobile application paradigm considered mapped onto the (sim-plified) architecture of the End User Device](/figures/art_cd0d31bfd6864ee3a72c263cd1710602)

They detail two deployment protocols:

  1. Simple Scenario: Assumes a trust relationship exists between the Software Provider and the Hardware Vendor (e.g., via a Non-Disclosure Agreement). The HWV acts as a trusted third party that encrypts the developer's bitstream specifically for a target device's unique ID.
  2. Advanced Scenario: Removes the trust requirement between the SWP and HWV by using Direct Anonymous Attestation (DAA). DAA allows the HAP to prove to the Software Provider that it is a legitimate, non-compromised device without revealing its specific identity. This preserves user privacy while allowing the SWP to securely exchange a session key directly with the HAP to encrypt the bitstream.

The authors implemented a proof-of-concept using the SEcube™ platform, a system-on-chip that integrates an ARM Cortex-M4 processor, a Lattice FPGA, and an EAL5+ certified SmartCard.

Datasets

Not discussed in the paper. The research focuses on protocol design and architectural proof-of-concept rather than data-driven benchmarking.

Key Insights and Ideas

  • The "Man-at-the-End" (MATE) Threat: The authors emphasize that in mobile security, the user themselves (or a malicious app on their phone) is a primary threat. Therefore, the bitstream must remain encrypted until it is inside the "Trusted Area" of the HAP.
  • DAA as a Privacy Enabler: By using DAA, the system avoids a "Big Brother" scenario where a central authority tracks every app purchase. The SWP can verify the hardware's integrity without knowing exactly which device it is talking to.
  • Decoupling SW and HW Deployment: The protocols allow the software (executable code) to be distributed normally through app stores while the hardware bitstream follows a separate, more secure path, even if both are bundled in the same app package.

Key Results

  • Protocol Feasibility: The authors successfully demonstrated that the complex DAA handshake and bitstream decryption can be performed on constrained embedded hardware (the SEcube™ platform).
  • Security Robustness: The analysis shows that the protocols are resilient against both Man-in-the-Middle (MITM) network attacks and local MATE attacks. Even if an attacker has physical access to the device's memory or storage, the bitstream remains an unintelligible ciphertext until it reaches the secure HAP.
  • Trustless Deployment: The advanced scenario successfully enables a software developer to sell hardware-accelerated apps without ever giving their raw bitstream to the hardware manufacturer or the app store.

![Fig.

  1. The simple case workflow for downloading a new application.](/figures/art_3a0867ae2e7c453d9456204aef1fa39e)

Limitations and Future Work

  • DAA Overhead: While secure, DAA is computationally intensive. The authors note that current TPM-based implementations might face integration issues, though fully reconfigurable FPGAs can mitigate this by implementing optimized DAA primitives.
  • Supply Chain Trust: The system still assumes the Hardware Vendor is honest during the manufacturing phase. If a vendor inserts a hardware backdoor during production, the entire chain of trust is broken.
  • Physical Attacks: While the HAP is designed to be tamper-resistant, extremely sophisticated (and expensive) invasive physical attacks could potentially extract keys, though the authors argue this is "exceedingly difficult" in a real-world environment.

Summary updated

Abstract

The mobile application market is rapidly growing and changing, offering always brand new software to install in increasingly powerful devices. Mobile devices become pervasive and more heterogeneous, embedding latest technologies such as multicore architectures, special-purpose circuits and reconfigurable logic. In a future mobile market scenario reconfigurable systems are employed to provide high-speed functionalities to assist execution of applications. However, new security concerns are introduced. In particular, protecting the Intellectual Property of the exchanged soft IP cores is a serious concern. The available techniques for preserving integrity, confidentiality and authenticity suffer from the limitation of heavily relying onto the system designer. In this paper we propose two different protocols suitable for the secure deployment of soft IP cores in FPGA-based mobile heterogeneous systems where multiple independent actors are involved: a simple scenario requiring trust relationship between entities, and a more complex scenario where no trust relationship exists through adoption of the Direct Anonymous Attestation protocol. Finally, we provide a prototype implementation of the proposed architectures.
BibTeX
@misc{carelli2019securing,
  author = {Alberto Carelli and Cataldo Basile and Alessandro Savino and Alessandro Vallero and Stefano Di Carlo},
  title = {{Securing Soft IP Cores in FPGA based Reconfigurable Mobile Heterogeneous Systems}},
  year = {2019},
  eprint = {1912.00696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.00696},
}
Figure