The Research of System, Rules and Checking of Protocol Based on TLA

Author
WanLiang
Advisor
LiXiang
School
Guizhou University
Major
Computer Software and Theory
Classification
TP302.2 Logic design
Degree
Doctoral dissertation
Year
2009
Downloads
164
Citations
2

Request the full text

Abstract

Aiming to ensure the software system’s credibility and safety radically, many computer scientists, including A. PnDeli who is a gainer of Turing Award, believe it is a important way to construct safety software with validating and analyzing the system by formal methods. Model checking technology is one of validating ways.Formal methods use mathematic and logic method to describe and validate the system. Its description includes two aspects. One, which is also called modeling, is the description of systematic behavior. It describes the system and behavior mode through the model with systematic structure. The other one, which is also called specification, is systematic property. It shows the property which the system has, such as safety property, liveness property and so on. These properties can be described by one or several specifications which include proposition logic, liner logic, algebra, course algebra, special process language, subset of process language and so on.Temporal Logic of Actions (TLA) is brought forward by Leslie Lamport. And its syntax and complete formal semantics are summarized in about a page. TLA is extremely powerful, both in principle and in practice. And TLA+ is a specification language based on TLA, TLC is checking tool which is developed by Compaq Corporation and Microsoft Corporation.In the research, we carry on from three directions, the first direction is conducts the thorough research to theory of TLA, and want to get ahead in theories by hard work; The second direction is carries on the formal specification and checking of the reality system; The third direction is carries on the formal specification and checking of network protocol. Through, all has diligently obtained certain understanding in three directions, but also has many research works to need to continue and to strengthen.We do the works as follows:Firstly, in researching of concurrent system based on TLA, the question of states transition and the properties is a research branch. Always we check the properties of the concurrent system after system transfer. But we thought add the property into the transition system this time, that is to say the system has the property before transfer, and so the system has some properties from beginning to the end. For this purpose we bring forwards some concepts, such as transition condition, controllable action, controllable state, and controllable transition system, in addition we give the theorems and prove them. Then formalizing Internet banking based on TLA+ and checking it using TLC. The results show the theories are appropriate.These definitions need to be proved. We specify several concurrent systems, such as the clock system, the elevator system, Needham-Schroeder protocol and check these systems. The results show the theories are appropriate.Secondly, safety property is a important property of transition system, and we put forward safety transition system based on controlled transition system. When we specified the Internet banking system, we find that the majority banks adopt many methods to guarantee the security, but if someone gets the account number and password, he can do anything in Internet and the bank has little way to prevent. So we need greater security in the process of payment. TLA is extremely powerful, both in principle and in practice. Yet, there have no theory about safety transition system in it. And then we put forward the definitions of safety state, safety transition condition, safety conformation, safety action, safety run, safety transition system and the theorem which proof that every state in safety transition system is safe; then, specify Internet banking using TLA+ which is based on safety transition system. In the specification several accounts and the intruder are in a concurrency system, they communicate through a channel, and the specification is tested by TLC. The results show that the system based on safety transition is more secure.Thirdly, specifying and checking systems, its main purpose was carries on the liveness properties . Leslie Lamport has put forward liveness rules based on the TLA, but we found in some systems such as multi-clients in network, multi-users under a count in Internet banking the Leslie Lamport’s liveness rules could not use.Based on Lamport’s liveness rules , we put forward multi-actor liveness rules under weak and strong fairness and prove them, the example of multi-user’s mutually exclusive action of drawing out in Internet bank based TLA+ to check the rules, and then we put forward multi-actor property liveness rules in safety transition system and use the example of multi-user’s mutually exclusive action of drawing out in safety Internet bank based TLA+ to check the rules.Finally, based on TLA the AVISPA stands for automated validation of Internet security protocols and Applications and the AVISPA Project is funded by the European Union. The AVISPA project aims at developing a push-button and industrial-strength technology for the analysis of large-scale Internet security- sensitive protocols and applications. System models are written in the high level protocol specification language (HLPSL). We specified the Kerberos protocol four steps model and six step models based on HLPSL, and through the checking we found the model was unsafe under certain condition, and the attack steps was given by the tool.Another checking tool TLC2.0 was developed by Compaq and Microsoft Corporation in 2003, the tool use the TLA+ description language. We specified Neeham-Sehroeder protocol based on TLA+, and through the TLC checking we found the protocol could be broken in by hacker under certain condition.We compared the TLA+ language with the HLPSL language, and found on the one hand, the TLA+ language need write more code than the HLPSL language and is better on system specification, that is to say we should know fairly well with TLA+ in heart, on the other the HLPSL is more powerful than the TLA+ language in protocol checking because: many function has been written by HLPSL, and so we would do more work to research and compare these famous examination tool SPIN, SMV and so on.

