A Novel Java Source Code Security Analysis System
- Author
- NiuZuoZhi
- Advisor
- YangYiXian
- School
- Beijing University of Posts and Telecommunications
- Major
- Signal and Information Processing
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 185
- Citations
- 3
Abstract
With the increasing size and complexity of the current information system , increasing system security requirements . Programmers build systems , however , often lack the information security and network security with the necessary knowledge and awareness , and thus in the development process will unconsciously introduced many security vulnerabilities . Manual vulnerability investigation and is clearly inefficient and error-prone or even thousands of lines of tens of thousands of lines of code , in this case , the automatic detection of source code security analysis tools is very necessary and urgent . The system uses a combination of parsing and data flow control flow framework to automatically detect security vulnerabilities exist in the source code . The main work of this paper include : 1 ) on the basis of the open source code , improve the JAVA language parsing algorithm . The ANTLR tools based on the processing needs of the system itself , adds a symbol table and thereby improving the efficiency of the flow analysis process ; additional support Java1.5 version of the new features . 2) to propose innovative framework based scalable xml vulnerabilities type rules . The summarized Java language features dozens of loopholes type and according to the the vulnerability type design different formats as well as the constraints of each rule . In this framework , summed over 150 Java source code vulnerability detection rules . 3 ) design and software security analysis system . Parsing and data flow and control flow combined framework to build a system design framework elaborated system of data processing process and module design , while achieving a code part of the system . 4) actual vulnerability detection webgoat5.1 Samate-java libraries and other typical Java source . The test results show that the system scanning speed , high accuracy , medium and large -scale software source code detection , vulnerability scanning accuracy rate of not less than 80% false negative rate is not higher than 20% .
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter 1 Introduction 9-13
1.1 subject background and significance 9-10
1.2 major research 10-11
1.3 of this article organization 11-13
Chapter 2 Summary of research 13-19
2.1 software security detection algorithm 13-16
2.1.1 Type inference detection algorithm 13
the 2.1.2 data flow control flow detection algorithm 13-14
2.1.3 Constraints Analysis 14
2.1.4 three main static analysis method compare 14-15
2.1.5 Other analysis methods 15-16
2.2 software security tools 16-18
2.2.1 Findbugs 16
2.2.2 Fortify 16-17
2.2.3 Checkstyle 17-18
2.3 This chapter Summary 18-19
Chapter 3 of the overall system design and realization 19-38
3.1 program design and model 19-20
3.2 system process flow 20-21
3.3 module design 21-37
3.3.1 code parser 21-24
3.3.2 code analysis engine 24-36
3.3.3 safety analysis reports 36
3.3.4 database design 36-37
3.4 This chapter Summary 37-38
Chapter 4 System Key Technology Research and Implementation 38-61
4.1 Java parsing 38-43
4.1.1 parsing 38
4.1.2 JAVA syntax analysis tools 38-40
the
the 4.1.3 syntax analysis tools improved 40-43
4.2 Java security vulnerability analysis 43-57
4.2.1 input validation and expressed (Input Validation and Representation) 43-50
4.2.2 API misuse (API Abuse) 50-52
4.2.3 security features (Security Features) 52-54
4.2.4 error (Errors) 54-57
4.3 Java rules designed 57-58
4.3.1 Java rules form 57
4.3.2 Java rules 57-58
4.4 Java analysis engine 58-60
4.4.1 Analysis Engine Category 58-59
4.4.2 Analysis Engine process flow 59-60
4.5 of this chapter Summary 60-61
Chapter 5 system experimental data analysis 61-71
5.1 system interface 61-66
5.1.1 Start Task 61-63
5.1.2 stop task 63
View results
5.1.3 63-65
5.1.4 Export results 65-66
5.2 Experimental data analysis and compare 66-70
5.2.1 Webgoat5.1 test data 66-69
5.2.2 Samate-java library test data 69-70
5.3 This chapter Summary 70-71
Chapter 6 summarizes 71-73
6.1 This article summarizes 71
6.2 Job Outlook 71-73
the
References 73-75
Acknowledgements 75
the
pursuing degree during the academic catalog 75
Related dissertations
- Analysis of Mechanisms for Mobile Internet Services Identification
- Research on Surplus Labor Transfer in Wen County of Henan Province
- A Study on the Dififculties with Banked Cloze Test of College Students
- Numerical Simulation and Analysis of Labyrinth Seals
- Research on Noise Reduction of Hydraulic Excavator Engine's Cooling Fan System
- Study on Rheological Properties of Abrasive Media in Abrasive Flow Machining
- Analysis and Experimental Study of Polymer Micro Tubing Extrusion Flow
- Research and implementation of embedded browser multi-threaded mechanism
- Research on Anomaly Detection Algorithms for Application-layer Distributed Denial of Service Attacks
- Research and Implementation of Message Exchange Theory Based on HL7V3
- Research on Construction of Electronic Medical Records and Correlative Technology Based on Standard HL7
- Research on the Difficulties in English Listening Comprehension Based on the Anderson’s Three-phase Model
- A Contrastive Study of the Performance in Three Phases of Listening between High-Achieving and Low-Achieving Listeners
- A Translation Project Report of Inference and Anticipation in Simultaneous Interpreting by Ghelly V. Chernov
- A Translation Project Report of China’s Market for Distillers Dried Grains and the Key Influences on Its Longer Run Potential
- The Research of "Qu X Hua" Construction
- Research on the Partial Inlet Variable Geometry Turbine
- The Study of Water Pump with High Efficiency for the Motor
- Research on Optical Fiber Vortex FLow Measurement Technology
- The Design and Implementation of Production Balance System for Guangxi Petrochemical