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 条
  • [41] Identification of glucose levels in urine based on classification using k-nearest neighbor algorithm method
    Yudhana, Anton
    Warsino, Fathiyyah
    Akbar, Son Ali
    Nuraisyah, Fatma
    Mufandi, Ilham
    INTERNATIONAL JOURNAL ON SMART SENSING AND INTELLIGENT SYSTEMS, 2023, 16 (01):
  • [42] Optimization of the Neighbor Parameter of k-Nearest Neighbor Algorithm for Collaborative Filtering
    Vaghela, Vimalkumar B.
    Pathak, Himalay H.
    PROCEEDINGS OF INTERNATIONAL CONFERENCE ON COMMUNICATION AND NETWORKS, 2017, 508 : 87 - 93
  • [43] An Improved Weighted K-Nearest Neighbor Algorithm for Indoor Positioning
    Changgeng Li
    Zhengyang Qiu
    Changtong Liu
    Wireless Personal Communications, 2017, 96 : 2239 - 2251
  • [44] Using a genetic algorithm for editing k-nearest neighbor classifiers
    Gil-Pita, R.
    Yao, X.
    INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2007, 2007, 4881 : 1141 - +
  • [45] Multi-GPU Implementation of k-Nearest Neighbor Algorithm
    Masek, Jan
    Burget, Kadim
    Karasek, Jan
    Uher, Vaclav
    Dutta, Malay Kishore
    2015 38TH INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS AND SIGNAL PROCESSING (TSP), 2015, : 764 - 767
  • [46] An Improved Weighted K-Nearest Neighbor Algorithm for Indoor Localization
    Peng, Xuesheng
    Chen, Ruizhi
    Yu, Kegen
    Ye, Feng
    Xue, Weixing
    ELECTRONICS, 2020, 9 (12) : 1 - 14
  • [47] Reconfigurable hardware implementation of K-nearest neighbor algorithm on FPGA
    Yacoub, Mohammed H.
    Ismail, Samar M.
    Said, Lobna A.
    Madian, Ahmed H.
    Radwan, Ahmed G.
    AEU - International Journal of Electronics and Communications, 2024, 173
  • [48] Optimal road accident case retrieval algorithm based on k-nearest neighbor
    Dong, Xianyuan
    Lu, Mingjie
    ADVANCES IN MECHANICAL ENGINEERING, 2019, 11 (02)
  • [49] Hybrid Model Based on ReliefF Algorithm and K-Nearest Neighbor for Erythemato-Squamous Diseases Forecasting
    Alotaibi, Abdullah S.
    ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2022, 47 (02) : 1299 - 1307
  • [50] An Enhanced Quantum K-Nearest Neighbor Classification Algorithm Based on Polar Distance
    Feng, Congcong
    Zhao, Bo
    Zhou, Xin
    Ding, Xiaodong
    Shan, Zheng
    ENTROPY, 2023, 25 (01)