Table of contents

Abstract 5-7 Abstract 7-9 first chapter 9-19 1.1 Overview of model checking 9-13 1.1.1 Formal Methods 9-11 the 1.1.2 model checking and principle 11-13 1.2 research background 13-16 1.2.1 research tool selection 13-14 1.2.2 system and the nature of the TLA 14-16 1.3 thesis research work 16-18 1.4 the papers contents of the structure arrangements 18-19 behavior sequential logic TLA 19-36 2.1 Overview 19 2.2 TLA's syntax and semantic 19-21 2.2.1 symbols and syntax 19-20 2.2.2 behavior, basic definitions and semantics 20-21 2.3 linear temporal logic LTL 21-23 2.3.1 linear temporal logic LTL syntax 21 2.3.2 linear temporal logic LTL semantics 21-22 2.3.3 ◇ □, ◇ □ with □ ◇ 22 2.3.4 describe the system nature of some of the LTL formula 22-23 2.4 TLA in temporal logic, fairness and activity 23-24 2.4.1 TLA temporal logic 23 2.4.2 fairness 23-24 2.4.3 active 24 in 2.5 TLA logic rules 24-26 2.6 description language based on TLA TLA 26-29 2.6.1 TLA syntax 26-29 2.7 TLA form description 29-35 2.7.1 TLA described in the standard form 29-30 TLA described 2.7.2 a clock system with detection 30-35 2.8 TLC detection tools 35 2.8.1 TLC assay format 35 2.9 This chapter Summary 35-36 Chapter based TLA controllable transfer of property systems 36-42 3.1 Introduction and active 36-37 3.1.1 Introduction 36 3.1.2 active 36-37 3.2 controllable properties of the transfer system 37-38 3.3 network protocol based on the the controllable property transfer system 38-41 3.3.1 Needham-Schroeder protocol 38 3.3.2 Needham-Schroeder protocol based on controllable system description and testing of the TLA 38-41 3.3.3 test results analysis 41 3.4 This chapter Summary 41-42 Chapter safe transfer system based on TLA 42-51 4.1 Introduction and safety 42 4.1.1 Introduction 42 4.1.2 Security 42 4.2 safe transfer system 42-44 4.3-based network analysis and testing of the banking system in the safe transfer 44-49 4.3.1 safe transfer based modeling and analysis of network banks 44-46 4.3.2 test content design and system TLA's description 46-49 4.3.3 test results 49 4.4 This chapter Summary 49-51 Chapter strong, weak fairness of multi-behavior activity rules 51-68 5.1 Introduction and fairness 51 5.1.1 Introduction 51 5.1.2 fairness 51 5.2 based the TLA system activity rules 51-57 5.2.1 validation process of deductive rules 51-52 5.2.2 the to weak fairness under active rules 52-54 5.2.3 the weak activity rules of fairness under the multi-actor 54-57 5.3 Network Bank withdrawal behavior concurrent multi-user mutex system analysis and detection 57-62 5.3.1 concurrent mutex PV primitives 57-58 5.3.2 activity actors active detection design 58-62 5.3.3 test results 62 5.4 multi-actor activity rules in the security system 62-67 5.4.1 security system, the weak fairness under the multi-behavior of active rules 62-65 5.4.2 online banking security system based multi-user withdrawal behavior activity analysis and detection 65-66 5.4.3 test results 66-67 5.5 This chapter Summary 67-68 the sixth TLA protocol-based formal analysis and detection 68-102 6.1 Information Security 68-75 6.1.1 Overview 68-69 6.1.2 security mechanisms 69-71 6.1.3 network security threats 71 6.1.4 network security model 71-72 6.1.5 authentication 72-75 6.2 protocol formal analysis methods 75-78 the 6.2.1 logic-based security protocol analysis methods 76-77 6.2.2 security protocol analysis method based on model checking 77-78 6.2.3 security protocol analysis method based on proved 78 6.3 based the TLA's AVISPA Description Language HLPSL of and memory ability and antioxidant status in male senescence accelerated mice prone - 6.3.1 AVISPA introduced 78-79 6.3.2 HLPSL language specification 79-86 6.4 based on the formalization of of AVISPA the Kerberos protocol detection 86-96 6.4.1 Kerberos protocol 86-87 6.4.2 Kerberos protocol model, formalization and detection 87-96 6.4.2.1 four-step model with detection 87-92 6.4.2.2 six-step model with detection 92-96 6.5 based on formal detection of the TLA Needham-Schroeder protocol 96-101 6.5.1 Needham-Schroeder protocol 96 6.5.2 Needham-Schroeder protocol formalization and detection 96-101 6.5.2.1 Needham-Schroeder protocol formal 96-98 6.5.2.2 Needham-Schroeder protocol detection 98-101 6.6 Chapter Summary 101-102 Chapter VII Conclusion 102-103 7.1 major work summarizes 102 7.2 Next research 102-103 Acknowledgements 103-104 the References 104-109 Appendix A: PhD during the academic and research 109-110

