The Research on Software Security Testing Based on Static Testing Method
- Author
- WangYueFan
- Advisor
- ChenJunLiang
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 362
- Citations
- 3
Abstract
As computer network developing, the security of software has been paid much attention to. More and more software has been attacked by computer virus or hackers because of its vulnerabilities and defects. Software testing is a necessary and important way to verify the correctness of the software. Firstly, this paper introduces current study of software testing and testing tools at home and abroad. Then this paper pointed out the disadvantage of traditional software testing methods.Secondly, this paper focused on the static testing analysis. This paper introduced the static testing method based on testing model, summarizes and classifies these models. Then this paper points out the advantage of this testing method, such as testing source code fast and peering into more of a program’s dark corners with less fuss than dynamic analysis.Finally, this paper summarizes and classifies the security defects and vulnerabilities of C++ and Java programming language from the aspect of attacked reasons, and introduces the components and work flow of DTS_CPP software system. Then this paper focused on the whole testing process of three vulnerabilities, called buffer overflow, array out-of-box and race condition in C++ programming language.
Table of contents
Summary 4-5
ABSTRACT 5-9
Chapter 1 Software Testing Technology Research Background 9-15
1.1 software testing research background 9
1.2 software testing research background 9-11
1.3 software testing tools Category 11-15
1.3.1 White-box testing tool 11-12
1.3.2 Black box testing tools 12-13
1.3.3 test management tool 13
1.3.4 special testing tools 13
1.3.5 test aids 13-15
Chapter 2 Static analysis Software testing technology 15-25
2.1 defects of traditional software testing methods 15-16
2.2 static analysis testing theory analysis 16-19
2.2.1 model Checking 16
2.2.2 symbolic execution 16-17
2.2.3 type inference 17
2.2.4 data Flow Analysis 17-18
2.2.5 constraints analysis 18 <br / > 2.2.6 compiler extensions writer discovered security vulnerabilities 18-19
2.3 Summary of static software security testing tools 19-21
2.4 static test problems of 21
2.5 defect model based on static code analysis 21-25
2.5.1 significance 21-22
2.5.2 software model classification 22-25
Chapter 3 code vulnerabilities 25-48
3.1 software security research background 25
3.2 software vulnerabilities classified 25 -27
3.2.1 value leaked 25-26
3.2.2 object variable merger 26
3.2.3 garbage collector access 26
3.2.4 method for storing static field problems 26
3.2.5 concerning issues related to domain 26-27
3.3 programming language security vulnerabilities 27-48
3.3.1 Java language vulnerability analysis 27-35
3.3.2 C / C language vulnerability analysis 35-48
Article Chapter 4 DTS_CPP projects 48-54
4.1 DTS_CPP project implementation process 48-49
4.2 module features 49-54
4.2.1 abstract syntax tree 49-50
4.2.2 control Flow Graph 50-51
4.2.3 symbol table 51
4.2.4 interval arithmetic 51-52
4.2.5 failure Mode state machine 52-54
Chapter 5 DTS_CPP item detection algorithm introduced 54-74
5.1 General Algorithm 54
5.2 C buffer overflow 54-61
5.2.1 cause a buffer overflow function 54-56
5.2.2 buffer overflow detection algorithm 56-57
5.2.3 buffer overflow detection state machine 57
5.2.4 buffer overflow test results , for example 57-61
5.3 C competitive conditions 61-68
5.3.1 function caused by competitive conditions 61-63
5.3.2 race condition detection state machine 63 < br /> 5.3.3 competitive conditions test results , for example 63-68
5.4 C array bounds 68-74
5.4.1 bounds array detection 68 -69
5.4.2 array bounds detection state machine 69
5.4.3 array bounds test results , for example 69-74
Chapter 6 Conclusion 74-76
6.1 summarizes research 74-75
6.2 Prospects 75-76
References 76-78
Thanks 78-79
study for a degree of academic papers published during the directory 79
Related dissertations
- The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
- Research and Application of File Simplification Technology in Static Analysis
- A Static Testing Method for Detecting Null Pointer Fault of Array
- Research on Testing Model and Automated Testing of Web Application
- Domain Sensitive Function Side Effects Research and Application
- Research of Equipment Software Static Testing Base on Testbed and Polyspace
- Research on Key Technologies of Improving the Accuracy of Static Defect Detecting
- Research on Testing Technolgy of Web Applications
- Research on Software Testing Technology Based on Defect Pattern
- Study on Software Vulnerability Digging
- Testing Design and Result Analysis for Welfare Lottery Online System
- Design and Development of a High-speed Heavy-load Palletizing Robot
- The Design and Analysis of Octahedral Module Deployable Mast
- Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
- Compiler-directed Static Analysis and Code Transformation
- Static Security Detection of C Applications
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System