Exploiting Malicious Reconfigurable Intelligent Surfaces to Steal Keys in Physical Layer Secret Key Generation

L. Hu, G. Li, A. Hu, and D. W. K. Ng

IEEE Wireless Communications Letters


📌 Abstract

Reconfigurable Intelligent Surface (RIS), with its ability to control the wireless propagation environment, can be leveraged to assist physical layer secret key generation based on wireless channels. However, when the RIS is controlled by an attacker, this capability also poses a serious security threat to the PKG system. To this end, this paper investigates a RIS leakage (RISL) attack, in which the attacker manipulates the RIS reflection coefficients to influence the keys generated by the legitimate parties. Specifically, in a block-fading environment, the attacker alternates the RIS reflection coefficients between all-zero and all-one within each block, causing the received signal strength at the legitimate parties to exhibit regular enhancement and attenuation over time, thereby producing predictable 0s and 1s in the quantized bits. To counter this attack, this paper proposes a defense scheme based on dynamic private pilots and proves that CDPP can significantly reduce the success rate of the RISL attack. Simulation results validate the effectiveness of the proposed attack and defense schemes, highlighting the importance of introducing artificial randomness in block-fading channels to ensure key security.

💡 Core Contributions

  • Propose and analyze the RISL active attack: In a block-fading environment, the attacker controls the RIS to alternate the reflection coefficients between all-zero and all-one, causing the RSS to fluctuate regularly over time, which leads the quantized bit sequences of the legitimate parties to exhibit a fixed pattern (e.g., $\{0,1,0,1,\ldots\}$), thereby enabling the attacker to almost fully predict the generated keys.
  • Derive a closed-form expression for the attack success rate: It is proven that the success rate of the RISL attack is determined by the power ratio of the end-to-end composite channel to the direct link, $|h_d + h_r|^2 \,/\, |h_d|^2$—when the RIS-induced link dominates, the attack success rate approaches 1 at high SNR; three strategies to enhance the attack effect are also analyzed (increasing the number of RIS elements, deploying the RIS near the legitimate end, and blocking the direct link).
  • Propose the CDPP defense scheme and derive an upper bound on the success rate: Alice introduces artificial random coefficients $w(i)$ following a complex Gaussian distribution when transmitting private pilots, superimposing unpredictable randomness onto the channel gain, thereby disrupting the regular fluctuation of the RSS. It is theoretically proven that under CDPP protection, even when $|h_d + h_r|^2 \,/\, |h_d|^2 \to \infty$, the upper bound of the attack success rate is only $0.6065^{L/2}$, representing a fundamental improvement over the unprotected case where it approaches 1.

🔧 Method Overview

This paper considers an RSS-based PKG model, where two single-antenna legitimate parties, Alice and Bob, generate symmetric keys by alternately probing the channel in TDD mode, while the attacker Eve is equipped with an RIS comprising NNN passive reflection elements.RISL attack phase, Eve sets the reflection matrix to a zero matrix during odd-numbered probing rounds (only the direct link hdh_dhd​ is effective), and to an identity matrix during even-numbered rounds (the direct link and the RIS-induced link hrh_rhr​ are superimposed), causing the RSS in even-numbered rounds to be systematically stronger than in odd-numbered rounds, and the quantized bits of the legitimate parties to degenerate into a predictable alternating sequence Ke={0,1,…,0,1}K_e = \{0,1,\ldots,0,1\}。CDPP defense phase, Alice multiplies the downlink pilot by a private random coefficient w(i)∼CN(0,1)w(i) \sim \mathcal{CN}(0,1), and after Bob transmits a public uplink pilot, Alice multiplies the received signal yˉa(i)\bar{y}_a(i)by w(i)w(i) , introducing unpredictable randomness into the equivalent channel gain w(i)hba(i)w(i)h_{ba}(i) , fundamentally disrupting the regularity of the RSS while preserving channel reciprocity between the legitimate parties.

📊 Experimental Results

The CDPP defense scheme suppresses the attack success rate from approaching 1 to a theoretical upper bound of 0.6065L/26065^{L/2} , while guaranteeing a minimum key rate of 0.147 bits/channel use for CDPP: As shown in Fig. 4 of the original paper, under the unprotected RISL attack, when ∣hd+hr∣2/∣hd∣2>1|h_d+h_r|^2/|h_d|^2 > 1, the attack success rate monotonically approaches 1; whereas under CDPP protection,L=2L=2 and L=4L=4the success rates are strictly lower than 0.60650.6065 and 0.60652≈0.3686065^2 \approx 0.368, and as ∣hd+hr∣2/∣hd∣2|h_d+h_r|^2/|h_d|^2increases, it asymptotically converges to this upper bound, which is fully consistent with the theoretical derivation in Theorem 2.

📝 Citation

@article{hu2024risl,
  author    = {Lei Hu and Guyue Li and Aiqun Hu and Derrick Wing Kwan Ng},
  title     = {Exploiting Malicious {RIS} for Secret Key Acquisition in Physical-Layer Key Generation},
  journal   = {IEEE Wireless Communications Letters},
  volume    = {13},
  number    = {2},
  pages     = {417--421},
  month     = feb,
  year      = {2024},
  doi       = {10.1109/LWC.2023.3330809}
}