SASTech - Technical Journal of RUAS
  • Year: 2017
  • Volume: 16
  • Issue: 2

Cause Effect Path Based Coverage Criteria for Testing Buffer Overflow Vulnerability

  • Author:
  • P.V.R. Murthy
  • Total Page Count: 4
  • Page Number: 18 to 21

Faculty of Engineering and Technology, M. S. Ramaiah University of Applied Sciences, Bengaluru, 560 058

*Contact Author E-mail: pvrmurthy.cs.et@msruas.ac.in

Online published on 18 February, 2020.

Abstract

Buffer overflow vulnerabilities are well known, as a number of attacks have exploited the vulnerability over decades. Despite the fact that there has been considerable effort towards prevention and detection of buffer overflow vulnerabilities using static and dynamic analyses and testing, there are periodic instances of exploitation of buffer over-flow vulnerability. More attention has been paid to compiled languages than scripting languages with respect to the prevention and detection of the buffer overflow vulnerability, however, the issue is not entirely resolved even for the former case. This paper attempts to characterize code coverage criteria for buffer overflow vulnerability in a novel way based on cause-effect chains that lead to the exploitation of the vulnerability in sequential programs. Weak and strong notions of coverage criteria as the basis for testing buffer overflow vulnerability are proposed. Feedback mechanisms by a programming language environment to developers and testers about uncovered cause effect paths containing potential buffer overflow vulnerabilities are introduced. A regression test selection algorithm for buffer overflow vulnerability is discussed along with various cases that arise. An advantage of the approach for practitioners is that a systematic method can be employed to detect buffer overflow vulnerabilities early in the software development life cycle, for example, in unit testing phase.

Keywords

Security Vulnerability, Cause Effect Paths, Buffer Overflow, Coverage, Regression Test Selection