DocumentCode :
3477341
Title :
Detecting vulnerabilities in C programs using trace-based testing
Author :
Zhang, Dazhi ; Liu, Donggang ; Lei, Yu ; Kung, David ; Csallner, Christoph ; Wang, Wenhua
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of Texas at Arlington, Arlington, TX, USA
fYear :
2010
fDate :
June 28 2010-July 1 2010
Firstpage :
241
Lastpage :
250
Abstract :
Security testing has gained significant attention recently due to frequent attacks against software systems. This paper presents a trace-based security testing approach. It reuses test cases generated from previous testing methods to produce execution traces. An execution trace is a sequence of program statements exercised by a test case. Each trace is symbolically executed to produce program constraints and security constraints. A program constraint is a constraint imposed by program logic on program variables. A security constraint is a condition on program variables that must be satisfied to ensure system security. A security flaw exists if there is an assignment of values to program variables that satisfies the program constraint but violates the security constraint. This approach detects security flaws even if existing test cases do not trigger them. The novelty of this method is a test model that unifies program constraints and security constraints such that formal reasoning can be applied to detect vulnerabilities. A tool named SecTAC is implemented and applied to 14 benchmark programs and 3 open-source programs. The experiment shows that SecTAC quickly detects all reported vulnerabilities and 13 new ones that have not been detected before.
Keywords :
C language; program testing; security of data; system monitoring; C programs; SecTAC; execution trace; open source programs; program constraint; program logic; program statement sequence; trace based security testing approach; vulnerability detection; Automatic testing; Computer crashes; Computer science; Computer security; Data security; Open source software; Runtime; Software testing; System testing; Vehicle crash testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Dependable Systems and Networks (DSN), 2010 IEEE/IFIP International Conference on
Conference_Location :
Chicago, IL
Print_ISBN :
978-1-4244-7500-1
Electronic_ISBN :
978-1-4244-7499-8
Type :
conf
DOI :
10.1109/DSN.2010.5544310
Filename :
5544310
Link To Document :
بازگشت