Formal Verification of Kerberos with Fea Ver and Its Improvements
- Author
- ZhanHui
- Advisor
- ZhangHuanHuan
- School
- East China University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 28
- Citations
- 0
Abstract
The correctness of the software system has been a concern , people use various methods to verify the correctness of a software system , there are already more and more people use model checking techniques to validate the software system , which is commonly we are talking about formal methods to verify . In this paper, we will use FeaVer formal verification the Kerberos system source code , and find the error code . Authentication using the test harness to validate the model extraction , using the integrated verification tool to verify the correctness of attributes that can be detected systematic violations , we prove that the Kerberos system most of the source code are correct , but at the same time we have proved the existence of an error in the source code and find the error code . We verify the results on the basis of the original validate the model has been modified , and established a new model . Proven model in line with our definition of correctness properties . Finally, our new model is based on Kerberos source code has been improved , allowing the system to a more reliable state .
Table of contents
Abstract 5-6
Abstract 6-10
Chapter 1 Introduction 10-13
1.1 SPIN The FeaVer 10-11
1.2 Kerberos cryptographic protocols; nbsp
In section 1.3 arrangements 11-13
Chapter 2 Model Checking 13-16
2.1 model detection technology info
2.2 model detection technology ideas and ways of working 13-14
the
2.2.1 model The detection The basic idea
2.2.2 model detection technology 13-14
2.3 model checking technology classification
2.4 model detection technology popular tools and contrast 14-16
the
chapter 3 Spin 16-21
3.1 SPIN introduction 16-17
3.2 Spin install 17-18
3.3 defined The correctness property 18-20
3.3.1 basic assertion 18
the
Yuan 3.3.2 label 18-19
3.3.3 Never statement 19-20
3.4 SPIN verification process 20-21
Chapter 4 the PROMELA languages ?? 21-28
the
4.1 Promela languages ??The introduction 21
4.2 the Promela model object 21-28
In 4.2.1 process 21-22
4.2.2 Data type 22
4.2.3 Data structure The 22-23
4.2.4 news channel 23-24
4.2.5 converging channel 24-25
4.2.6 control flow 25
In 4.2.7 atomic sequence
4.2.8 deterministic steps
4.2.9 Select structure 25-26
4.2.10 circulation structure 26
the
4.2.11 jump statement 26-27
4.2.12 inline The definition of 27-28
Chapter 5 MODEX FeaVer 28-38
5.1 MODEX, 28-29
5.1.1 install The MODEx 28
5.1.2 MODEX file modification 28-29
5.2 FeaVer About 29-38
the
5.2.1 Feaver The verification process 29-30
the
Feaver 5.2.2 Test appliances 30
5.2.3 a simple test appliances 30-35
5.2.4 FeaVer verify 35-36
5.2.5 mapping table rules 36-38
Chapter 6 Kerberos 5 cryptographic protocols 38-44
6.1 cryptographic protocol concept 38
6.2 cryptographic protocol security analysis 38
6.3 Kerberos 5 of the installation and operation of 38-39
6.4 Kerberos 5 cryptographic protocols Profile 39-40
the
Kerberos 6.4.1 model 39
6.4.2 Kerberos working principle 39-40
6.5 Kerberos 5 source code directory structure 40-42
6.6 Kerberos protocol version 42-43
6.7 Kerberos protocol inadequacies 43-44
Chapter 7 Kerberos authentication similar 44-47
7.1 SMV symbolic model checking of the Kerberos protocol 44-45
7.2 based on object-oriented time Petri nets Kerberos test 45-46
7.3 the based FeaVer-oriented source code model checking 46-47
Chapter 8 Kerberos V5 credentials cache validation and analysis 47-64
8.1 Kerberos V5's Credentials cache analysis 47-48
the
functions 8.1.1 krb5_mcc_initialize 47
8.1.2 function krb5_mcc_destroy 47-48
In 8.1.3 function init_test_cred 48
function 8.1.4 The mcc_test 48
the
8.2 modeling The function choice 48-49
8.2.1 Select function 48-49
selected function in the late 8.2.2 The 49
8.3 Kerberos V5 credential certificate validation model 49-60
8.3.1 verify the model's data type declaration 49-51
8.3.2 Promela model data type declaration 51-52
8.3.3 client client process The 52-53
8.3.4 server server process 53
8.3.5 krb5_mcc_initialize process 53-55
8.3.6 krb5_mcc_free process 55-56
8.3.7 krb5_change_cache process 56
8.3.8 krb5_mcc_destroy process 56-58
8.3.9 mcc_test process 58-59
the
8.3.10 correctness properties 59-60
the
8.3.11 authentication parameters 60
8.4 Kerberos V5 credential verification of the certificate; nbsp 60-61
8.5 Kerberos source code improvements 61-64
the
the Chapter 9 cryptographic protocols formal analysis Summary and Outlook 64-66
the
password 9.1 The agreement formal analysis summarizes 64
Password 9.2 The protocol formal analysis of the history and current situation 64
Password 9.3 The protocol formal analysis Looking 64-66
the
References 66-70
the
Acknowledgements 70
Related dissertations
- Research on AADL model transformation and verification
- Functional Verification of YHFT-DX High Performance DSP
- An AIK Certificate Generation Protocol Remote Attestatin Based on ZKV
- Design and Implementation of PKI-Based Kerberos Unified Authentication and Authorization System
- The Enterprise Data Security Transmission System Design and Implementation Based on Kerberos+SSL
- Studof Identity Authentication Technology in SOA Environment
- Research and implementation of unified identity authentication login and single point
- Research on Parallel Mining Algorithm Based on Hadoop
- Formal Verification of Real-time Operating System in Binary Code Level
- A Requirements Verification Supporting Tool for Embedded Systems
- Software Trustworthiness Mesurement Based on Model Checking
- Analysis and Verification of Security Authorization for Role Based Access Control System
- Research on Methodology of Formal Design and Verification for Security Operating System
- Design and Implement the E-mail Service Certification Based on the Kerberos Protocol and DES Encryption Algorithm
- Application of model checking to the formal verification of security protocols
- A Research Approach to Model Abstraction Based on Assertion Graph
- Lattice-valued Quantitative Verification of State Transition Systems
- Research on Property and Application of Spiking Neural P Systems
- Authentication Research on the Hadoop Framework
- Design and Implementation of Multi-Domain Unified Authentication and Authorization System Based on PKI