Analysis on IKE Protocal and Improvement on ECC Algorithm in IPSec

Author
LiMing
Advisor
LuZuoNan
School
Jilin University
Major
Applied Computer Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2007
Downloads
154
Citations
1

Request the full text

Abstract

With the rapid popularization of the Internet, the information exchangewhich based on IP is being expanded in various fields. People fully enjoy theconvenience brought about by the information superhighway, but it also facesall kinds of threats to security. Information theft and information distortion,or even information server’s fatal attacking, these often happen.This requiresthe development of a secure communication standard for public safe datatransmission network, so, Virtual Private Network technology emergedThrough the creation of safe and efficient tunnels, it is possible toconstruct the Virtual Private Network based on public network. Most of thepresent applications are based on IP, Therefore, using the IPSec protocol atthe IP layer greatly simplify the process of communication. IPSec protocolestablishes Security Association cluster by IKE alliance agreement. This isthe most basic and crucial part of information security,and make possiblefor the exchange of information security.IPSec protocol is a Network layer security mechanism constituted byEncapsulating Security Payload, Authentication Header and Internet KeyExchange Protocal. Compared with other VPN schemes, IPSec has thefollowing advantages: transparent, flexible, and powerful security.IPSec is a secure protocol, which uses strong cryptography to provideboth authentication and encryption services. Certification services ensure thecorrect information be sent from the sender to the receiver without beingtampered with; Encryption services prevent unauthorized users to read theencrypted information. These services allow users to establish the credibilesecure tunnels on public network. Each message must be sent by the Gatewaywith IPSec encryption, and similarly, the receiving side must be decrypted first by IPSec Gateway. Only the VPN users with corresponding SA canreceive and send the information, it ensures the safety.The beginning of this paper describes the structure of the IPSec system,including the Authentication Header (AH), Encapsulating Security Payload(ESP), Security Association (SA), Security Policy Database (SPD), SecurityAssociation Database (SAD), IPSec packet accessing, encryption algorithmand authentication algorithm. We also introduce with Cryptography, includ-ing the symmetric key algorithm, RSA, digital signature, HASH function.These are below the foundation.In this paper, the main line is IKE, IKE is a hybrid agreement. There aretwo stages, First of all, the establishment of a communication ISAKMP SA,then, the other agreement (AH or ESP) can establish IPSec SA by theprotection of ISAKMP SA; Secondly, when the first stage of securityprotecting measures have been activated, the participates in thecommunication system can establish IPSec SA and the key will be used toprotect user data flows. In the first consulting stage, the IKE exchangeincludes identity protection and basic document’s "brutal" exchange modes,we called them "main mode" and the "barbaric mode". For the second stage,we give the definition of a fast mode of IKE exchange. In this paper, we givesafety analysis in main mode exchange: non-repudiation of information,confidentiality and integrity. in most cases it is safe, But there are loopholesand can easily be attacked from the four means-- denial of service attacks,middleman attacks, replay attacks and transform payload attacks, whichrevealed the inadequacy of the agreement itself. Therefore, this paper is toraise more concern for the security of IKE negotiation, and give threeamendments for IKE negotiation in digital signature way: in message (3), addHASH_ID and SIG_ID payloads; in message (5) and (6), modify the contentof ID payloads to (IDi)psk_d and (IDr)psk_d; reuse message ID in the first stage. We also give the analysis of the four attacks, compared advantages tothe original mothord.In another part, we focus on the elliptic curve encryption algorithm andbinary domain in the domain of elliptic curve analysis. First, we introducewith the basic knowledges, including the definition of the current hotresearching domain of elliptic curve, the computation of the elements and theparameters-domain. Second, compare the RSA and elliptic curve encryptionmethods, ECC has many technical advantages: better safety performance,small amount of processing speed and storage space, low bandwidth. So,ECC is a good alternative. Finally, we study on the elliptic curve’s computingefficiency. The key is the realization of the efficiency of the computationalspeed of elliptic curves; the core is scalar multiplication. Given E and integern>0, calculate nP?E. Computation can be divided into two levels: 1.Elements of the arithmetic operations in binary domain; 2. Elliptic Curveelements of the operation, the scalar multiplication. The paper works on thesetwo aspects from the ECC calculating analysis, and the acceleratingcomputing of the scalar multiplication. This paper is aim at IKE, therefore,ECC will be applied to the D-H exchange and digital signature, we also givethe realization of the algorithm.The system is based on Linux 2.4, it realizes a basic function and theusing of the ECC algorithm, including the rapid realization of ECC, the D-Hexchange of verification and validation, and the realization of the digitalsignature. The system is written by C++, which realized many functions ofthe bottom classes including elliptic curve classes, domain parameter classes,it has involved high-level public key and private key, digital signature classes.Since the completion of a good C++ encapsulation, the procedure can becalled outside the system. The system uses the curve recommended by NIST:y^2+xy=x^3+x^2+ b, the 163 degree of the binary domainremcommended byfips186-2 standards. In this system, we test the efficiency of the improved ECC algorithm. By the introduction of new methods, the encryption speed issignificantly improved.This paper is helpful to the realization of the existing VPN, especially tothe improvement of RFC IKE archive, and we look forward to the using ofECC for existing mainstream VPN.

Table of contents

