计算机应用 ›› 2013, Vol. 33 ›› Issue (05): 1217-1221.DOI: 10.3724/SP.J.1087.2013.01217

• 网络与通信 • 上一篇    下一篇

基于数据流分析的网络协议逆向解析技术

戴理,舒辉,黄荷洁   

  1. 信息工程大学,郑州 450000
  • 收稿日期:2012-11-27 修回日期:2012-12-27 出版日期:2013-05-01 发布日期:2013-05-08
  • 通讯作者: 戴理
  • 作者简介:戴理(1987-),男,河南洛阳人,硕士研究生,主要研究方向:网络及信息安全; 舒辉(1974-),男,江苏盐城人,副教授,博士,主要研究方向:并行计算、网络与信息安全; 黄荷洁(1989-),男,陕西宝鸡人,硕士研究生,主要研究方向:软件逆向工程。

Network protocol reverse parsing technique based on dataflow analysis

DAI Li,SHU Hui,HUANG Hejie   

  1. Information Engineering University, Zhengzhou Henan 450000, China
  • Received:2012-11-27 Revised:2012-12-27 Online:2013-05-08 Published:2013-05-01
  • Contact: DAI Li

摘要: 对未知网络协议进行逆向解析在网络安全应用中具有重要的意义。现有的协议逆向解析方法大都存在无法处理加密协议和无法获取协议字段语义信息的问题。针对这一问题,提出并实现了一种基于数据流分析的网络协议解析技术。该技术依托动态二进制插桩平台Pin下编写的数据流记录插件,以基于数据关联性分析的数据流跟踪技术为基础,对软件使用的网络通信协议进行解析,获取协议的格式信息,以及各个协议字段的语义。实验结果证明,该技术能够正确解析出软件通信的协议格式,并提取出各个字段所对应的程序行为语义,尤其对于加密协议有不错的解析效果,达到了解析网络协议的目的。

关键词: 数据流分析, 网络协议逆向, 加密协议解析, 动态二进制插桩, 协议字段语义

Abstract: Reverse parsing unknown network protocol is of great significance in many network security applications. Most of the existing protocol reverse parsing methods can not handle the encryption protocol or get the semantic information of the protocol field. To solve this problem, a network protocol parsing technique based on dataflow analysis was proposed. According to the data flow recording tool developed on Pin platform, it could parse the network protocol with the aid of the dependence analysis based data flow tracking technology, as well as obtain the protocol format and semantic information of each protocol field. The experimental results show that the technique can parse out the protocol format correctly, especially for the encryption protocol, and extract the program behavior semantics of each protocol field.

Key words: dataflow analysis, network protocol reverse, encryption protocol parsing, dynamic binary instrumentation, protocol field semantic

中图分类号: