DocumentCode
2390758
Title
Trigger condition based test generation for finding security bugs
Author
Liu, Jie ; Wei, Qiang ; Wang, Qing-xian ; Guo, Tao
Author_Institution
Technol. Res. Center, Nat. Digital Switching Syst. Eng., Zhengzhou, China
fYear
2012
fDate
19-20 May 2012
Firstpage
1106
Lastpage
1110
Abstract
Software vulnerabilities become methods by which an attacker can take control of the victim´s system, and those critical bugs cluster in dangerous spot codes. However, fuzz testing provides low code coverage and serious security bugs may be missed potentially, while symbolic execution based testing encounters path explosion and bug trigger problem. To deal with the security issue above, we highlight two kinds of dangerous spot codes which mostly likely to trigger buffer overflows at runtime: dangerous functions and instructions. We define the conditions on which dangerous spot code can trigger a bug: input-dependent operand, feasible execution path, and trigger conditions. Then we give algorithm for trigger point directed search in order to find the shortest feasible path in CFG, and formalize the trigger conditions for integer overflow, string buffer overflow, array out of bound and division by zero bugs. At last we evaluate the implementation in four benchmark programs in Ubuntu Linux, showing that our method improves the coverage rate of trigger point and trigger rate of overflows efficiently.
Keywords
Linux; program debugging; program testing; security of data; Ubuntu Linux; bug trigger problem; dangerous spot code; dangerous spot codes; feasible execution path; finding security bugs; fuzz testing; input dependent operand; path explosion; software vulnerabilities; symbolic execution; test generation; trigger buffer overflows; trigger condition; trigger conditions; victims system; Arrays; Benchmark testing; Buffer overflow; Computer bugs; Runtime; Security; path constraint; security bugs; symbolic execution; test generation; trigger condition;
fLanguage
English
Publisher
ieee
Conference_Titel
Systems and Informatics (ICSAI), 2012 International Conference on
Conference_Location
Yantai
Print_ISBN
978-1-4673-0198-5
Type
conf
DOI
10.1109/ICSAI.2012.6223228
Filename
6223228
Link To Document