Design and Impletation of a Security Mechanism of SIP Protocol on Application Layer

Author
FangDongHui
Advisor
FangBinXing
School
Harbin Institute of Technology
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2007
Downloads
155
Citations
1

Request the full text

Abstract

With the rapid development of Internet, the demand of multimedia communications business integrated with data, video and audio, gets rapid development. As the main technical support during the integration, VoIP technology is becoming a hot spot of people’s research and application. Session Initiation Protocol is a widely used VoIP protocol nowadays, mainly for the realization of instruction control over IP, including the creation, management and termination of the multi-user participatory voice conversation process. While on the other hand, facing the complex and open Internet application environment, the lack of strong security mechanisms making SIP seem to be week in safety and bring great security risks for SIP. This paper aims to provide a solution of SIP securiy.This paper first analyses the major vulnerabilities of SIP.Because of plain text transmission of SIP messages and the lack of effective mechanisms for identification, SIP is is vulnerable to face various attack.We analyze the existing security mechanism of SIP, i.e., TLS, IPSec, S/MIME, and then point out the shortcoming of them. One of the main shortcomings is they count on the SIP clients to obtain a certificate, which is not realistic. By expanding SIP protocol, we provide a security mechanism on application layer, which does not count on SIP clients’certificate and does not rely on external security protocol. The mechanisim provided pay attention to hop-by-hop security and end-to-end authentification, and can realize privacy, integrality, and authentication of SIP message.Next we give the implementation of SIP server and SIP client supporting with the mechanism we provided, and we demonstrate the communation correctness of our implementation, and the effectiveness of defending kinds of attacks, and test the commucation efficiency of our security mechanism.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-14 1.1 subject background and significance 9-10 1.2 SIP Security Research 10-12 1.3 This topic research and practical significance 12 1.4 This article organizational structure 12-14 Chapter 2 SIP protocol outlined 14-29 2.1 SIP protocol functions outlined 14-15 2.2 SIP protocol network elements 15-17 2.3 SIP message structure 17-24 2.3.1 SIP Uniform Resource Identifier 17-18 2.3.2 SIP message structure 18 2.3.3 SIP request message 18-20 2.3.4 SIP response message 20-21 2.3.5 SIP message header 21-24 2.4 SIP transaction and session 24-25 the 2.5 several SIP typical process 25-28 2.5.1 registration process 25-26 2.5.2 build session process 26-27 2.5.3 terminate the session process 27-28 2.6 This chapter Summary 28-29 Chapter 3 SIP security risk analysis 29-35 3.1 registered to hijack attacks 29-30 3.1.1 registration mechanism 29 3.1.2 registration authentication mechanism 29-30 3.1.3 registration process of security threats 30 3.2 masquerading server 30-31 3.2.1 server functionality 30-31 3.2.2 masquerading server attack 31 3.3 messages tampering 31-33 3.3.1 re-INVITE messages 31-32 3.3.2 re-INVITE security threats 32-33 3.4 to terminate session 33 3.5 Denial of Service 33-34 the the 3.6 SIP fragile reasons analysis 34 3.7 This chapter Summary 34-35 4th SIP security mechanisms designed 35-49 of 4.1 existing SIP security mechanisms and their drawbacks 35-39 4.1.1 Network layer IPSec 35-36 4.1.2 Transport Layer TLS 36-37 4.1.3 S / MIME encryption and authentication 37 4.1.4 HTTP digest authentication 37-38 4.1.5 of the mechanisms drawbacks Summary 38-39 4.2 A SIP security mechanisms designed 39-47 4.2.1 design ideas 39 4.2.2-by-hop security 39-45 4.2.3 End-to-End Security 45-47 4.2.4 implemented security features to summarize 47 4.2.5 on SIP protocol extensions 47 4.3 This chapter Summary 47-49 Chapter 5 SIP security mechanism to achieve 49-71 5.1 parsing 49-52 the the 5.1.1 Osip2 library Overview 49 the the 5.1.2 Osip2 library analytic treatment processes 49-52 5.1.3 Information integrity and timestamp inspection 52 5.2 SIP server design to achieve 52-60 5.2.1 overall module design 52-54 5.2.2 multi-threaded design 54 5.2.3 registration server module 54-56 5.2.4 database operations module 56 5.2.5 free the status proxy server module 56-57 5.2.6 security module 57-59 5.2.7 underlying data transmission module 59 5.2.8 User configuration 59-60 5.3 SIP client designed to achieve 60-63 5.3.1 client semantic analysis automaton realization 61 5.3.2 multi-threaded design 61 5.3.3 security mechanisms to achieve 61-62 5.3.4 User configuration and interface 62-63 5.4 experimental test process and conclusions 63-70 5.4.1 SIP client communication proficiency test 63-65 5.4.2 SIP server communication ability test 65-66 5.4.3 In this paper, the design of the security mechanisms security testing 66-69 5.4.4 In this paper, the design of the security mechanisms efficiency test 69-70 5.5 This chapter Summary 70-71 concluded 71-72 the References 72-76 to pursuing degree during the academic 76-78 Acknowledgements 78

Related dissertations

  1. Research on Sip Security Authentication Mechanism Based on IMS
  2. Study of Security and Flow Control in Video Surveillance System Based on SIP
  3. Design and implementation of Android system based on mobile phone video calling software
    LiuJia ·Northwestern University ·2013 ·Master's thesis
  4. The Design and Development of Distributed Call Centerbased on VOIP
    MengXianXing ·Shandong University ·2013 ·Master's thesis
  5. The Analysis and Design on the Mobile Office Automation System
    JiangYeXiong ·Xiamen University ·2013 ·Master's thesis
  6. Research on Android Trojan Attacks and Detection Techniques
  7. The Design and Implementation of IP Multimedia Subsystem Streaming Media Software Client
    HuangHaiJun ·Northeastern University ·2013 ·Master's thesis
  8. The Research and Implementation of Ulvac Building in Network Video Monitoring System
  9. Remote Video Monitoring System Based on RTP and H.264Technology
  10. Research of Voice Scheduling System Based on MANET
    XuLiang ·Hunan University of Technology ·2013 ·Master's thesis
  11. The Research and Achievement of Mobility Management in TD-SCDMA Private Coal Network with SIP
  12. The Design and Implementation of Voice Communication Subsystem of Mesh Emergency Network in Mines
    ZhangJiangGui ·Beijing Jiaotong University ·2014 ·Master's thesis
  13. Design and Implementation of Wireless Video Server System
    ZhengJing ·WRI ·2012 ·Master's thesis
  14. Design and Implementation of Center Control Server for Multimedia Trunking Communication System
    ZhuangWeiZuo ·Xiamen University ·2014 ·Master's thesis
  15. Research and Implementation of SIP Protocol Based on Android Operation System
    HeZuoYi ·Hunan University ·2013 ·Master's thesis
  16. Research and Realization of Embedded VOIP Terminal Based on the SIP Protocol
    ChenZuo ·Hubei University of Technology ·2013 ·Master's thesis
  17. Research on Public Emergency Management Problem in Shaanxi Province
    DongWenJing ·Chang'an University ·2013 ·Master's thesis
  18. The Hisorical Research of Security Mechanism in Ecowas
    LiYueE ·Zhejiang Normal University ·2013 ·Master's thesis
  19. A Study on Synthesis, Structures and Properties of Transition Metal-5-sulfoisophthalate Complexes
    ZhuRuiMin ·Huaqiao University ·2013 ·Master's thesis
  20. On Main Customer Marketing Strategy of China Mobile Group of Nanjing Branch
    HuangKangKai ·Nanjing Agricultural College ·2012 ·Master's thesis