Chinese Journal of Network and Information Security ›› 2023, Vol. 9 ›› Issue (1): 32-41.doi: 10.11959/j.issn.2096-109x.2023007

• Papers • Previous Articles     Next Articles

Encrypted traffic identification method based on deep residual capsule network with attention mechanism

Guozhen SHI1, Kunyang LI1, Yao LIU2, Yongjian YANG1   

  1. 1 Beijing Institute of Electronic Science and Technology, Beijing 100070, China
    2 School of Computer Science and Technology, Xi'an University, Xi'an 710071, China
  • Revised:2022-12-04 Online:2023-02-25 Published:2023-02-01
  • Supported by:
    The National Key R&D Program of China(2017YFB0801803)

Abstract:

With the improvement of users’ security awareness and the development of encryption technology, encrypted traffic has become an important part of network traffic, and identifying encrypted traffic has become an important part of network traffic supervision.The encrypted traffic identification method based on the traditional deep learning model has problems such as poor effect and long model training time.To address these problems, the encrypted traffic identification method based on a deep residual capsule network (DRCN) was proposed.However, the original capsule network was stacked in the form of full connection, which lead to a small model coupling coefficient and it was impossible to build a deep network model.The DRCN model adopted the dynamic routing algorithm based on the three-dimensional convolutional algorithm (3DCNN) instead of the fully-connected dynamic routing algorithm, to reduce the parameters passed between each capsule layer, decrease the complexity of operations, and then build the deep capsule network to improve the accuracy and efficiency of recognition.The channel attention mechanism was introduced to assign different weights to different features, and then the influence of useless features on the recognition results was reduced.The introduction of the residual network into the capsule network layer and the construction of the residual capsule network module alleviated the gradient disappearance problem of the deep capsule network.In terms of data pre-processing, the first 784byte of the intercepted packets was converted into images as input of the DRCN model, to avoid manual feature extraction and reduce the labor cost of encrypted traffic recognition.The experimental results on the ISCXVPN2016 dataset show that the accuracy of the DRCN model is improved by 5.54% and the training time of the model is reduced by 232s compared with the BLSTM model with the best performance.In addition, the accuracy of the DRCN model reaches 94.3% on the small dataset.The above experimental results prove that the proposed recognition scheme has high recognition rate, good performance and applicability.

Key words: encrypted traffic identification, deep capsule network, 3D convolutional algorithm, residual network

CLC Number: 

No Suggested Reading articles found!