Related dissertations

  1. Temporal Logic Model Checking Based on Behavior Research and Application
    HuangZuoWang ·Guizhou University ·2009 ·Master's thesis
  2. Research on Trustworthiness of Resource Adaptability for Internetware
    XiaZuo ·Anhui University of Engineering ·2013 ·Master's thesis
  3. Clocks Manipulation Applying to the Formal Verificationof Timed System
    GuiYaYun ·Shanghai University ·2013 ·Master's thesis
  4. Model Checking of FlexRay Communication Protocol
    GuoXiaoZuo ·Tianjin University ·2012 ·Master's thesis
  5. Research of Analysis Method in RBC Based on Model Checking
    SongHaiFeng ·Beijing Jiaotong University ·2014 ·Master's thesis
  6. Bread First Search Based Model Checking
  7. Research and Application on Key Technologies of Model Checking
    LiuZhiFeng ·Nanjing University ·2011 ·Doctoral dissertation
  8. Research on Safety Verification Techniques for Logic Control
    TianFengQi ·Northeastern University ·2010 ·Master's thesis
  9. The Research for State Reachability Relation of Uncertain Planning via Model Checking
    HuYuLong ·Xiangtan University ·2012 ·Master's thesis
  10. The Research of Effective Model Checking for Network Authentication Protocol
    TanZhiHua ·Hunan University ·2011 ·Master's thesis
  11. The Formal Modeling of Network Protocols and Discovery of Attacks Based on Model Checking
    MengGuoZhu ·Tianjin University ·2012 ·Master's thesis
  12. Research on Network Security Evalutation Technology Based on Attack Graph Model
    ChengYeXia ·Shanghai Jiaotong University ·2012 ·Master's thesis
  13. Formal model checking based authentication protocol
  14. The Improvement and Application of the PPTL Model Checker
  15. The Research on the Security of the RFID Mutal Authentication Protocol Base on EPC C1G2
    RongJiFang ·Hunan University ·2011 ·Master's thesis
  16. Toward Generating Optimization Actions of Twig Pattern
    LiuKe ·Beijing University of Technology ·2013 ·Master's thesis
  17. Process Calculus with Data Structure and Its Model Checking Algorithm
  18. Formal Modeling and Verification Research of Automatic Train Protection System
    XiongXiJiao ·East China Normal University ·2012 ·Master's thesis
  19. The Extension and Application of the Modeling,Simulation and Verification Tool
  20. Research on the Model Checking Algorithm Using Hadoop
    WeiGuang ·North China University of Technology ·2013 ·Master's thesis