{'fraction_non_alphanumeric': 0.020984665052461663, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 5.2, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Physical Layer Security in Heterogeneous Networks With Pilot Attack: A Stochastic Geometry Approach

In this paper, we investigate physical layer security in a two-tier heterogeneous network with sub-6 GHz massive multi-input multi-output (MIMO) macro cells and millimeter wave (mmWave) small cells. By considering pilot attacks from the eavesdroppers, we analyze the coverage and secrecy performance using stochastic geometry. For the sub-6 GHz tier, we show that increasing the number of BS antennas is more effective than increasing BS density in improving the coverage performance, whereas densifying BS is more effective for security enhancement. For the mmWave tier, we first derive the success probability of beam alignment based on a beam sweeping-based channel training model. It is shown that the mmWave tier may outperform the sub-6 GHz counterpart in terms of both coverage and secrecy through densifying the base stations. Our results also reveal that the mmWave small cell can provide better coverage performance in the high transmission rate region, and can achieve higher security in the low redundant rate region, which reveals the advantage of using mmWave for secure communication. Numerical results verify the analysis.