Skip to main navigation Skip to search Skip to main content

Reusing existing test cases for security testing

  • Zhang Dazhi*
  • , Wang Wenhua
  • , Liu Donggang
  • , Lei Yu
  • , Kung David
  • *Corresponding author for this work
  • University of Texas at Arlington

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Traditional test case generation methods usually consider coverage criteria like statement or path coverage and ignore security characteristics. The result is that a test case may fail to find vulnerabilities even if it covers the vulnerable statements. However, we argue that existing test cases are still of great value because significant human effort and time have been invested to achieve high coverage criteria. A high coverage indicates a high possibility that vulnerable statements occur in the execution traces of these test cases. Thus existing test cases could guide us to those vulnerable statements. Under this intuition, we present a method of security testing by re-examining existing test cases. The basic idea is to discover two types of constraints in a program: program constraints (PC) and security constraints (SC). The former are the constraints imposed by program statements. For example, an assignment statement i=0 constrains the value of i to be 0. The later are the constraints derived from security concerns. For example, a buffer should never be overflowed. Intuitively, a statement is vulnerable if it can make PC?SC be false, which means the program constraints are not strict enough to ensure the security constraints. We design and develop a tool named RETAST to demonstrate our idea and the initial result is promising.

Original languageEnglish
Title of host publicationProceedings - 19th International Symposium on Software Reliability Engineering, ISSRE 2008
PublisherIEEE Computer Society
Pages323-324
Number of pages2
ISBN (Print)9780769534053
DOIs
StatePublished - 2008
Externally publishedYes
Event19th International Symposium on Software Reliability Engineering, ISSRE 2008 - Seattle, WA, United States
Duration: 10 Nov 200814 Nov 2008

Publication series

NameProceedings - International Symposium on Software Reliability Engineering, ISSRE
ISSN (Print)1071-9458
ISSN (Electronic)2332-6549

Conference

Conference19th International Symposium on Software Reliability Engineering, ISSRE 2008
Country/TerritoryUnited States
CitySeattle, WA
Period10/11/0814/11/08

Fingerprint

Dive into the research topics of 'Reusing existing test cases for security testing'. Together they form a unique fingerprint.

Cite this