An Efficient and Scalable Modeling Attack on Lightweight Secure Physically Unclonable Function

Phuong Ha Nguyen, Durga Prasad SahooIACR ePrint 2016

Introduction

Physically Unclonable Functions (PUFs) serve as hardware-based security primitives, providing unique "digital fingerprints" for silicon chips. These are primarily used for secure authentication and cryptographic key generation. However, the security of simple PUFs is often compromised by modeling attacks, where machine learning (ML) algorithms predict responses based on collected challenge-response pairs (CRPs). To mitigate this, the Lightweight Secure PUF (LSPUF) was designed to be resistant to such attacks by XORing multiple internal Arbiter PUF (APUF) outputs and employing complex input/output networks.

The LSPUF Architecture

The LSPUF architecture aims to increase the complexity of the modeling problem beyond the reach of conventional ML. It typically consists of an input network $G$, a set of internal PUF components $A_0, \dots, A_{k-1}$, and an output network $H$.

Architecture of the Lightweight Secure PUF (LSPUF) showing the input network G, internal components A, and output network H.

By XORing the outputs of these internal components, the system creates a non-linear relationship that was previously thought to require exponential computational effort to model as the number of XORed components ($x$) increased. Conventional security assumptions suggested that configurations with 9 or more XORs were computationally infeasible to break.

Methodology: The Virtual Bit Strategy

The core of the newly developed attack is a "divide-and-conquer" approach that exploits mathematical correlations within the LSPUF's multi-bit output generation. The researchers identified that the output network $H$ often reuses internal components in a predictable "sliding window" fashion.

By XORing adjacent output bits (e.g., $o_i \oplus o_{i+1}$), many of the internal components cancel each other out. This creates what the authors term "virtual bits." These virtual bits depend on significantly fewer internal PUFs than the original output bits, reducing a complex $x$-XOR problem into a much simpler sub-problem.

Matrix representation of virtual bits (v) constructed from XOR sums of actual output bits (o).

Once these simpler models are learned using standard Logistic Regression, the attacker can apply linear algebra—specifically matrix inversion—to reconstruct the full model of the device and predict any output bit with high accuracy.

Experimental Results

The attack was validated using both simulated data and real-world hardware implementations on Xilinx Artix-7 FPGAs.

  • Simulation: In noise-free environments, the attack successfully modeled 64-bit 9-XOR LSPUFs with over 98% accuracy.
  • Hardware: On actual FPGA hardware, the attack remained effective despite physical noise and circuit biases. It achieved success rates significantly higher than random guessing, demonstrating that the "security" provided by XORing many components is illusory when outputs are correlated.
  • Efficiency: Unlike previous brute-force ML attempts, this cryptanalytic approach is highly scalable and can be executed on standard computing hardware with relatively small training sets (25,000 to 120,000 CRPs).

Conclusion

This research demonstrates that the Lightweight Secure PUF is vulnerable to efficient modeling attacks if it produces multiple correlated output bits. The "virtual bit" technique effectively bypasses the complexity of XOR-based obfuscation. For future hardware security designs, it is critical to ensure that output networks do not reuse internal components in ways that allow for such mathematical simplification.

Summary updated

BibTeX
@article{nguyen2016efficient,
  author = {Phuong Ha Nguyen and Durga Prasad Sahoo},
  title = {{An Efficient and Scalable Modeling Attack on Lightweight Secure Physically Unclonable Function}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2016},
}
Figure