Title :
A binary analysis method for protocol deviation discovery from implementations
Author :
Meijian Li ; Yongjun Wang ; Peidai Xie
Author_Institution :
Compute Coll. NUDT, Changsha, China
Abstract :
Generally there are several versions of implementations for a network protocol specification. However, these protocol implementations inevitably contain deviations, which are usually introduced by errors in engineering development process or different interpretations of software developers for the same protocol specification. Thus, discovery of protocol deviations in implementation binaries is significant for several applications, such as exploiting vulnerability and generating fingerprint from a series of protocol implementations. In this paper, we propose an approach to discover deviations based on dynamic binary analysis technique and semantic-based active testing technique. Comparing with previous similar works, the proposed approach has the following advantages: (1) It works on the binaries of protocol implementations under test, thus do not have to require source code for each implementation; (2) By observing how protocol implementation parses encrypted messages, it is able to discover deviations in cryptographic protocol implementations. We have developed a prototype system to evaluate the proposed approach, and use this system to discover deviations in several implementations of two kinds of protocols: text-based HTTP protocol and cryptography-based FTPS protocol. The results show that the prototype system can successfully discover deviations between their different implementations, and verifies the feasibility of the proposed approach.
Keywords :
cryptographic protocols; transport protocols; cryptographic protocols; cryptography-based FTPS protocol; dynamic binary analysis; engineering development process; network protocol specification; protocol deviation discovery; prototype system; semantic-based active testing technique; software developers; text-based HTTP protocol; Computer crashes; Fingerprint recognition; Monitoring; Protocols; Semantics; Servers; Testing; Dynamic Binary Analysis; Protocol Error Detection; Protocol Reverse Engineering;
Conference_Titel :
Information Networking (ICOIN), 2013 International Conference on
Conference_Location :
Bangkok
Print_ISBN :
978-1-4673-5740-1
Electronic_ISBN :
1976-7684
DOI :
10.1109/ICOIN.2013.6496707