[Paper Review] Ring Oscillator and its application as Physical Unclonable Function (PUF) for Password Management
This paper proposes a low-cost, hardware-based password management system using a ring oscillator as a Physical Unclonable Function (PUF) to generate unique, unpredictable challenges for user authentication. By leveraging the frequency variations of a ring oscillator implemented on a Raspberry Pi, the system extracts device-specific fingerprints without storing secrets, achieving secure key derivation and reducing reliance on non-volatile memory. The approach demonstrates reliable frequency measurement and successful integration with a MATLAB-based password manager, showing feasibility for embedded authentication systems.
Mobile and embedded devices are becoming inevitable parts of our daily routine. Similar to other electronic devices such as read access memory (RAM) and storage, mobile devices require to authenticate and to be authenticated in a secure way. Usually, this can be accomplished by servers which possess private information for all devices. Since these devices are inherently mobile and operating in untrusted environments, they are prone to be accessed by untrustworthy users. Physical unclonable function (PUF) is a unique physical feature of a semiconductor device such as a microprocessor that can be generated from physical conditions such as supply voltage, temperature, etc. Ring oscillators are the principal parts of PUFs that are synthesized on a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). Password manager systems are used in order to keep a database of usernames and password for clients in order for registration and authentication. This table plays a crucial role in authentication in many systems. Hence, security is one of the important features of these systems. Normally, in these tables only usernames and passwords are stored; however, they are vulnerable to many attacks. So, the first method of enhancing the security is using the hash instead of the original data, but, advanced hackers can break these hash data again. Hence, the method that we are going to use in this project is utilizing PUF to store the challenge of each user instead of saving the hash of passwords.
Motivation & Objective
- To address the security and cost limitations of traditional password storage using non-volatile memory like EEPROM or SRAM.
- To develop a low-cost, battery-free, and secure method for generating unique device-specific secrets using physical variations in semiconductor devices.
- To implement a practical PUF-based password management system using a ring oscillator on a Raspberry Pi for real-time challenge-response authentication.
- To validate the reliability and accuracy of frequency measurement from ring oscillators for use in PUF applications.
- To demonstrate integration of the PUF with a password manager system using TCP/IP communication and a MATLAB-based GUI.
Proposed method
- A ring oscillator composed of three NOT gates and one NAND gate is designed at the transistor level using CMOS technology to exploit process variations.
- The frequency of the ring oscillator is calculated using the formula $ f(Hz) = \frac{1}{1.38 \cdot R \cdot C \cdot n} $, where $ n $ is the number of inverters and $ R $, $ C $ are the resistance and capacitance values per stage.
- Frequency measurement is performed using a Raspberry Pi's GPIO pins with interrupt-driven edge detection and pulse counting over 0.5 seconds to compute the oscillation frequency.
- A logic analyzer is used as a validation tool to cross-check the Raspberry Pi’s frequency measurements, confirming accuracy within acceptable margins.
- The challenge-response mechanism maps user ID and password hashes to a 16×16 table structure using XOR of the two hashes to determine cell location, with PUF-generated frequencies serving as challenge values.
- Communication between the computer (host) and Raspberry Pi (client) is established via TCP/IP sockets, enabling secure data exchange for registration and authentication.
Experimental results
Research questions
- RQ1Can a ring oscillator-based PUF reliably generate unique, unpredictable challenge values without storing secrets in non-volatile memory?
- RQ2How accurately can a Raspberry Pi measure the frequency of a ring oscillator under real-world conditions, and can this be trusted for PUF applications?
- RQ3To what extent does environmental variation affect the stability and reproducibility of PUF responses in a practical implementation?
- RQ4How can a PUF-based system be effectively integrated into a password management framework to replace traditional hash-based storage?
- RQ5What is the feasibility and robustness of using a low-cost, open-source platform like Raspberry Pi for deploying PUF-based authentication?
Key findings
- The ring oscillator successfully generated measurable frequency outputs across eight lines, with values of (136, 46, 26, 14, 204, 66, 394, 56) Hz as measured by the Raspberry Pi.
- The frequency measurements from the Raspberry Pi were validated against a low-cost logic analyzer, confirming close agreement and establishing measurement reliability.
- The system demonstrated successful integration with a MATLAB-based password manager, supporting registration, authentication, and table display via a GUI.
- The use of a structure-based table instead of a matrix avoided space complexity issues and allowed collision handling through appending, improving scalability.
- The challenge-response mechanism using PUF-derived frequencies successfully enabled secure authentication, with correct responses verified in the GUI during testing.
- The implementation proved feasible on low-cost hardware, showing that PUFs can be deployed without expensive components or non-volatile memory.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.