Abstract
Wireless Secret Key Generation (SKG) relies on the inherent randomness of the wireless channel to derive shared cryptographic keys between two parties. Traditionally, the security of these keys is validated using standard statistical suites like the NIST test. However, these tests assume data is independent and identically distributed (IID), ignoring the temporal and spatial correlations present in physical wireless channels. This paper demonstrates that passing standard randomness tests does not guarantee security against a "smart" adversary. We introduce the Maximum Likelihood Tree Search (MLTS) model to quantify these security risks and propose an optimization framework that dynamically tunes test thresholds and privacy amplification rates. Our approach eliminates security loss in existing SKG models while significantly improving key generation efficiency.
Introduction
Wireless Secret Key Generation (SKG) allows devices (Alice and Bob) to create shared keys by measuring reciprocal channel characteristics such as Received Signal Strength (RSSI) or Channel State Information (CSI). To ensure these keys are cryptographically secure, researchers typically employ the NIST statistical test suite.
A critical oversight in current literature is the assumption that passing these tests implies security. In reality, wireless channels possess "memory," meaning measurements taken in close succession are correlated. If an eavesdropper (Eve) understands this correlation, she can employ search strategies far more efficient than brute force. This paper rethinks the role of randomness testing, moving from a simple pass/fail metric to a tool for "security by denial."
The MLTS Adversary Model
To quantify the threat posed by channel correlation, we propose the Maximum Likelihood Tree Search (MLTS) adversary. Unlike a brute-force attacker who guesses bit sequences randomly, an MLTS adversary leverages the wireless bit generation model. By treating the bit generation as a Markov process, Eve can traverse a "generation tree" to test the most probable bit sequences first.
As shown in the figure above, while a physical attack requires proximity and an exhaustive search requires up to $2^M$ attempts, the MLTS adversary performs a "smarter" search of up to $2^L$ attempts (where $L$ is the length of the correlated sequence before privacy amplification). This model bridges the gap between physical channel properties and cryptographic security strength.
Optimization Framework
We propose an optimization guideline to balance Efficiency (key generation rate) and Security Loss (the advantage Eve gains over random guessing). The framework involves two primary tuning parameters:
- P-value Threshold ($\alpha$): The strictness of the randomness test.
- Privacy Amplification Rate ($R_{privacy}$): The compression ratio used to distill entropy and remove correlation.
By mathematically linking these parameters to the channel's correlation coefficient ($\rho$), we can ensure that the final secret bit sequence is short enough to be unpredictable but long enough to maintain high throughput.
Experimental Evaluation and Results
The study utilized over 1 billion data points collected via USRP X310 radios across diverse environments, including laboratories, public lobbies, and libraries. We applied our optimization framework to six existing SKG models to evaluate its impact.
Key findings include:
- Eliminating Security Loss: In models like Radio-telepathy (RT) and Zero Reconciliation (ZR), we eliminated security leaks that previously allowed Eve to guess 4-7 bits of the key.
- Boosting Efficiency: For the ASBG method, efficiency loss was reduced from 0.883 to 0.487, nearly doubling the effective throughput of secure bits.
- Domain Specificity: Our results confirm that randomness testing should ideally occur in the wireless domain to accurately quantify the raw entropy source before it is obscured by cryptographic post-processing.
Conclusion
Passing a NIST test is a necessary but insufficient condition for wireless security. By adopting the MLTS adversary model and the proposed optimization framework, developers can create SKG systems that are both highly efficient and mathematically resilient against attackers who exploit the physical nature of the wireless medium.
Summary updated