Semi-valid Fuzz Testing Case Generation for Stateful Network Protocol

被引:4
作者
Ma, Rui [1 ]
Ren, Shuaimin [1 ]
Ma, Ke [2 ]
Hu, Changzhen [1 ]
Xue, Jingfeng [1 ]
机构
[1] Beijing Inst Technol, Beijing Key Lab Software Secur Engn Technol, Sch Software, Beijing 100081, Peoples R China
[2] China Acad Informat & Commun Technol, Inst Commun Standard Res, Internet Ctr, Beijing 100191, Peoples R China
基金
国家重点研发计划;
关键词
network protocol fuzzing; extended finite state machine; test sequence; state transition marking algorithm; semi-valid algorithm; MACHINE;
D O I
10.23919/TST.2017.8030535
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Network protocols are divided into stateless and stateful. Stateful network protocols have complex communication interactions and state transitions. However, the existing network protocol fuzzing does not support state transitions very well. This paper focuses on this issue and proposes the Semi-valid Fuzzing for the Stateful Network Protocol (SFSNP). The SFSNP analyzes protocol interactions and builds an extended finite state machine with a path marker for the network protocol; then it obtains test sequences of the extended finite state machine, and further performs the mutation operation using the semi-valid algorithm for each state transition in the test sequences; finally, it obtains fuzzing sequences. Moreover, because different test sequences may have the same state transitions, the SFSNP uses the state transition marking algorithm to reduce redundant test cases. By using the stateful rule tree of the protocol, the SFSNP extracts the constraints in the protocol specifications to construct semi-valid fuzz testing cases within the sub-protocol domain, and finally forms fuzzing sequences. Experimental results indicate that the SFSNP is reasonably effective at reducing the quantity of generated test cases and improving the quality of fuzz testing cases. The SFSNP can reduce redundancy and shorten testing time.
引用
收藏
页码:458 / 468
页数:11
相关论文
共 20 条
[1]  
Abdelnur Humberto J, 2007, P 1 INT C PRINC SYST, P47
[2]  
Ai-Fen Sui, 2011, 2011 IEEE 13th International Conference on Communication Technology (ICCT), P728, DOI 10.1109/ICCT.2011.6157972
[3]  
Akbar MA, 2010, NOSSDAV 2010: PROCEEDINGS OF THE 20TH INTERNATIONAL WORKSHOP ON NETWORK AND OPERATING SYSTEMS SUPPORT FOR DIGITAL AUDIO AND VIDEO, P87
[4]  
Alrahem T., 2007, DEFCON 15 LAS VEG NV
[5]  
Banks G, 2006, LECT NOTES COMPUT SC, V4176, P343
[6]   Adaptive Random Testing: The ART of test case diversity [J].
Chen, Tsong Yueh ;
Kuo, Fei-Ching ;
Merkel, Robert G. ;
Tse, T. H. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (01) :60-66
[8]  
Gorbunov S, 2010, INT J COMPUT SCI NET, V10, P239
[9]  
Hu C. Z., 2014, China Patent, Patent No. [CN201410333944. 0, 201410333944.0]
[10]  
Kitagawa T., 2010, 2010 IEEE Symposium on Computers and Communications (ISCC), P202, DOI 10.1109/ISCC.2010.5546704