{'fraction_non_alphanumeric': 0.026241799437675725, 'fraction_numerical': 0.0, 'mean_word_length': 5.137931034482759, '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}}
Malicious Domain Name Detection Model Based on CNN-GRU-Attention

Domain Generation Algorithm (DGA) domain name detection is one of the key technologies for detecting botnet C&C communications. It is well known that malicious websites can cause great harm, and from individuals to countries will be affected to varying degrees. Aiming at the problems of low detection accuracy and high complexity of traditional detection methods, this paper proposes a malicious domain name detection model (CNN-GRU-Attention). The model first used the CNN neural network to extract the spatial features of the domain name data; then used the GRU neural network to extract the temporal features of the domain name data; finally used the attention mechanism to improve the detection accuracy of the domain name. In the experiment, this article used Bigrams, LSTM artificial neural network, GRU neural network, LSTM-GRU four models to compare with the CNN-GRU-Attention model. The experimental results showed that the CNN-GRU-Attention model had better convergence and higher accuracy.