Certifying the Safety of Assembly Pointer Programs
- Author
- LiZhaoPeng
- Advisor
- ChenYiYun
- School
- University of Science and Technology of China
- Major
- Computer Software and Theory
- Classification
- TP313 Assembler
- Degree
- Doctoral dissertation
- Year
- 2008
- Downloads
- 163
- Citations
- 0
- Software Security
- Procedural nature of proof
- Trusted Computing Base
- Certifying compiler
- Hoare Logic
- Pointer logic
- Form validation framework
- Carry proof assembler
Abstract
With the rapid development of computer science and computer in the world growing popularity of computer software more and more widely used in various industries. Key areas of the state and society's dependence on software increasing, making the high credibility of the nature of critical software becomes increasingly important, where security is a major concern. Improve software security objectives are: all of the procedural error was discovered before the program runs when the program is running or being gently captured, in order to ensure the program does not result in unpredictable system behavior. The software security research is to explore how to establish a sound management of security science and technology base, where the software meets the procedural nature of the security policy is to prove one of the hotspots. Over the past decade, the nature of proven research program has been greatly developed. Many scholars have proposed different ideas, these ideas mainly based on the type or logic-based methods to prove high-level language program or the nature of low-level language program. Procedural nature of proving that type methods and logical way you can have both methods combined strengths of both approaches. Therefore, this author's project group (hereinafter referred to as the project team) choose to use a simple type system combines an automated method of logical reasoning systems to prove that the program satisfies the security policy. For those with high safety critical software requirements, program design and security proof can be a new programming and compiler framework. In this framework, the project team selected C-like language PointerC (with dynamic memory allocation) as the source language, to achieve a certifying compiler prototype; and realized the type safety and memory safety and other basic security policy. The certifying compiler to translate source code into assembler and norms and equivalent norms at the same time, the source of evidence to meet the specifications translated into assembly code meets specifications equivalent proof. In assembly language, an inspector from the evidence supporting the use of the code carried by the code to meet the specifications of the test. Verification of assembly language compiler can verify condition generator, theorem prover, etc. excluded from TCB, in order to minimize the system TCB. Thus the entire compiler framework ultimately depends on the assembler formal verification framework to ensure that the resulting assembler assembly language level equivalent to meet safety regulations. This article describes the assembly level of the framework research program verification. In many computer programs, the pointer most complex nature of security procedures, so the nature of application security assembler pointer validation is the focus of this article. This work is mainly based on Hoare logic, carry proof code (Proof-Carrying Code) and validate assembly programming (Certified Assembly Programming) and other studies, the use of types and logical combination of research methods. This paper describes the nature of evidence-based program software security related research and pointers procedures and other aspects of the nature of proof, and then introduced the item proposed by a group of security software using the pointer logic Ji development and validation framework. Based on this framework, the article focuses on the assembler a validation framework for design and implementation. In this paper, assembly-level assembler pointer pointer logic to verify the nature of application security. This paper also implemented a prototype system and use the system for linked lists, binary trees and other non-trivial pointer proceedings automatic authentication security. The main features and contributions are: ● the design of a model based on x86 machines, Hoare logic-style formal proof framework, enriching the certifying compiler target level basic research. ● designed a program for security proof assembly pointer pointer logic to solve the alias Hoare logic processing difficulties, making the expansion of post-assembler nature pointer logic as proof of a new tool. ● proved the reliability of assembly language pointer logic. And has been proven aids Coq completed. ● implementation of a prototype system assembly level verification. This article uses the system for linked lists, binary trees and other non-trivial pointer to the proceedings of the automated security verification. The significance of this work presents a compilation pointer program verification of new ideas, and to design and implement a prototype system available to enrich the procedural nature of proven research and applications.
Table of contents
Abstract 5-7
Abstract 7-11
Chapter 1 Introduction 11-26
1.1 Background 11-14
1.1.1 software security 11-12
1.1.2 Formal verification 12-13
1.1.3 trusted computing base 13-14
1.2 Related research and analysis and comparison 14-22
1.2.1 Hoare logic 14-15
1.2.2 Typed Assembly Language 15-16
1.2.3 carry identification code 16-18
1.2.4 Verify assembly programming 18-19
1.2.5 application type system 19-20
1.2.6 Separation logic 20-21
1.2.7 pointer logic 21-22
1.3 problems and development direction 22-23
1.4 This article outlines 23-26
1.4.1 research 24-25
1.4.2 Features and contribution 25
1.4.3 chapters arranged 25-26
safety procedures in Chapter 2, the design and certification framework 26-41
2.1 application development framework and security certifying compiler 26-31
2.1.1 traditional software development framework 26-27
2.1.2 Security software development framework 27-31
2.2 source-level program design and verification system 31-40
2.2.1 PointerC Language Introduction 31-33
2.2.2 source-level pointer logic 33-37
2.2.3 source-level verification system 37-40
2.3 assembly level verification system 40
2.4 Summary 40-41
Chapter 3, an x86 assembler validation framework 41-71
3.1 Introduction 41-43
3.2 machine model and operational semantics 43-48
3.3 assembler validation framework 48-61
3.3.1 assertion and specification language 48-50
3.3.2-formed formulas 50
3.3.3 Inference Rules 50-54
3.3.4 Reliability prove 54-61
3.4 Coq achieve 61-69
3.4.1 Basic Logic CiC 61-63
3.4.2 prove aids Coq 63-65
3.4.3 Machine Model 65-67
3.4.4 inference rules and reliability theorems 67-69
3.5 related work 69-70
3.6 Chapter Summary 70-71
Chapter 4 safety procedures used to compile pointer pointer logic verification 71-102
4.1 Overview 71-72
4.2 assembly level pointer logic 72-95
4.2.1 Machine Model 72-73
4.2.2 Basic definitions 73-75
4.2.3 assertion language 75-78
4.2.4 Inference Rules 78-93
4.2.5 Reliability prove 93-95
4.3 Coq achieve 95-98
4.4 Summary 98-102
4.4.1 related work 98-100
4.4.2 and PointerC pointer logic comparison 100-101
4.4.3 subsections 101-102
Chapter 5 Assembler level validation prototype system 102-108
5.1 prototype system constitutes 102-105
5.2 assembler level validation prototype system 105-106
5.3 Experimental results 106-107
5.4 Summary 107-108
Chapter 6 Conclusion 108-111
6.1 thesis work summarizes 108-110
6.2 further work 110-111
References 111-117
Thanks 117-119
papers published during the reading and research achievements 119-120
Related dissertations
- Certifying Compilation in an Infrastructure for Developing Trustable Software
- A Pointer Logic for Safety Verification of Pointer Programs
- Pointer Logic’s Extensions and Applications
- Research on the Attack and Defense Techniques of Code Reuse
- To support the research of use case modeling formal evolution
- Research on Software Vulnerability Analysis Oriented Parallel Symbolic Execution
- Researchand Implementatrusted Management System Based on Domestic Trusted Chip
- Protection of Non-Control-Data Based on LLVM Framework
- Study on Program Diversity for Software Security
- Research and implementation of software encryption key protection
- Study on Multi-Kernel Component-Based Embedded Operating System
- Certifying Concurrent Porgrams Using Transactional Memory
- AOP Technology and Its Applications in Software Security
- Research on Process Model of Testing and Evaluation for Safety-critical Software
- The Design and Implementation of an Automated Theorem Prover Used for Pointer Logic
- Improving the Dependability of Cloud Computing Systems
- Research on Methods of Threat Model Driven Software Security Evaluation and Testing
- Software security research and development of key technologies to achieve
- The Design and Implementation of a Static Analysis System in Source Code
- Research on Balise Telegram Programming and Management Software