Back to Search Start Over

N-Trans: Parallel Detection Algorithm for DGA Domain Names

Authors :
Cheng Yang
Tianliang Lu
Shangyi Yan
Jianling Zhang
Xingzhan Yu
Source :
Future Internet, Vol 14, Iss 7, p 209 (2022)
Publication Year :
2022
Publisher :
MDPI AG, 2022.

Abstract

Domain name generation algorithms are widely used in malware, such as botnet binaries, to generate large sequences of domain names of which some are registered by cybercriminals. Accurate detection of malicious domains can effectively defend against cyber attacks. The detection of such malicious domain names by the use of traditional machine learning algorithms has been explored by many researchers, but still is not perfect. To further improve on this, we propose a novel parallel detection model named N-Trans that is based on the N-gram algorithm with the Transformer model. First, we add flag bits to the first and last positions of the domain name for the parallel combination of the N-gram algorithm and Transformer framework to detect a domain name. The model can effectively extract the letter combination features and capture the position features of letters in the domain name. It can capture features such as the first and last letters in the domain name and the position relationship between letters. In addition, it can accurately distinguish between legitimate and malicious domain names. In the experiment, the dataset is the legal domain name of Alexa and the malicious domain name collected by the 360 Security Lab. The experimental results show that the parallel detection model based on N-gram and Transformer achieves 96.97% accuracy for DGA malicious domain name detection. It can effectively and accurately identify malicious domain names and outperforms the mainstream malicious domain name detection algorithms.

Details

Language :
English
ISSN :
19995903
Volume :
14
Issue :
7
Database :
Directory of Open Access Journals
Journal :
Future Internet
Publication Type :
Academic Journal
Accession number :
edsdoj.ffb0c0b09784fa192879753744001a6
Document Type :
article
Full Text :
https://doi.org/10.3390/fi14070209