[Paper Review] Extracting Randomness From The Trend of IPI for Cryptographic Operators in Implantable Medical Devices
This paper proposes MRE-IPI, a novel method to extract randomness from the trend of Inter-Pulse Interval (IPI) signals in implantable medical devices (IMDs) to generate cryptographically strong random numbers. By modeling IPI trends as a Martingale process, MRE-IPI achieves high robustness and partial permanence, outperforming existing IPI-based methods in NIST STS and Dieharder tests—producing randomness quality half that of AES—making it suitable as a one-time pad for key exchange in resource-constrained IMDs.
Achieving secure communication between an Implantable Medical Device (IMD) inside the body and a gateway outside the body has showed its criticality with recent reports of hackings. The use of asymmetric cryptography is not a practical solution for IMDs due to the scarce computational and power resources, symmetric key cryptography is preferred. One of the factors in security of a symmetric cryptographic system is to use a strong key for encryption. A solution without using extensive resources in an IMD, is to extract it from the body physiological signals. To have a strong enough key, the physiological signal must be a strong source of randomness and InterPulse Interval (IPI) has been advised to be such that. A strong randomness source should have five conditions: Universality, Liveness, Robustness Permanence and Uniqueness. Nevertheless, for current proposed random extraction methods from IPI these conditions (mainly last three conditions) were not examined. In this study, firstly, we proposed a methodology to measure the last three conditions. Then, using a huge dataset of IPI values, we showed that IPI does not have conditions of Robustness and Permanence. Thus, extraction of a strong uniform random number from IPI value, mathematically, is impossible. Thirdly, rather than using the value of IPI, we proposed the trend of IPI as a source for a new randomness extraction method named as Martingale Randomness Extraction from IPI (MRE-IPI). MRE-IPI satisfies the Robustness condition completely and Permanence to some level. We, also, used randomness test suites and showed that MRE-IPI is able to outperform all recent randomness extraction methods from IPIs and its quality is half of the AES random number. To the best of our knowledge, this is the first work in this area which uses such a comprehensive method and large dataset to examine the randomness of a physiological signal.
Motivation & Objective
- To address the critical security vulnerability in implantable medical devices (IMDs) due to weak or static cryptographic keys.
- To evaluate whether IPI signals—commonly proposed as a source of randomness—satisfy core randomness criteria: robustness, permanence, and uniqueness.
- To develop and validate a new randomness extraction method that overcomes the limitations of direct IPI value usage in IMDs.
- To establish a comprehensive evaluation framework for physiological signal-based randomness using large-scale data and standardized test suites.
Proposed method
- Proposed a novel randomness extraction method, Martingale Randomness Extraction from IPI (MRE-IPI), which uses the trend of IPI values rather than their raw values.
- Modeled the IPI trend as a Martingale stochastic process to ensure information-theoretic robustness under secrecy measures.
- Applied Santha-Vazirani delta value and dependency analysis to quantitatively assess permanence and uniqueness of the randomness source.
- Used a dataset of nearly 900 million IPI values to empirically evaluate randomness properties and validate the method.
- Evaluated MRE-IPI using NIST Statistical Test Suite (STS) and Dieharder test suite to measure statistical quality.
- Proposed using MRE-IPI as a one-time pad for secure key exchange, minimizing exposure and enhancing security.
Experimental results
Research questions
- RQ1Does the raw IPI value satisfy the core criteria of robustness, permanence, and uniqueness required for a strong randomness source in IMDs?
- RQ2Can the trend of IPI values be modeled as a Martingale process to ensure information-theoretic robustness and reduce dependency on historical values?
- RQ3How does MRE-IPI compare to existing IPI-based randomness extraction methods in terms of statistical quality and compliance with standard randomness test suites?
- RQ4To what extent does MRE-IPI achieve permanence and uniqueness, and can it be used securely in practice despite residual history dependency?
- RQ5Can MRE-IPI be implemented efficiently in resource-constrained IMDs while maintaining high-quality randomness for secure key exchange?
Key findings
- The raw IPI value fails to satisfy robustness and permanence conditions due to high dependency on historical values and insufficient randomness under information secrecy measures.
- MRE-IPI achieves full robustness across all information secrecy measures, including unconditional secrecy, and demonstrates strong resistance to adversarial prediction.
- MRE-IPI passes the NIST STS suite with near-perfect scores and achieves a Dieharder test success rate of 45%, comparable to half the quality of an AES random number generator.
- Despite residual history dependency, MRE-IPI shows significantly lower dependency than raw IPI, indicating improved permanence.
- The method is computationally lightweight and suitable for implementation in power- and size-constrained IMDs, enabling secure key exchange via one-time pad usage.
- The study establishes a comprehensive evaluation framework for physiological signal-based randomness, setting a benchmark for future research.
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.