Malicious Encryption Traffic Detection Based on NLP
The development of Internet and network applications has brought the development of encrypted communication technology. But on this basis, malicious traffic also uses encryption to avoid traditional security protection and detection. Traditional security protection and detection methods cannot accur...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi-Wiley
2021-01-01
|
Series: | Security and Communication Networks |
Online Access: | http://dx.doi.org/10.1155/2021/9960822 |
id |
doaj-cf9c125e9c2843dfb695b45f65bb6cc8 |
---|---|
record_format |
Article |
spelling |
doaj-cf9c125e9c2843dfb695b45f65bb6cc82021-08-16T00:00:36ZengHindawi-WileySecurity and Communication Networks1939-01222021-01-01202110.1155/2021/9960822Malicious Encryption Traffic Detection Based on NLPHao Yang0Qin He1Zhenyan Liu2Qian Zhang3School of Computing ScienceSchool of Computing ScienceSchool of Computing ScienceSchool of Computer ScienceThe development of Internet and network applications has brought the development of encrypted communication technology. But on this basis, malicious traffic also uses encryption to avoid traditional security protection and detection. Traditional security protection and detection methods cannot accurately detect encrypted malicious traffic. In recent years, the rise of artificial intelligence allows us to use machine learning and deep learning methods to detect encrypted malicious traffic without decryption, and the detection results are very accurate. At present, the research on malicious encrypted traffic detection mainly focuses on the characteristics’ analysis of encrypted traffic and the selection of machine learning algorithms. In this paper, a method combining natural language processing and machine learning is proposed; that is, a detection method based on TF-IDF is proposed to build a detection model. In the process of data preprocessing, this method introduces the natural language processing method, namely, the TF-IDF model, to extract data information, obtain the importance of keywords, and then reconstruct the characteristics of data. The detection method based on the TF-IDF model does not need to analyze each field of the data set. Compared with the general machine learning data preprocessing method, that is, data encoding processing, the experimental results show that using natural language processing technology to preprocess data can effectively improve the accuracy of detection. Gradient boosting classifier, random forest classifier, AdaBoost classifier, and the ensemble model based on these three classifiers are, respectively, used in the construction of the later models. At the same time, CNN neural network in deep learning is also used for training, and CNN can effectively extract data information. Under the condition that the input data of the classifier and neural network are consistent, through the comparison and analysis of various methods, the accuracy of the one-dimensional convolutional network based on CNN is slightly higher than that of the classifier based on machine learning.http://dx.doi.org/10.1155/2021/9960822 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Hao Yang Qin He Zhenyan Liu Qian Zhang |
spellingShingle |
Hao Yang Qin He Zhenyan Liu Qian Zhang Malicious Encryption Traffic Detection Based on NLP Security and Communication Networks |
author_facet |
Hao Yang Qin He Zhenyan Liu Qian Zhang |
author_sort |
Hao Yang |
title |
Malicious Encryption Traffic Detection Based on NLP |
title_short |
Malicious Encryption Traffic Detection Based on NLP |
title_full |
Malicious Encryption Traffic Detection Based on NLP |
title_fullStr |
Malicious Encryption Traffic Detection Based on NLP |
title_full_unstemmed |
Malicious Encryption Traffic Detection Based on NLP |
title_sort |
malicious encryption traffic detection based on nlp |
publisher |
Hindawi-Wiley |
series |
Security and Communication Networks |
issn |
1939-0122 |
publishDate |
2021-01-01 |
description |
The development of Internet and network applications has brought the development of encrypted communication technology. But on this basis, malicious traffic also uses encryption to avoid traditional security protection and detection. Traditional security protection and detection methods cannot accurately detect encrypted malicious traffic. In recent years, the rise of artificial intelligence allows us to use machine learning and deep learning methods to detect encrypted malicious traffic without decryption, and the detection results are very accurate. At present, the research on malicious encrypted traffic detection mainly focuses on the characteristics’ analysis of encrypted traffic and the selection of machine learning algorithms. In this paper, a method combining natural language processing and machine learning is proposed; that is, a detection method based on TF-IDF is proposed to build a detection model. In the process of data preprocessing, this method introduces the natural language processing method, namely, the TF-IDF model, to extract data information, obtain the importance of keywords, and then reconstruct the characteristics of data. The detection method based on the TF-IDF model does not need to analyze each field of the data set. Compared with the general machine learning data preprocessing method, that is, data encoding processing, the experimental results show that using natural language processing technology to preprocess data can effectively improve the accuracy of detection. Gradient boosting classifier, random forest classifier, AdaBoost classifier, and the ensemble model based on these three classifiers are, respectively, used in the construction of the later models. At the same time, CNN neural network in deep learning is also used for training, and CNN can effectively extract data information. Under the condition that the input data of the classifier and neural network are consistent, through the comparison and analysis of various methods, the accuracy of the one-dimensional convolutional network based on CNN is slightly higher than that of the classifier based on machine learning. |
url |
http://dx.doi.org/10.1155/2021/9960822 |
work_keys_str_mv |
AT haoyang maliciousencryptiontrafficdetectionbasedonnlp AT qinhe maliciousencryptiontrafficdetectionbasedonnlp AT zhenyanliu maliciousencryptiontrafficdetectionbasedonnlp AT qianzhang maliciousencryptiontrafficdetectionbasedonnlp |
_version_ |
1721206242887598080 |