Research and Implementation of the Detection Method for Tainted Data and Deadlock

Author
PengPingLei
Advisor
ChenJunLiang
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2010
Downloads
10
Citations
0

Request the full text

Abstract

With widespread use of web applications, the problem of networking security has been attached big importance by the public, and it has become a new research field on how to detect security vulnerabilities involved in software, and how to reduce the risk of software.Tainted data (TD) and deadlock are two typical types of security vulnerabilities. To address these problems, this thesis does some research on them, and describes the design and implementation of the detection of TD and deadlock in detail.The main content and contribution of this paper are list below. Firstly, this thesis summarizes the advantages and disadvantages of existing approaches on detection of TD and deadlock. The existing static detection methods on TD are mainly path-insensitive, so it may cause a large amount of false positives. While, current detection of deadlock could not directly solve this complex problem effectively. Secondly, this thesis refines the existing methods. A detection system for TD, which is path-sensitive and context-sensitive, is designed and implemented, and a new framework of deadlock’s detection is designed as well. This framework divides the complex problem of deadlock detection into four sub-problems, which can be directly solved by existing static analysis technologies, including reachable analysis, alias analysis, parallel analysis and gatelock analysis. Finally, this thesis compares the testing results with another static analysis tool--Klocwork. According to the experiment results, we found that our algorithm could reduce the number of false positives and false negatives more effectively than Klocwork.In conclusion, the achievement of our research results enriches the approaches on how to detect deadlock, and has a certain theoretical and practical importance. In addition, this thesis provides an effective approach for TD detection.

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-13 1.1 Background 9-10 1.2 research 1.3 thesis structure 10-13 research 13-23 2.1 software analysis techniques Overview 13-14 2.2 Overview of static analysis technology 14-18 2.2.1 Basic analysis techniques 14-17 2.2.2 based formal analysis techniques 17 2.2.3 point analysis techniques 17-18 2.2.4 Other auxiliary analysis techniques 18 2.2.5 Static detection method composed 18 the <br static detection methods /> 2.3 TD class security vulnerabilities Research 18-21 2.3.1 pollution propagation analysis algorithm 18-20 2.3.2 pollution propagation analysis algorithm based TD class security vulnerability detection method 20-21 the research status quo of 2.4 deadlock Static detection methods 21-23 2.4.1 static detection method based on the type of system deadlock 22 2.4.2 deadlock static detection method based on data flow analysis 22-23 TD class of security vulnerability detection system design and implementation 23-45 3.1 TD class security vulnerabilities Overview 23-24 3.1.1 TD class security vulnerabilities examples and analysis 23-24 3.1.2 TD class security vulnerability modeling 24 The 3.2 TD class security vulnerability detection system outline design 24-27 3.2.1 Overall flowchart 24-26 3.2.2 Overall Chart 26-27 the 3.3 TD class security vulnerability detection system detailed design 27-45 3.3.1 rules of grammar 27-30 3.3.2 function semantic features generated module 30-34 3.3.3 security vulnerability state machine analysis module 34-39 3.3.4 TD class security vulnerabilities custom module 39-45 Chapter deadlock detection system design and realization 45-69 4.1 deadlock Overview 45-47 4.1.1 the deadlock example and analysis 45-46 4.1.2 deadlock modeling 46-47 4.2 Deadlock Detection System outline design 47-50 4.2.1 Overall flowchart 47-49 4.2.2 Overall architecture diagram 49-50 4.3 deadlock detection system detailed design 50-69 4.3.1 concurrent characteristics analysis module detailed design 50-54 4.3.2 reachable set analysis module detailed design 54-56 4.3.3 alias set analysis module detailed design 56-60 4.3.4 concurrent the set analysis module detailed design 60-64 4.3.5 GateLock set detailed design analysis module 64-69 Chapter TD class security vulnerability detection system of the experimental data and analysis 69-73 5.1 experimental environment 69 5.2 Experimental results compare 69-70 5.3 false negative rate 70-71 5.4 false alarm rate 71-72 5.5 Analysis of 72-73 Chapter Summary and Outlook 73-75 6.1 work summarizes 73 6.2 Next research 73-75 the References 75-78 the Appendix Abbreviations 78-79 Acknowledgements 79-80 the period of study for a degree of academic papers published directory 80

Related dissertations

  1. An ESP Static Lock Analysis Tool Based on Java
    LiuHao ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Design and Development of a High-speed Heavy-load Palletizing Robot
    CaoJiaZuo ·Tianjin University ·2012 ·Master's thesis
  3. The Design and Analysis of Octahedral Module Deployable Mast
    LiCheng ·Harbin Engineering University ·2013 ·Master's thesis
  4. Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
    WangZhiHong ·Anhui University of Engineering ·2013 ·Master's thesis
  5. Compiler-directed Static Analysis and Code Transformation
  6. Static Security Detection of C Applications
  7. The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
    TangYuJing ·Hebei University of Engineering ·2013 ·Master's thesis
  8. Research on Key Technology of On-chip Multicasting Communication Based on2D Mesh Network
  9. The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
    WangZeMin ·Nanjing Agricultural College ·2013 ·Master's thesis
  10. Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
    ZhangJunLong ·Hefei University of Technology ·2013 ·Master's thesis
  11. Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station
  12. Mechanical Performance Analysis of Semi-rigid Steel Frames Filled Profild Steel Plate Wall
    LiuYing ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Large Steel Structure Natural Draft Cooling Tower of Force Analysis
    WangJin ·East China Jiaotong University ·2013 ·Master's thesis
  14. The Wind Resistance Study of the Steel Frame Structural Main Factory Building of Large Thermal Power Plant
    WanShunLu ·Guangxi University ·2012 ·Master's thesis
  15. The Analysis of the Structure Stability of Zhongding International Mansion
    WangLi ·Shenyang University ·2012 ·Master's thesis
  16. Research on the Mechanical Behaviors of Concrete-filled Double Skin Steel Tubular Column
    PengCaiJie ·Hunan University ·2013 ·Master's thesis
  17. The Analysis and Comparison for Different Forms of T Fence in the Wiggins Gas Holder
    ZhangZuo ·Tianjin University ·2012 ·Master's thesis
  18. The Research on the Use of Composite Structure in Three-dimensional Garage
    XuZhaoFeng ·Hunan University ·2013 ·Master's thesis
  19. Static Analysis of the Ground-supported Flat-bottomed Cylindrical Steel-concrete Composite Silo
    GaoCongChao ·Hebei University of Engineering ·2013 ·Master's thesis
  20. Mechanical Behavior Analysis of Large Silos Storage for High Temperature Stored Materials
    SongJing ·Zhejiang University ·2014 ·Master's thesis