Abstract
Physically Unclonable Functions (PUFs) are critical hardware security primitives that exploit manufacturing variations to provide unique device fingerprints. While simple Arbiter PUFs (APUFs) are vulnerable to machine learning attacks, hardened variants like XOR-PUFs and LP-PUFs were designed to resist such modeling. This paper introduces CalyPSO, a novel Particle Swarm Optimization (PSO) framework that shifts the attack paradigm from black-box functional learning to a bio-inspired search for underlying physical delay parameters. CalyPSO demonstrates unprecedented success in modeling high-order $k$-XOR PUFs (up to $k=20$) and the previously resilient LP-PUF, requiring significantly fewer challenge-response pairs than traditional neural network approaches.
Introduction
Hardware security often relies on Physically Unclonable Functions (PUFs) to generate unique, device-specific keys without storing them in non-volatile memory. Delay-based PUFs, such as the Arbiter PUF (APUF), utilize the timing differences in signal propagation paths caused by nanoscale manufacturing variations. To counter simple modeling attacks, designers have introduced complex architectures like XOR-PUFs and Input-Transformed PUFs (e.g., LP-PUF) to introduce non-linearity and obfuscation.
Hardened PUF Architectures
Traditional machine learning (ML) attacks struggle as the number of XORed chains increases or when input challenges are obfuscated. The LP-PUF, for instance, uses a mixing layer to transform inputs, making the relationship between challenge and response highly non-linear.
The CalyPSO Framework
The core innovation of this work is CalyPSO, a PSO variant specifically designed for the landscape of hardware delays. Unlike standard Genetic Algorithms (GAs) that rely on crossover operations, CalyPSO adopts an "amoebic reproduction" strategy.
The Crossover Pitfall
A key theoretical insight of the paper is that standard crossover is destructive for PUF modeling. Because a PUF's response is determined by the cumulative sum of delays along a path, swapping segments of delay vectors between two "fit" individuals typically destroys the delicate timing balance, resulting in offspring with poor predictive accuracy.
Optimization Strategies
CalyPSO employs several strategies to enhance its search:
- Landscape Evolution: The algorithm periodically refreshes the training data subset to prevent the swarm from converging on local optima, effectively smoothing the fitness landscape.
- Downgrade Attacks: By exploiting mathematical redundancies, CalyPSO can model a $k$-XOR PUF using a $(k-1)$-XOR architecture.
- Majority Voting: Predictions are aggregated across the entire swarm to improve noise resilience and overall accuracy.
Experimental Results
The researchers validated CalyPSO using simulated data (PyPUF), hardware data from Nexys 4 DDR FPGAs, and public benchmarks.
- High-Order XORs: CalyPSO successfully modeled a 20-XOR PUF with approximately 80% accuracy, a feat previously considered computationally prohibitive for neural networks.
- Data Efficiency: For a 10-XOR PUF, CalyPSO required only 2 million challenge-response pairs (CRPs), compared to the 119 million CRPs needed by traditional neural networks.
- LP-PUF Vulnerability: The attack achieved up to 84% accuracy on the LP-PUF by searching for a functional equivalent of the input transformation layer.
- Hardware Performance: On real FPGA silicon, the framework achieved an average accuracy of 97.43%.
Conclusion
CalyPSO represents a significant advancement in hardware security analysis, proving that searching the physical parameter space is often more effective than functional mapping. The results suggest that future PUF designs must move beyond simple non-linearity and focus on creating fitness landscapes that are resistant to evolutionary search techniques.
Summary updated