[Paper Review] We Can Remember It for You Wholesale: Implications of Data Remanence on the Use of RAM for True Random Number Generation on RFID Tags (RFIDSec 2009)
This paper investigates the use of SRAM data remanence in RFID tags for true random number generation, demonstrating that residual data in memory after power loss severely limits the frequency and reliability of randomness extraction. The authors implement a true RNG on Intel's WISP tag, showing that only up to 309 bits of randomness can be extracted from 512KB RAM, with practical delays exceeding several seconds due to remanence, making repeated use impractical for real-time authentication protocols.
Random number generation is a fundamental security primitive for RFID devices. However, even this relatively simple requirement is beyond the capacity of today's average RFID tag. A recently proposed solution, Fingerprint Extraction and Random Number Generation in SRAM (FERNS) [14, 15], involves the use of onboard RAM as the source of "true" randomness. Unfortunately, practical considerations prevent this approach from reaching its full potential. First, this method must compete with other system functionalities for use of memory. Thus, the amount of uninitialized RAM available for utilization as a randomness generator may be severely restricted. Second, RAM is subject to data remanence; there is a time period after losing power during which stored data remains intact in memory. This means that after a portion of memory has been used for entropy collection once it will require a relatively extended period of time without power before it can be reused. In a usable RFID based security application, which requires multiple or long random numbers, this may lead to unacceptably high delays. In this paper, we show that data remanence negatively affects RAM based random number generation. We demonstrate the practical considerations that must be taken into account when using RAM as an entropy source. We also discuss the implementation of a true random number generator on Intel's WISP RFID tag, which is the first such implementation to the authors' best knowledge. By relating this to the requirements of some popular RFID authentication protocols, we assess the (im)practicality of utilizing memory based randomness techniques on resource constrained devices.
Motivation & Objective
- To evaluate the feasibility of using SRAM data remanence as a source of true randomness in low-cost RFID tags.
- To identify practical limitations—especially memory contention and data remanence—when repurposing onboard RAM for random number generation.
- To implement and evaluate a true random number generator on Intel’s WISP RFID tag, the first such implementation to the authors’ knowledge.
- To analyze the impact of these limitations on popular RFID authentication protocols like HB+ and HB#.
- To explore potential side-channel and denial-of-service attacks arising from forced memory reuse due to remanence.
Proposed method
- Repurposed uninitialized SRAM blocks in RFID tags as physical entropy sources through power cycling and subsequent memory readout.
- Used cryptographic hash functions (e.g., SHA-1) to extract randomness from SRAM content after power-up, treating the raw values as fingerprints.
- Conducted experiments on Intel’s WISP RFID tag, measuring extractable entropy and time-to-recovery after power loss.
- Analyzed the time required for memory to decay to an uninitialized state, quantifying the delay between consecutive random number generations.
- Evaluated the impact of this delay on real-world RFID usage models, such as access control cards.
- Modeled potential attacks, including continuous powering to force reuse of remnant data, leading to predictable outputs.
Experimental results
Research questions
- RQ1To what extent does data remanence in SRAM limit the frequency of random number generation in RFID tags?
- RQ2How much usable entropy can be extracted from a typical RFID tag’s RAM before remanence effects degrade randomness quality?
- RQ3Can a true random number generator be practically implemented on a resource-constrained RFID tag like the WISP?
- RQ4How do memory contention and remanence delay affect the performance of RFID authentication protocols requiring frequent random numbers?
- RQ5What new attack surfaces are introduced when adversaries exploit the remanence phenomenon to predict or disrupt random number generation?
Key findings
- Only up to 309 bits of usable randomness can be extracted from a 512-byte SRAM on an RFID tag before remanence effects degrade entropy quality.
- The time required for SRAM to fully decay to an uninitialized state after power loss is several seconds, making repeated random number generation impractical in real-time applications.
- Memory contention with existing system functions severely restricts the availability of uninitialized RAM for randomness generation, reducing usable entropy further.
- The requirement to remove a tag from a reader’s field to allow memory decay fundamentally alters the standard RFID usage model, introducing high user burden.
- Adversaries can launch a denial-of-service attack by continuously powering the tag, preventing memory from decaying and thus blocking random number generation.
- The study demonstrates that RAM-based randomness generation is theoretically attractive but practically infeasible for current RFID authentication protocols due to timing and resource constraints.
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.