• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:黄景昊,吴礼发.面向内存取证的DES密钥搜索算法[J].软件工程,2026,29(10):68-72.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
面向内存取证的DES密钥搜索算法
黄景昊,吴礼发
(南京邮电大学计算机学院、软件学院、网络空间安全学院,江苏 南京 210023)
1843976722@qq.com; wulifa@njupt.edu.cn
摘 要: 针对现有内存取证工具及研究多聚焦于现代加密算法的密钥提取,对传统 DES密钥缺乏针对性搜索能力,导致处理 DES加密数据时取证效率与完整性受限等问题,提出了一种面向内存取证的 DES密钥搜索算法。首先,基于 OpenSSL库中 DES密钥的反混淆机制,解析其初次字节调换与二次位运算的混淆逻辑,通过逆向循环移位、字节置换及滑动窗口定位,将字节混淆序列还原为标准子密钥;其次,通过汉明距离结构验证方法,利用 DES轮密钥循环群关系,通过PC-2逆置换、循环右移及汉明距离计算验证候选密钥合法性,结合位填充补全置换丢失位;最后,通过熵阈值过滤策略,基于 DES子密钥高熵特性,选定熵阈值最优值。实验结果表明,该算法的搜索性能良好,在多次实验中误检率均为0,漏检率在选取最优熵阈值的情况下仅有7%。
关键词: 密钥搜索  内存取证  DES密钥
中图分类号:     文献标识码: 
A DES Key Search Algorithm for Memory Forensics
HUANG Jinghao, WU Lifa
(School of Computer Science, School of Software, School of Cyberspace, Nanjing University of Posts and Telecommunications, Nanjing 210023, China)
1843976722@qq.com; wulifa@njupt.edu.cn
Abstract: Existing memory forensics tools and studies mainly focus on key extraction of modern encryption algorithms, yet they lack targeted search capability for traditional DES keys. This restricts the efficiency and completeness of forensic analysis when processing DES-encrypted data. To address this issue, a DES key search algorithm for memory forensics is proposed. First, based on the deobfuscation mechanism of DES keys in the OpenSSL library, the obfuscation logic of the initial byte swapping and secondary bitwise operations is analyzed. The byte- obfuscated sequence is restored to standard subkeys through reverse circular shifting, byte permutation, and sliding window positioning. Then, a Hamming distance structural verification method is introduced. By exploiting the cyclic group relationship of DES round keys, the validity of candidate keys is verified through inverse PC-2 permutation,circular right shifts, and Hamming distance calculation, combined with bit padding to recover the bits lost during permutation. Finally, an entropy threshold filtering strategy is employed, where the optimal entropy threshold is selected based on the high-entropy characteristic of DES subkeys. Experimental results demonstrate that the algorithm achieves excellent search performance: the false positive rate remains 0 across multiple experiments, and the false negative rate is only 7% when the optimal entropy threshold is applied.
Keywords: key search  memory forensics  DES key


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区创新路195号 邮政编码:110169
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