Helper Data Masking for Physically Unclonable Function-Based Key Generation Algorithms

Amir Ali Pour, Fatemeh Afghah, David Hély, Vincent Beroulle, Giorgio Di Natale, Ashwija Reddy Korenda, Bertrand CambouIEEE Access 2022

Abstract

Physically Unclonable Functions (PUFs) provide a hardware-based "fingerprint" for secure key generation, but their inherent noise necessitates the use of public helper data for error correction. This public data, however, exposes the system to Helper Data Manipulation (HDM) attacks. This paper introduces a "variable positioning" masking technique that uses the PUF itself to generate a secret mask, hiding helper data at randomized locations. Our approach increases guessing entropy by up to 20 times and reduces the success rate of sophisticated HDM attacks to near zero, providing a robust, memoryless security solution for IoT and embedded hardware.

Introduction

Physically Unclonable Functions (PUFs) exploit microscopic manufacturing variations to create unique, device-specific identifiers. Unlike traditional cryptographic keys stored in non-volatile memory (NVM), PUF-based keys are generated on-demand, making them highly resistant to physical probing. However, PUF responses are susceptible to environmental noise (e.g., temperature and voltage fluctuations). To ensure consistent key regeneration, systems employ Fuzzy Extractors (FE) which utilize public "helper data" to correct these errors.

The public nature of helper data introduces a significant vulnerability: Helper Data Manipulation (HDM) attacks. An adversary can systematically alter the helper data and observe the device's response to leak information about the secret key. This paper addresses this vulnerability by proposing a novel masking scheme that obfuscates the helper data using the PUF's own entropy.

Proposed Methodology: Variable Positioning Masking

The core of the proposed solution is a multi-layered masking strategy that eliminates the need for external secret storage while maximizing the complexity for an attacker.

PUF-on-PUF Masking

To avoid the security risks associated with storing a mask in NVM, the researchers utilize different segments of an SRAM PUF. One segment generates the primary encryption key, while another generates a "mask value." This "PUF-on-PUF" approach ensures the system remains entirely memoryless.

Figure 1: The enrollment phase utilizes the SRAM PUF to generate the key and masked helper data.

Variable Positioning and Weak Mask Detection

Unlike static masking, the "variable positioning" technique uses the mask value to determine the starting position of the mask within the helper data string. This adds the entropy of the address space to the entropy of the mask itself, creating a combinatorial explosion of possibilities for an attacker.

Furthermore, the authors identified "weak masks"—vectors that might inadvertently transform one valid codeword into another, potentially aiding an HDM attack. A statistical detection method was developed to identify and reject these weak masks during the initial enrollment phase.

Experimental Setup and Datasets

The methodology was validated using an in-house SRAM-PUF device built on a microcontroller. Data was collected from 10 distinct devices, with 256-bit binary vectors read 100 times per device to characterize natural noise. This dataset was augmented to 100,000 responses to simulate high-volume attack scenarios. The system's resilience was tested against "Becker’s HDM Attack," a sophisticated mathematical attack targeting error-correction-based key generation.

Figure 2: The reconstruction phase (i) and the logic for handling masked helper data (j).

Results and Discussion

The effectiveness of the masking scheme was quantified by the increase in "guessing entropy"—the computational work required for an adversary to crack the key.

  • Entropy Enhancement: A single 16-bit mask provided a 5-fold increase in guessing entropy. Scaling to four 16-bit masks (64 bits total) resulted in a 20-fold increase against a Reed-Muller majority logic vote decoder.
  • Attack Mitigation: In trials with real SRAM data, the success rate of second-order HDM attacks dropped from nearly 100% to less than 5% when using a 32-bit mask. With a 64-bit mask, the attack failed completely even after 100,000 attempts.

These results highlight that by making the mask location secret, the security of the system scales much more effectively than simple XOR-based masking.

Conclusion and Future Work

The variable positioning masking technique significantly hardens PUF-based key generation against helper data manipulation without requiring secure NVM. While the security gains are substantial, future research will focus on optimizing the computational overhead for low-power IoT devices and exploring the trade-offs between key length and mask complexity. Additionally, while this method secures the helper data, complementary measures remain necessary to protect against side-channel attacks like power analysis.

Summary updated

BibTeX
@article{pour2022helper,
  author = {Amir Ali Pour and Fatemeh Afghah and David Hély and Vincent Beroulle and Giorgio Di Natale and Ashwija Reddy Korenda and Bertrand Cambou},
  title = {{Helper Data Masking for Physically Unclonable Function-Based Key Generation Algorithms}},
  journal = {IEEE Access},
  year = {2022},
  doi = {10.1109/access.2022.3165284},
}
Figure