Summary 4-7 first chapter significance 7-10 1.1 topics 7-8 1.2 research status at home and abroad organizational structure 8-9 1.3 papers 9-10 the second chapter introduces IPSec 10-24 2.1 IPSec system framework 10 - 11 2.2 cryptography based 11-15 2.2.1 symmetric key algorithm 11-12 2.2.2 asymmetric key algorithm 12-13 2.2.3 digital Signature 13-14 2.2.4 hash function 14-15 2.3 security protocols and related content 15-24 2.3.1 authentication header 16-17 2.3.2 Encapsulating Security Payload 17-20 2.3.3 security Association 20-21 2.3.4 security Policy Database and security Association Database 21-22 2.3.5 authentication and encryption algorithms 22 2.3.6 density key Exchange safety analysis 22-24 Chapter III of IKE 24-37 3.1 IKE mechanism 24-30 3.1.1 two stages nbsp IKE exchange ; 24-25 3.1.2 IKE exchange model 25-30 3.2 IKE security 30-32 <br / > 3.2.1 message origin authentication 30-31 3.2.2 confidentiality Certificate 31-32 3.2.3 integrity certification 32 3.3 IKE defect analysis 32-37 3.3.1 denial of service attacks 32-33 3.3.2 middle attacks 33-34 3.3 .3 replay attacks 34-35 3.3.4 transform load attacks 35-37 fourth chapter to improve IKE security analysis 37-42 message 4.1 digital signature key negotiation mode reconstruction key negotiation under 37-39 4.1.1 digital signatures reconstruction process 37 4.1.2 The digital signature key negotiation three ways to change the safety analysis nbsp 37-39 4.2 under way to reconstruct a digital signature key negotiation ; 39-42 <br / > improvement and Application of Chapter V of elliptic curve algorithm related concepts 42-62 5.1 elliptic Curve domain 42-45 5.1.1 elliptic Curve cryptography 43-45 5.2 binary elliptic curve domain 45-49 5.2.1 binary arithmetic domain elements 45-47 5.2 .2 binary domain analysis on elliptic curve 47-48 5.2.3 binary domain system parameters on elliptic curve 48-49 5.3 ECC algorithm research fast ECC 5.3.1 binary domain on 49-54 accelerated computing analysis 49-52 5.3.2 binary operation between elements of the domain 52-54 5.4 ECC RSA relative strengths 54-55 5.5 ECC application 55-62 5.5.1 ECC-based Diffie-Hellman key exchange 55-59 5.5.2 ECC digital signature 59-62 Chapter VI Conclusion 62-63 6.1 paper summarizes 62 <br / > 6.2 further work 62-63 References 63-66 Summary 66-69 Abstract 69-73 Thanks 73

Related dissertations

  1. The Research on RFID Security Mechanism Based on Encryption
    YangZuoFu ·Jilin University ·2012 ·Master's thesis
  2. Research on the Security of RFID System
    LiuJinHe ·North China Electric Power University ·2012 ·Master's thesis
  3. Problems and Countermeasures of Henan province postal information security
    CaiXiaoBo ·Shaanxi Normal University ·2013 ·Master's thesis
  4. Research and Design of Performance Appraisal System of Inner Mongolia a Fuel Company
    WangYan ·Ningxia University ·2014 ·Master's thesis
  5. Supply Chain-based Study on Shouguang Vegetable Quality and Safety Supervision
  6. Protection of the Inerests of Farmers in China’s Rural Land Transfer Process
    WangGuanZhu ·Inner Mongolia University ·2012 ·Master's thesis
  7. Based on Single Chip Microcomputer Technology Railway Crossing Alarm System Design
    WangJinGe ·Jilin University ·2013 ·Master's thesis
  8. Design and Implementation of Military Barracks Security Monitoring System
    ZhuKunHua ·Xiamen University ·2014 ·Master's thesis
  9. The Design of the Electromagnetic Metal Detectors
    ZhangWenBin ·Tianjin University of Technology ·2013 ·Master's thesis
  10. Research and Design of Wireless Campus Network in Colleges and Universities Based on the Fit AP Networking Mode
    SongPeng ·Hunan University ·2013 ·Master's thesis
  11. Campus intelligent network construction
  12. Research and Design of Campus Network Construction Model Based on IPv6
  13. Study on the Design and Implementation of Network in Vocational Collgges
    YinHuanJiong ·Zhejiang University of Technology ·2013 ·Master's thesis
  14. Trust Management Against Risks in Peer to Peer E-Commerce
    Ngui; Felix Musau(MuSa) ·Central South University ·2012 ·Doctoral dissertation
  15. The Research about Security of Special Police Detachment’s Internal Information Network
  16. The Study of Digital Forestry with Basis of MPLS VPN Security
    LiXueJun ·Hunan University ·2013 ·Master's thesis
  17. A Trust Model Which Based on the Method of Grey Correlation
    ZhuZuo ·Hubei University ·2013 ·Master's thesis
  18. Internet Security under the Background of Informatization Management Research
    TangZuo ·Central South University ·2013 ·Master's thesis
  19. Research on Key Technologies in End Hopping
    LinKai ·Nankai University ·2013 ·Doctoral dissertation
  20. A Study of Prefix Hijacking Defense and Detection in Inter-Domain Routing
    XiangYang ·Tsinghua University ·2013 ·Doctoral dissertation