A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm

被引:0
|
作者
Yuan K. [1 ,2 ]
Yu D. [1 ]
Feng J. [3 ]
Yang L. [1 ]
Jia C. [4 ]
Huang Y. [5 ]
机构
[1] School of Computer and Information Engineering, Henan University, Henan, Kaifeng
[2] Henan Key Laboratory of Big Data Analysis and Processing, Henan University, Henan, Kaifeng
[3] International Education College, Henan University, Henan, Zhengzhou
[4] College of Cybersecurity, Nankai University, Tianjin, Tianjin
[5] School of Data Science, Tongren University, Guizhou, Tongren
来源
PeerJ Computer Science | 2022年 / 8卷
基金
中国国家自然科学基金;
关键词
Cryptographic algorithm identification; K-nearest neighbor algorithm; Machine learning; Random forest algorithm; Randomness test;
D O I
10.7717/PEERJ-CS.1110
中图分类号
学科分类号
摘要
Cryptographic algorithm identification, which refers to analyzing and identifying the encryption algorithm used in cryptographic system, is of great significance to cryptanalysis. In order to improve the accuracy of identification work, this article proposes a new ensemble learning-based model named hybrid k-nearest neighbor and random forest (HKNNRF), and constructs a block cipher algorithm identification scheme. In the ciphertext-only scenario, we use NIST randomness test methods to extract ciphertext features, and carry out binary-classification and five-classification experiments on the block cipher algorithms using proposed scheme. Experiments show that when the ciphertext size and other experimental conditions are the same, compared with the baselines, the HKNNRF model has higher classification accuracy. Specifically, the average binary-classification identification accuracy of HKNNRF is 69.5%, which is 13%, 12.5%, and 10% higher than the single-layer support vector machine (SVM), k-nearest neighbor (KNN), and random forest (RF) respectively. The five-classification identification accuracy can reach 34%, which is higher than the 21% accuracy of KNN, the 22% accuracy of RF and the 23% accuracy of SVM respectively under the same experimental conditions © Copyright 2022 Baxi et al. Distributed under Creative Commons CC-BY 4.0
引用
收藏
相关论文
共 50 条
  • [31] Research on Parallelization of GPU-based K-Nearest Neighbor Algorithm
    Jiang, Hao
    Wu, Yulin
    2017 INTERNATIONAL CONFERENCE ON CLOUD TECHNOLOGY AND COMMUNICATION ENGINEERING (CTCE2017), 2017, 910
  • [32] Quantum K-nearest neighbor classification algorithm based on Hamming distance
    Li, Jing
    Lin, Song
    Yu, Kai
    Guo, Gongde
    QUANTUM INFORMATION PROCESSING, 2022, 21 (01)
  • [33] A new k-nearest neighbor searching algorithm based on angular similarity
    Yu, Xiao-Gao
    Yu, Xiao-Peng
    PROCEEDINGS OF 2008 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-7, 2008, : 1779 - +
  • [34] A Localization Algorithm Based on Compressive Sensing by K-nearest Neighbor Classification
    Yang, Sixing
    Guo, Yan
    Liu, Xi
    Niu, Dawei
    Sun, Baoming
    PROCEEDINGS OF 2016 IEEE 13TH INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING (ICSP 2016), 2016, : 863 - 867
  • [35] Magnetorheological damper current estimation based on k-nearest neighbor algorithm
    Lv, Hongzhan
    Zhang, Songsong
    Sun, Qi
    JOURNAL OF INTELLIGENT MATERIAL SYSTEMS AND STRUCTURES, 2023, 34 (01) : 111 - 120
  • [36] A quick evidential classification algorithm based on K-nearest neighbor rule
    Wang, Z
    Hu, WD
    Yu, WX
    2003 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-5, PROCEEDINGS, 2003, : 3248 - 3252
  • [37] An Improved Multilabel k-Nearest Neighbor Algorithm Based on Value and Weight
    Wang, Zhe
    Xu, Hao
    Zhou, Pan
    Xiao, Gang
    COMPUTATION, 2023, 11 (02)
  • [38] An RBF Neural Network Clustering Algorithm Based on K-Nearest Neighbor
    Li, Jitao
    Xu, Chugui
    Liang, Yongquan
    Wu, Gengkun
    Liang, Zhao
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2022, 2022
  • [39] A feature weighted K-nearest neighbor algorithm based on association rules
    Manzali Y.
    Barry K.A.
    Flouchi R.
    Balouki Y.
    Elfar M.
    Journal of Ambient Intelligence and Humanized Computing, 2024, 15 (07) : 2995 - 3008
  • [40] A k-nearest neighbor based algorithm for multi-label classification
    Zhang, ML
    Zhou, ZH
    2005 IEEE INTERNATIONAL CONFERENCE ON GRANULAR COMPUTING, VOLS 1 AND 2, 2005, : 718 - 721