PUF-FSM: A Controlled Strong PUF

Yansong Gao, Damith Chinthana Ranasinghe

This paper introduces PUF-FSM, a novel hardware security primitive designed to provide a "controlled strong PUF" (Physical Unclonable Function) that is both lightweight and resilient to advanced machine learning attacks. By integrating a Finite State Machine (FSM) and a statistical approach to noise management, the authors eliminate the need for expensive error correction circuitry, making it ideal for resource-constrained Internet of Things (IoT) devices.

TL;DR

PUF-FSM is a practical, controlled strong PUF that secures IoT devices without the overhead of Error Correction Codes (ECC) or the security risks of helper data. It uses an FSM to gate access to the PUF and a device-side nonce to neutralize advanced modeling attacks like CMA-ES.

What Problem Does This Paper Address?

Physical Unclonable Functions (PUFs) act as a unique "digital fingerprint" for hardware, exploiting manufacturing variations to generate secret keys. "Strong" PUFs are particularly desirable because they have a massive space of challenge-response pairs (CRPs). However, they face two major hurdles:

  1. Modeling Attacks: Attackers can use machine learning (like Logistic Regression or SVMs) to build a mathematical model of the PUF and predict responses to unseen challenges.
  2. The ECC Dilemma: PUF responses are inherently noisy. Standard solutions use Error Correction Codes (ECC) and "helper data" to stabilize them. However, ECC is computationally expensive for cheap IoT chips, and helper data often leaks information that enables even more powerful "reliability-based" attacks (e.g., CMA-ES).

Methods

The authors propose a "Controlled PUF" architecture that replaces traditional ECC with a clever combination of statistical modeling and sequential logic.

  • Error-Free Response Selection: Instead of fixing errors after they happen, the system uses a statistical model of the underlying Arbiter PUF (APUF) to identify challenges that are naturally stable and noise-free. Only these "error-free" responses are used.
  • FSM Control Logic: The PUF is wrapped in an FSM. As shown in the general structure (Figure 3), the PUF responses ($R$) act as transition edges for the FSM. An attacker cannot simply query the PUF; they must provide a specific sequence of challenges that drives the FSM into an "Output Enable" state ($S_{OE}$).
General structure of the PUF-FSM
  • State Transitions: Figure 4 illustrates how the FSM moves through layers ($L$) and depths ($D$). Only a correct sequence of transition edges ($TR$) allows the system to reach $S_{OE}$ and produce a valid cryptographic key.
FSM example with five levels and three depths
  • Device-Side Nonce: To prevent reliability-based attacks, the system incorporates a Random Number Generator (RNG) to produce a nonce. The final key is a hash of the stable PUF responses and this nonce: $Key = HASH(R_{secret}, nonce)$.

Datasets

The paper does not use a specific public dataset. Instead, it relies on the well-established linear additive model of the Arbiter PUF (APUF), shown in Figure 1. The authors build upon prior research (specifically Xu et al.) demonstrating that Support Vector Machines (SVMs) can be used to characterize APUF delays and predict stable responses with high accuracy (approx. 80% of random challenges).

Key Insights and Ideas

  • Eschewing ECC: By judiciously selecting stable responses during the enrollment phase, the authors prove that a controlled PUF can function reliably without the silicon area and power overhead of hardware ECC.
  • Breaking the ML Link: Traditional modeling attacks require a direct relationship between a challenge and its response. By passing responses through an FSM and a hash function, PUF-FSM breaks this direct link, making it significantly harder for an adversary to collect the data needed for training a model.
  • Neutralizing CMA-ES: The device-side nonce is a critical defense. It ensures that even if an attacker repeatedly applies the same challenge to observe noise patterns (a requirement for CMA-ES attacks), the output will change every time, effectively blinding the attacker.

Key Results

  • Brute-Force Security: The probability of an attacker guessing a correct challenge sequence without the trusted entity's model is exponentially small. For an FSM with layer $L$ and transition edge length $n_{TR}$, the probability is roughly $(D/2^{n_{TR}})^{(L+1)/2} \times (1/2^{n_{TR}})^{(L+1)/2}$.
  • Lightweight Implementation: By removing the ECC block and helper data storage, the design is significantly more "IoT-friendly" than previous controlled PUF designs.
  • Protocol Versatility: The authors demonstrate that PUF-FSM can be used for mutual authentication, key exchange, and key renewal, providing a robust foundation for secure IoT communication.

Limitations and Future Work

  • Enrollment Requirements: The design requires a "secure enrollment phase" where a trusted entity builds a statistical model of the PUF. Direct access to the PUF must be physically destroyed (e.g., via a fuse) after this phase to prevent attackers from bypassing the FSM.
  • Model Accuracy: The system's reliability depends on the accuracy of the initial statistical model. If the model fails to correctly identify stable responses across all operating conditions (temperature, voltage), the FSM might fail to unlock for legitimate users.
  • Future Directions: While the paper provides a theoretical and architectural analysis, future work could involve full-scale hardware implementation on FPGAs or ASICs to measure exact power and area savings compared to ECC-based designs.

Summary updated

BibTeX
@article{gao2017puf,
  author = {Yansong Gao and Damith Chinthana Ranasinghe},
  title = {{PUF-FSM: A Controlled Strong PUF}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2017},
  doi = {10.1109/tcad.2017.2740297},
}
Figure