arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.08296cs.CR
收藏

明文结构漏洞:基于分布随机性指纹特征提取器的鲁棒密码识别

Plaintext Structure Vulnerability: Robust Cipher Identification via a Distributional Randomness Fingerprint Feature Extractor

School of Cyber Science and Engineering, Wuhan University(武汉大学网络安全学院);Shanghai Key Laboratory of Privacy-Preserving Computation(上海隐私计算重点实验室);Matrix Elements Technologies(矩阵元素科技有限公司)

Xiwen Ren, Min Luo, Cong Peng, Debiao He

AI总结:

该研究针对加密算法识别中分类器受明文分布影响的问题,提出基于统计检验构建密文随机性指纹的方法,在Canterbury Corpus数据集及跨域场景下均实现高鲁棒性判别性能。

摘要:

现代加密算法是数字安全的基础,但加密算法的广泛应用给网络防御者识别具体使用的算法带来重大挑战。更重要的是,研究发现当测试数据的明文分布偏离训练数据时,分类器性能往往显著下降,这暴露了特征提取器对明文特征的隐性依赖。为减少这种依赖,采用不从密文字节端到端学习的方法,具体基于一组统计检验计算密文的随机性特征,再利用该特征的频率分布模式构建各算法的指纹。实验结果显示,在包含多种数据类型的Canterbury Corpus数据集上,该方法实现了高判别性能(如AUC>0.98);在跨域评估中,当测试数据的结构化明文比例降低时,基线模型性能显著下降,而该方法表现出高鲁棒性:在不同结构化域间迁移时性能下降极小,即使在最具挑战性的纯随机数据集上,仍保持高排名能力(AUC>0.90)。

英文摘要:

Modern encryption algorithms form the foundation of digital security. However, the widespread use of encryption algorithms results in significant challenges for network defenders in identifying which specific algorithms are being employed. More importantly, we find that when the plaintext distribution of test data departs from the training data, the performance of classifiers often declines significantly. This issue exposes the feature extractor's hidden dependency on plaintext features. To reduce this dependency, we adopt a method that does not learn end-to-end from ciphertext bytes. Specifically, this method is based on a set of statistical tests to compute the randomness feature of the ciphertext, and then uses the frequency distribution pattern of this feature to construct the algorithms' respective fingerprints. The experimental results demonstrate that our method achieves high discriminative performance (e.g., AUC > 0.98) in the Canterbury Corpus dataset, which contains a diverse set of data types. Furthermore, in our cross-domain evaluation, baseline models' performance degrades significantly when tested on data with a reduced proportion of structured plaintext. In sharp contrast, our method demonstrates high robustness: performance degradation is minimal when transferring between different structured domains, and even on the most challenging purely random dataset, it maintains a high level of ranking ability (AUC > 0.90).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