SecuCode: Intrinsic PUF Entangled Secure Wireless Code Dissemination for Computational RFID Devices

Yang Su, Yansong Gao, Michael Chesser, Omid Kavehei, Alanson P. Sample, Damith Chinthana RanasingheIEEE TDSC 2018 · DOI

Introduction

Computational RFIDs (CRFIDs) represent a burgeoning class of IoT devices that operate entirely on harvested radio frequency (RF) energy. These batteryless sensors are ideal for "set-and-forget" deployments, such as structural health monitoring in reinforced concrete or medical implants like pacemakers. However, their reliance on intermittent energy sources creates a significant security hurdle: how to securely update firmware in the field without wired access or permanent, vulnerable cryptographic keys.

SecuCode is the first secure wireless firmware update protocol designed specifically for these intermittently powered devices. By "entangling" a device’s unique hardware fingerprint with a standards-compliant update protocol, SecuCode enables secure code dissemination without specialized hardware or permanent key storage.

The Challenge of Intermittent Power

CRFIDs face unique operational constraints. They lack a supervisory operating system and possess extremely limited memory. Most critically, they suffer from "intermittent" power; when the harvested energy reservoir runs dry, the device loses state—a condition known as a brownout.

Energy harvesting architecture and the resulting voltage fluctuations (brownouts) during operation.

Traditional security relies on storing keys in non-volatile memory (NVM), which is susceptible to physical tampering and side-channel attacks. Furthermore, standard cryptographic tasks often exceed the energy capacity of a single power cycle, causing the device to crash mid-calculation.

The SecuCode Protocol

To overcome these hurdles, SecuCode introduces several novel techniques:

Intrinsic SRAM PUF

Instead of storing a secret key, SecuCode exploits the random, device-specific power-up state of on-chip Static Random Access Memory (SRAM). This Physical Unclonable Function (PUF) acts as a unique hardware fingerprint to derive cryptographic keys on-the-fly. The key exists only in volatile memory during the update and is discarded immediately after, leaving no trace for a physical attacker to extract.

Reverse Fuzzy Extractor

PUF responses are naturally "noisy" due to environmental factors like temperature. SecuCode utilizes a reverse fuzzy extractor to handle this. The resource-constrained CRFID generates "helper data," while the computationally expensive task of reconstructing the exact key is offloaded to the powerful server (the Reader/Prover). This roles-reversal is critical for maintaining the device's low power profile.

The SecuCode protocol sequence, detailing the interaction between the Reader and Transponder using PUF-derived keys.

Intermittent Execution Model (IEM)

To prevent crashes during heavy cryptographic tasks, such as calculating a Message Authentication Code (MAC), the researchers developed an IEM. This model breaks intensive functions into smaller subtasks interleaved with low-power sleep states. This allows the reservoir capacitor to recharge between bursts of computation, effectively letting the protocol "breathe" in sync with its energy environment.

Key Results and Evaluation

The researchers evaluated SecuCode using a new SRAM PUF dataset collected from 21 MSP430-based devices across a wide temperature range (-15°C to 80°C).

  • Reliability: By implementing temperature-conditional updates and pre-selecting stable SRAM bits, the Bit Error Rate (BER) was reduced to less than 0.94%.
  • Efficiency: The implementation is remarkably lightweight, requiring only 133 bytes of SRAM and approximately 4KB of code memory (FRAM).
  • Success Rates: In experimental trials, the IEM significantly boosted performance. At a 60cm distance, the success rate for a MAC computation jumped from 20% to 80% when using intermittent execution settings.
  • Security: The protocol achieves a 128-bit security level, providing robust protection against malicious code injection.

Discussion and Future Work

SecuCode demonstrates that key volatility can be a security feature rather than a bug. By deriving keys from hardware variations and never storing them permanently, the system achieves intrinsic tamper resistance.

While the current protocol focuses on integrity and authenticity, future iterations could address firmware confidentiality (encryption). Additionally, while the current IEM uses fixed sleep intervals, future work may explore dynamic task scheduling to optimize updates based on real-time energy harvesting conditions. Scaling the protocol from one-to-one updates to secure "broadcast" updates for large-scale deployments remains an open challenge for the field.

Summary updated

BibTeX
@article{su2018secucode,
  author = {Yang Su and Yansong Gao and Michael Chesser and Omid Kavehei and Alanson P. Sample and Damith Chinthana Ranasinghe},
  title = {{SecuCode: Intrinsic PUF Entangled Secure Wireless Code Dissemination for Computational RFID Devices}},
  journal = {IEEE Trans. Dependable Secur. Comput.},
  year = {2018},
  doi = {10.1109/tdsc.2019.2934438},
}
Figure