Cargando…

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

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Yuan, Ke, Yu, Daoming, Feng, Jingkai, Yang, Longwei, Jia, Chunfu, Huang, Yiwang
Formato: Online Artículo Texto
Lenguaje:English
Publicado: PeerJ Inc. 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9575859/
https://www.ncbi.nlm.nih.gov/pubmed/36262148
http://dx.doi.org/10.7717/peerj-cs.1110
_version_ 1784811404730040320
author Yuan, Ke
Yu, Daoming
Feng, Jingkai
Yang, Longwei
Jia, Chunfu
Huang, Yiwang
author_facet Yuan, Ke
Yu, Daoming
Feng, Jingkai
Yang, Longwei
Jia, Chunfu
Huang, Yiwang
author_sort Yuan, Ke
collection PubMed
description 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.
format Online
Article
Text
id pubmed-9575859
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher PeerJ Inc.
record_format MEDLINE/PubMed
spelling pubmed-95758592022-10-18 A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm Yuan, Ke Yu, Daoming Feng, Jingkai Yang, Longwei Jia, Chunfu Huang, Yiwang PeerJ Comput Sci Artificial Intelligence 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. PeerJ Inc. 2022-10-10 /pmc/articles/PMC9575859/ /pubmed/36262148 http://dx.doi.org/10.7717/peerj-cs.1110 Text en © 2022 Yuan et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited.
spellingShingle Artificial Intelligence
Yuan, Ke
Yu, Daoming
Feng, Jingkai
Yang, Longwei
Jia, Chunfu
Huang, Yiwang
A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
title A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
title_full A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
title_fullStr A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
title_full_unstemmed A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
title_short A block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
title_sort block cipher algorithm identification scheme based on hybrid k-nearest neighbor and random forest algorithm
topic Artificial Intelligence
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9575859/
https://www.ncbi.nlm.nih.gov/pubmed/36262148
http://dx.doi.org/10.7717/peerj-cs.1110
work_keys_str_mv AT yuanke ablockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT yudaoming ablockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT fengjingkai ablockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT yanglongwei ablockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT jiachunfu ablockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT huangyiwang ablockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT yuanke blockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT yudaoming blockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT fengjingkai blockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT yanglongwei blockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT jiachunfu blockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm
AT huangyiwang blockcipheralgorithmidentificationschemebasedonhybridknearestneighborandrandomforestalgorithm