Detecting Domain Generation Algorithms with Convolutional Neural Language Models

Ji Quan Huang, Pei Wang, Tianning Zang, Qiang Qian, Yipeng Wang, Miao Yu · 2018

To evade detection, botnets apply DNS domain fluxing for Command and Control (C&C) servers. In this way, each bot generates a large number of domain names with Domain Generation Algorithms (DGAs) and the botmaster registers only one of them as the domain name of the C&C server. In this paper, we propose Helios, a DGA detection approach based on a neural language model, which exploits the word-formation of domain names to identify domain names generated by DGAs. The key insight of Helios lies in that domain names are composed of syllables or acronyms for easy readability and n-grams can represent both of them. In Helios, we first collect common n-grams in real domain names into a dictionary, then tokenize a domain name into n-grams based on the dictionary, and finally classify the domain name as real or DGA-generated according to the tokenized result. We evaluate Helios with regard to its ability to detect domain names generated by known DGAs and discover new DGA families. Our experimental results show that Helios is able to accurately identify domain names generated by DGAs with a precision of 96.7% and a recall of 95.2%. We also compare Helios with the state-of-the-art detection approach and find that our approach performs more effectively.

Read the paper · More papers on PaperTik