Title :
A model-based approach to security flaw detection of network protocol implementations
Author :
Hsu, Yating ; Shu, Guoqiang ; Lee, David
Author_Institution :
Dept. of Comput. Sci. & Eng., Ohio State Univ., Columbus, OH
Abstract :
A lot of efforts have been devoted to the analysis of network protocol specification for reliability and security properties using formal techniques. However, faults can also be introduced during system implementation; it is indispensable to detect protocol implementation flaws, yet due to the black-box nature of protocol implementation and the unavailability of protocol specification most of the approaches resort to random or manual testing. In this paper we propose a model-based approach for security flaw detection of protocol implementation with a high fault coverage, measurability, and automation. Our approach first synthesizes an abstract behavioral model from a protocol implementation and then uses it to guide the testing process for detecting security and reliability flaws. For protocol specification synthesis we reduce the problem a trace minimization with a finite state machine model and an efficient algorithm is presented for state space reduction. Our method is implemented and applied to real network protocols. Guided by the synthesized model our testing tool reveals a number of unknown reliability and security issues by automatically crashing the implementations of the Microsoft MSN instant messaging (MSNIM) protocol. Analytical comparison between our model-based and prevalent syntax-based flaw detection schemes is also provided with the support of experimental results.
Keywords :
computer networks; finite state machines; formal specification; protocols; telecommunication network reliability; telecommunication security; Microsoft MSN instant messaging; abstract behavioral model; fault coverage; finite state machine; network protocol specification; protocol specification synthesis; reliability flaw; security flaw detection; state space reduction; trace minimization; Automata; Automation; Fault detection; Minimization methods; Network synthesis; Protocols; Security; State-space methods; System testing; Vehicle crash testing; formal model; fuzz testing; protocol implementation; security flaw;
Conference_Titel :
Network Protocols, 2008. ICNP 2008. IEEE International Conference on
Conference_Location :
Orlando, FL
Print_ISBN :
978-1-4244-2506-8
Electronic_ISBN :
1092-1648
DOI :
10.1109/ICNP.2008.4697030