arrow
Return

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

delete2022-10-10
delete1
delete
OA
AI
K
Ke Yuan
D
Daoming Yu
J
Jingkai Feng
L
Longwei Yang
C
Chunfu Jia
Y
Yiwang Huang *
DOI:10.7717/peerj-cs.1110delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
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.
Keywords:
Cryptographic algorithm identification
Machine learning
Randomness test
Random forest algorithm
K-nearest neighbor algorithm
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

PeerJ Computer Science cover
PeerJ Computer Science
IF:
2.5
Papers:
3.4K
Citations:
6.9K

Organization

T
Tongren University
Scholars:
604
Papers: 557
Citations: 1.0K
H
henan university
Scholars:
2.3W
Papers: 1.3W
Citations: 20
N
nankai university
Scholars:
4.7W
Papers: 3.2W
Citations: 74
researcher View more organizations