Netinfo Security ›› 2017, Vol. 17 ›› Issue (1): 68-76.doi: 10.3969/j.issn.1671-1122.2017.01.011

• Orginal Article • Previous Articles     Next Articles

Research on Taint Backtracking Reverse Analysis Method of Network Encoding Protocol

Junfeng GAO1,2, Yuefeng ZHANG1,3, Senlin LUO1(), Ji ZHANG1   

  1. 1. Information System and Security & Countermeasures Experimental Center, Beijing Institute of Technology, Beijing 100081, China
    2. Unit 92785 of PLA, Qinhuangdao Hebei 066200, China
    3. Armored Force Academy of PLA, Bengbu Anhui 233000, China
  • Received:2016-11-27 Online:2017-01-20 Published:2020-05-12

Abstract:

This paper proposes a method of taint backtracking. Firstly, this method carries on the dynamic debugging to the network application procedure, locates network interface functions and network output buffers, determines the single minimum execution trajectory interval. Secondly, it performs all of the initial memory addresses in the track section by performing a path analysis calculation. And then the memory cache is applied to the application program, and the entrance state of the trajectory interval is buffered and restored after a single execution of the calculation. Finally, the address of the memory data before coding is obtained by the pollution source localization algorithm. Experimental results show that this method can effectively locate the pre-coding memory address, and it is suitable for different types of coding protocols, including encryption, compression and verification. On the one hand, this method can analyze the syntax information of the encoding protocol by using the memory data before encoding, and improve the syntax analysis ability of the encoding protocol. On the other hand, using the encoding function entry address and the pre-coding memory address, it can generate the network protocol test data that can be detected through integrity, and improve the capabilities of vulnerabilities discovery of the encoding protocol.

Key words: protocol reverse, encoding protocol, taint backtracking

CLC Number: