SSLv3/TLS network security protocols Research and Implementation
- Author
- ZhaoYang
- Advisor
- WangZhongRen
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 222
- Citations
- 3
Table of contents
Abstract 3-4
Abstract 4-10
Chapter Introduction 10-16
1.1 Background and Significance topics 10
1.2 research status at home and abroad 10-11
1.3 SSL / TLS protocol-related security technology overview 11-16
1.3.1 Data Encryption Technology 11-15
1.3.1.1 symmetric cipher encryption system 11-12
1.3.1.2 Asymmetric cryptography can 12-13
1.3.1.3 Digital Summary Technical 13-14
1.3.1.4 Digital Signature (Digital Signature) and authentication (Authentication) 14-15
1.3.2 Public Key Infrastructure (Pulbic Key Infrastructrue) 15
1.3.3 Transfer Protocol Secure 15-16
Chapter SSLv3/TLS protocol analysis 16-52
2.1 SSLv3/TLS agreement Introduction 16-17
2.1.1 SSLv3/TLS services 16-17
2.1.2 SSLv3/TLS running processes 17
2.1.3 Session (Session) and connect (Connection) 17
2.2 SSLv3/TLS data structure description language and encoding 17-21
2.2.1 Basic data block 18
2.2.2 Vector 18
2.2.3 integer 18
2.2.4 Enumeration 18-19 <br / > 2.2.5 constructed type 19
2.2.6 variant record 19-20
2.2.7 Encryption Properties 20-21
2.3 HMAC and pseudo-random number function 21-22
2.4 SSLv3/TLS recording layer protocol 22-30
2.4.1 SSLv3/TLS connection status 22-24 < br /> 2.4.2 recording layer 24-27
2.4.2.1 Break 24-25
2.4.2.2 Record compression and decompression 25-26 < br /> 2.4.2.3 Record load protection 26-27
2.4.2.3.1 no encryption or standard stream encryption 26-27
2.4.2.3.2 CBC block cipher 27
2.4.3 key calculation 27-30
2.4.3.1 TLS key calculation 27-29
2.4.3.2 SSLv3 of key calculation 29-30
2.5 SSLv3/TLS handshake protocol (Handshake protocol) 30-46
2.5.1 encryption algorithm to change the protocol (Change cipher spec protocol) 30
2.5.2 Alarm Protocol (Alert protocol) 30-34
2.5.2.1 deactivate the alarm (Closure alerts) 32
2.5.2.2 false alarms (Error alerts) 32-34
2.5.3 SSLv3/TLS handshake 34-36
2.5.4 handshake packets 36-46 <br / > 2.5.4.1 Hello message 37-39
2.5.4.1.1 Hello Request message 37
2.5.4.1.2 Client Hello message 37-39 < br /> 2.5.4.1.3 Server Hello message 39
2.5.4.2 Server Certificate 39-40
2.5.4.3 Server Key Exchange message (Server key exchange message) 40-43
2.5.4.4 certificate request (Certificate request) 43
2.5.4.5 Server Hello end (Server hello done) 43
2.5 .4.6 Client Certificate (Client Ceritificate) 43-44
2.5.4.7 Client Key Exchange message (Client key exchange message) 44
2.5.4.8 RSA encryption Premaster secret News 44
2.5.4.9 Diffie-Hellman public key 44-45
2.5.4.10 certificate validation 45
2.5.4.11 end message (Finished ) 45-46
2.6 encryption parameters are calculated 46-47
2.6.1 TLS encryption parameters are calculated 46
2.6.2 SSLv3 encryption parameter calculation 46
2.6.3 RSA 46-47
2.6.4 Diffie-Hellman 47
2.7 encryption algorithm clusters 47-49
2.8 temporary RSA key 49
2.9 Security Analysis 49-52
2.9.1 authentication and key exchange 49 - 50
2.9.1.1 anonymous key exchange 49-50
2.9.1.2 RSA key exchange with authentication 50
2.9.1.3 Authenticated DH secret key exchange 50
2.9.2 restore sessions 50-51
2.9.3 Hash algorithm 51
2.9.4 application data protection 51-52
Chapter SSLv3/TLS protocol implementation 52-73
3.1 overall system design 52-53
3.1.1 System Requirements 52-53
3.1.2 runtime environment 53
3.1.3 implementation 53
3.2 SSLv3/TLS API implementation 53-62
3.2.1 server-side state is defined 56
3.2.2 server-side event defined 56
3.2.3 server state transitions 56-57
3.2.4 client state defines 57-58
3.2.5 client events defined 58
3.2.6 client state transitions 58
3.2.7 server state machine program structure 58-60
3.2.8 API interface design 60-62
3.3 system data structure design 62-69
3.3.1 context SSLv3_TLS_Env structure 62-63
3.3.2 session-related structures 63-64
3.3.3 Session information structure SSLv3_TLS_Session 64-66
3.3.3.1 conversation shared memory header structure session_header 64-65
3.3.3.2 hash table structure 65-66
3.3.4 SSLv3_TLS_Machine and SSL_socket structure 66-67
3.3.5 SSLv3_TLS_Event structure 67-68
3.3.6 Status predefined 68-69 < br /> 3.5 system compatibility design 69
3.6 encryption algorithm 69
3.7 system error processing design 69-70
3.8 configuration file (SSLv3_TLS.conf) defines 70-71
3.9 API application design framework 71-73
Chapter 4 System testing and analysis 73-77 <br / > 4.1 testing purposes 73
4.2 test environment 73
4.3 test content 73-77
4.3.1 Functional Test 73 - 75
4.3.1.1 handshake test 73-74
4.3.1.2 Application Data transceiver test 74
4.3.1.3 close connection test 74-75
4.3.2 Performance Test 75
4.3.3 compatibility testing 75-77
4.3.3.1 server with the IE browser to connect 75 - 76
4.3.3.2 client side and IIS5.0 server connection 76-77
Chapter Summary 77-78
References 78 - 79
Thanks 79-80
biographical research results during the study period and 80
Related dissertations
- Researches on Authentication Protocals and Applications in Network Security Systems
- Research on the Information Security Management of Commercial Bank Branches
- Study of Information Security Risks Control in IT Outsourcing about a Insurance Company
- Study on Information Security Risk Management System of Our Banks
- Research of the Information Security Management Strategy in A Company
- ISO27001Information Security Management System Diagnosis and Analysis for Boshi Company
- Design and Implementation of Secure Industrial Ethernet Based on Cortex-A8
- Design and Implementation of Secure E-commerce Website
- Research on Usage Control Model in Dynamic Openly Systems
- Research on Technique of Capture and Reconstruction Audio and Video Traffic
- The Research and Application of Party School Network Security System Based on Classified Protection
- Research on APT Network Attacks and Defense Strategies
- Risk Analysis and Evaluation of Network Security in Stock Information Systems
- Research of Deception and Anti-Attack Methods in Dynamic Target Defense
- Oil sales enterprise logistics information network security research
- Design and Implementation of Network Security Detection System
- The Design and Implementation of Shandong Haihua Group Network Information Security System
- Research and Design of Network Information Security System for Local Taxation Bureau
- Research on Security Protocol Formal Verification Tools Automatically AVISPA
- The Design and Implementation of CA Safe Authentication System Core Functions in E-government