Modeling Strong Physically Unclonable Functions with Metaheuristics

Carlos A. Coello Coello, Marko Djurasevic, Domagoj Jakobovic, Luca Mariot, Stjepan Picek

Introduction

Physically Unclonable Functions (PUFs) are often described as the "hardware fingerprints" of the semiconductor world. They leverage microscopic manufacturing variations to create unique, unpredictable identities for chips, making them ideal for secure authentication without needing to store secret keys in volatile memory. "Strong" PUFs are designed to handle a massive number of challenge-response pairs (CRPs). However, they aren't invincible. Researchers have previously used machine learning and specific evolutionary algorithms (like CMA-ES) to build mathematical models that predict a PUF's response to any given challenge—essentially "cloning" the unclonable in software.

The gap this paper fills is one of systematic comparison. While CMA-ES is the go-to tool for "reliability attacks" (which exploit noise in responses), its performance hadn't been rigorously compared against other metaheuristics for standard CRP-based attacks. This study investigates whether we are using the best tool for the job and how much parameter tuning actually matters.

Methodology

The researchers evaluated six different metaheuristic algorithms: Artificial Immune System (AIS), Clonal Selection Algorithm (CLONALG), Covariance Matrix Adaptation Evolution Strategy (CMA-ES), Differential Evolution (DE), Generational Genetic Algorithm (RW), and Steady-State Genetic Algorithm (SST). The attack involves treating the PUF's internal delays as a vector of floating-point numbers. The algorithms attempt to evolve a vector that minimizes a fitness function based on the number of prediction errors on a training set of CRPs.

Table 1: Parameter configurations for the evaluated metaheuristic algorithms.

The study used simulated PUF instances, testing Arbiter PUFs (APUFs) at sizes of 16, 32, 64, and 128 stages, as well as XOR Arbiter PUFs. The XOR design is a more complex, non-linear architecture; 4-XOR configurations with 16, 32, and 64 stages were tested. Training sets ranged from 2,000 to 250,000 CRPs, while the test set was kept at a constant 1,000 CRPs to evaluate generalization.

Figure 1: Architecture of an XOR Arbiter PUF, which combines multiple parallel APUF chains to increase resistance to modeling attacks.

Results and Discussion

One of the most striking findings was that CMA-ES is incredibly robust. While other algorithms required meticulous parameter tuning to achieve good results, CMA-ES performed well even with sub-optimal settings. The authors observed a clear "generalization effect": if an algorithm achieves high accuracy on the training set, it almost always performs equally well on the test set, provided the training set is large enough to prevent overfitting.

Moving from a standard Arbiter PUF to an XOR Arbiter PUF represents a significant difficulty spike. For the 4x64 XOR PUF, only CMA-ES could achieve acceptable accuracy, requiring 250,000 CRPs to converge. On the simplest 1x16 APUF, almost all methods reached near-zero error. On the largest 1x128 APUF, CMA-ES reached zero errors with 50,000 CRPs, while AIS and CLONALG followed closely. Using Spearman’s rank correlation, the authors proved that as the number of CRPs increases, the correlation between training performance and test performance approaches 1.0.

Conclusion

This study provides the first systematic benchmark of metaheuristics for modeling strong PUFs. While CMA-ES remains the reigning champion in terms of accuracy and robustness, several simpler algorithms can be surprisingly effective if provided with enough training data. Future work will include evaluations against Interpose PUFs and a systematic study of these metaheuristics against reliability attacks, where environmental noise is exploited.

Summary updated

BibTeX
@inproceedings{coello2023modeling,
  author = {Carlos A. Coello Coello and Marko Djurasevic and Domagoj Jakobovic and Luca Mariot and Stjepan Picek},
  title = {{Modeling Strong Physically Unclonable Functions with Metaheuristics}},
  booktitle = {GECCO Companion},
  year = {2023},
  doi = {10.1145/3583133.3590699},
}
Figure