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] Post-fault Transient Stability Assessment Based on k-Nearest Neighbor Algorithm with Mahalanobis Distance
    Fan, Hang
    Chen, Ying
    Huang, Shaowei
    Zhang, Xuemin
    Guan, Huizhe
    Shi, Dongyu
    2018 INTERNATIONAL CONFERENCE ON POWER SYSTEM TECHNOLOGY (POWERCON), 2018, : 4417 - 4423
  • [42] Packer Identification Method for Multi-Layer Executables Using Entropy Analysis with k-Nearest Neighbor Algorithm
    Omachi, Ryoto
    Murakami, Yasuyuki
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2023, E106A (03) : 355 - 357
  • [43] Underwater Single-Photon 3D Reconstruction Algorithm Based on K-Nearest Neighbor
    Wang, Hui
    Qiu, Su
    Lu, Taoran
    Kuang, Yanjin
    Jin, Weiqi
    SENSORS, 2024, 24 (13)
  • [44] Enhancing data classification using locally informed weighted k-nearest neighbor algorithm
    Abdalla, Hassan, I
    Amer, Ali A.
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 276
  • [45] A novel single-ended fault location scheme for parallel transmission lines using k-nearest neighbor algorithm
    Swetapadma, Aleena
    Yadav, Anamika
    COMPUTERS & ELECTRICAL ENGINEERING, 2018, 69 : 41 - 53
  • [46] Quantum K-Nearest Neighbor Classification Algorithm for Privacy Data Analysis of Industrial Internet
    Chang Y.
    Lin Y.
    Huang S.
    Zhang S.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2022, 59 (05): : 1082 - 1091
  • [47] Fabric quality prediction technology based on K-nearest neighbor algorithm improved particle swarm optimization-back propagation algorithm
    Sun, Changmin
    Dai, Ning
    Shen, Chunya
    Xu, Kaixin
    Chen, Wei
    Hu, Xudong
    Yuan, Yanhong
    Chen, Zuhong
    Fangzhi Xuebao/Journal of Textile Research, 2024, 45 (07): : 72 - 77
  • [48] K-Nearest Neighbor and Random Forest-Based Prediction of Putative Tyrosinase Inhibitory Peptides of Abalone Haliotis diversicolor
    Kongsompong, Sasikarn
    E-kobon, Teerasak
    Chumnanpuen, Pramote
    MOLECULES, 2021, 26 (12):
  • [49] Solving vehicle routing problem by using improved K-nearest neighbor algorithm for best solution
    Mohammed, Mazin Abed
    Abd Ghani, Mohd Khanapi
    Hamed, Raed Ibraheem
    Mostafa, Salama A.
    Ibrahim, Dheyaa Ahmed
    Jameel, Humam Khaled
    Alallah, Ahmed Hamed
    JOURNAL OF COMPUTATIONAL SCIENCE, 2017, 21 : 232 - 240
  • [50] Optimal dwelling time prediction for package tour using K-nearest neighbor classification algorithm
    Wahyutama, Aria Bisma
    Hwang, Mintae
    ETRI JOURNAL, 2024, 46 (03) : 473 - 484