Deep Learning for Hardware-Impaired Wireless Secret Key Generation with Man-in-the-Middle Attacks
Mehdi Letafati, Hamid Behroozi, Babak Hossein Khalaj, Eduard A. Jorswieck
Abstract
Wireless secret key generation (WSKG) allows efficient key agreement protocols for securing the sixth generation (6G) wireless networks. Nevertheless, due to external adversaries or internal impairments, WSKG schemes might become vulner-able during the randomness distillation, where the legitimate nodes try to observe their source of common randomness. In this paper, we investigate the WSKG scheme with legitimate parties suffering from hardware impairments (HIs), while an active adversary acts as a man-in-the-middle (MiM) via injecting fake pilot signals. We first utilize randomized pilots to overcome the MiM. We also leverage the concept of recurrent neural networks (RNNs) to further enhance the randomness distillation. More specifically, the long short-term memory networks (LSTMs)-as a well-established type of RNNs-are implemented to learn the long-term dependencies between the observations of legitimate parties. The achievable secret key rate (SKR) and the impact of MiM on system's performance are analyzed. Our numerical results verify the performance gain of our proposed learning-based approach compared with the state-of-the-art methods and provide useful insights on system design. We show that our RNN-based approach achieves 30% and 15% improvement in terms of observation mismatches compared with the naïve scheme and the fully-connected benchmarks, respectively.