基于深度学习的二进制网络协议逆向方法
Binary Network Protocol Reverse Method Based on Deep Learning
随着现代网络技术的飞速发展,各式各样的网络应用层出不穷,,大量的未知协议充斥在网络环境中。使得出现网络安全问题的频率越来越高。通过协议逆向技术自动分析出未知协议的格式信息,应用到一些网络安全技术中去,可以大大加强网络环境的安全性。传统的网络协议逆向方法仅仅关注协议结构识别以及协议字段划分两个方面,并未考虑到字段语义信息,针对上述问题,提出深度学习方法学习不同类型字段的特征,实现字段分类模型,对未知协议的不同字段进行类型判定,通过预训练方法方便协议格式推断阶段进行语义分析。在协议格式提取阶段,结合字段分类模型,为将不同类型字段准确分离开,本文提出单trace内字段间相关性评分修正算法、多trace字段序列稳定性修正算法以及基于字段类型和长度的评分函数,在最低影响的情况下结合字段分类模型实现未知协议的字段分割。实验结果表明该方法能准确,快速的识别协议字段及其类型。
With the rapid development of modern network technology, various network applications emerge in an endless stream, and a large number of unknown protocols are flooding the network environment. The frequency of network security problems is getting higher and higher. The format information of unknown protocols is automatically analyzed through protocol reverse technology, and applied to some network security technologies, which can greatly enhance the security of the network environment. Traditional network protocol reverse methods only focus on the two aspects of protocol structure identification and protocol field division, and do not take into account the semantic information of fields. In view of the above problems, a deep learning method is proposed to learn the characteristics of different types of fields, and implement a field classification model. Different types of different fields are judged, and semantic analysis is facilitated in the protocol format inference stage through the pre-training method. In the protocol format extraction stage, combined with the field classification model, in order to accurately separate different types of fields, this paper proposes a single-session inter-field correlation scoring correction algorithm, a multi-session field sequence stability correction algorithm, and a scoring function based on field type and length , combined with field classification models to achieve field segmentation of unknown protocols with minimal impact. Experimental results show that the method can accurately and quickly identify protocol fields and their types.
时金桥、刘俊杰
通信无线通信
深度学习协议逆向协议格式提取
deep learningprotocol reverse engineeringfield segmentation
时金桥,刘俊杰.基于深度学习的二进制网络协议逆向方法[EB/OL].(2023-04-04)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/202304-25.点此复制
评论