A Formal Approach to Robustness Testing of Network Protocol

  • Authors:
  • Chuanming Jing;Zhiliang Wang;Xia Yin;Jianping Wu

  • Affiliations:
  • Department of Computer Science & Technology, Tsinghua University, and Tsinghua National Laboratory for Information Science and Technology, Beijing, P.R. China 100084;Network Research Center of Tsinghua University, and Tsinghua National Laboratory for Information Science and Technology, Beijing, P.R. China 100084;Department of Computer Science & Technology, Tsinghua University, and Tsinghua National Laboratory for Information Science and Technology, Beijing, P.R. China 100084;Department of Computer Science & Technology, Tsinghua University, and Network Research Center of Tsinghua University, and Tsinghua National Laboratory for Information Science and Technology, Beiji ...

  • Venue:
  • NPC '08 Proceedings of the IFIP International Conference on Network and Parallel Computing
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Robustness testing of network protocol aims to detect vulnerabilities of protocol specifications and implementations under critical conditions. However, related theory is not well developed and prevalent test practices have deficiencies. This paper builds a novel NPEFSM model containing sufficient inputs and their processing rules to formalize complex protocol. Based on this model, Normal-Verification Sequence is proposed to enhance verdict mechanism. We adopt various strategies to generate anomalous values for some fields of messages and further apply pairwise combination to systematically mutate messages. We propose compound anomalous test case to simplify test sequences and give its generation algorithm. Standard test specification language TTCN-3 is extended to describe compound anomalous test cases. As a case study, we test OSPFv2 sufficiently with a test system based on extended TTCN-3. Our method and test system can effectively discover vulnerabilities of protocol implementations as well as their inconsistencies with specifications.