Design and Implementation of DNS Detection System Based on Network Information

Author
ZhengHaiTao
Advisor
ZhangHongKe
School
Beijing Jiaotong University
Major
Communication and Information System
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2009
Downloads
156
Citations
3

Request the full text

Abstract

With the rapid development of Internet technology, more and more people are enjoying the Internet services. The vast majority of services are based on the Web service, and there are many network security problems hidden in this kind of service. Many Internet threats such as Trojans, viruses, and malicious software can easily spread in the network environment through the Web service. And this kinds of threats will cause losses to the Internet users. In the network, the information contained in the DNS data contains plenty of Web information, through monitoring the data information from DNS can find, position, and solve the security problem in the network.This dissertation which designs and implements a DNS detection system based on the network information content, is based on a network security project from a province security department.Firstly, this dissertation introduces the current situation of network security, and researchs the DNS domain name system, pattern matching algorithm and the network packet capture technology.Secondly, DNS detection system is overall designed which includes analyzing the actual demand of the overall design goal from the security department, designing both the four-layer structure of the system and the database.The four layers are: packet capture and protocol decode layer, DNS data restore layer, content matching layer and applied operation layer.Thirdly, According to the overall design scheme, the DNS detection system is implemented. In accordance with the four-layers structure, the dissertation detailed designs and implements four function modules, each module for each layer. The packet capture and protocol decode module is implemented by using the Libpcap library. The DNS data restore module is implemented through the analysis of the structure of the DNS packets. Content matching module is implemented by using the MWM mutil-patterns matching algorithm which combines with the advantages of both Boyer_Manbe algorithm and Wu_Manber algorithm. Applied operation module is implemented according to the requirements of the data storage function and the domain redirection function.Finally, the comprehensive function test and performance test of the DNS detection system are carried on. The test results completely achieved the desired goal of each function of system.The DNS detection technique is a kind of network data content audit technique. The audit techniques based on DNS data content is rare both at home and abroad. The design and implementation of the DNS detection system meets the requirements which is the security department’s actual need, has practical value.

Table of contents

Acknowledgements 5-6 Chinese Abstract 6-7 ABSTRACT 7-12 1 Introduction 12-18 1.1 Background and significance 12-14 1.2 research status 14-16 1.2.1 Internet content security auditing technology 14-15 the 1.2.2 network data sniffing 15-16 1.3 thesis work and structure 16-18 the DNS detection system principle 18-31 2.1 DNS Domain Name System 18-22 2.1.1 DNS Domain Name System features 18-19 2.1.2 DNS domain name space 19-21 2.1.3 DNS works 21-22 2.2 mode matching algorithm 22-28 2.2.1 simple pattern-matching algorithm 23-24 2.2.2 Boyer_Moore mode to matching algorithm 24-25 2.2.3 Wu_Manber multi-mode matching algorithm 25-28 2.3 network packet capture technology 28-30 2.3.1 the developed package based on the BPF Libpcap, C \u0026 28-29 2.3.2 NAPI mechanism 29-30 2.4 This chapter Summary 30-31 3 DNS detection system design 31-43 the 3.1 requirements analysis and design goals 31-32 3.2 system architecture design 32-35 3.2.1 data processing flow divided 32-35 3.2.2 use management divided 35 3.3 system function design 35-39 3.3.1 server-side function design 36-37 3.3.2 client functional design 37-39 3.4 database design 39-42 3.4.1 database overall design 39 3.4.2 database description and ER diagram 39-41 3.4.3 key data tables Describe 41-42 3.5 This chapter Summary 42-43 the DNS detection system achieve 43-67 the the 4.1 packet capture analysis module to achieve 43-50 4.1.1 packet capture sub-module processes 43-45 4.1.2 packet capture sub-module function interface 45-46 4.1.3 data packet parsing sub-module processes 46-47 the 4.1.4 packet resolve sub-module main data structure 47-49 4.1.5 packet parsing sub-module function interface 49-50 4.2 DNS data reduction module to achieve 50-56 4.2.1 DNS packet structure 50-53 4.2.2 DNS data reduction process 53-54 4.2.3 DNS data reduction module main data structures 54-55 4.2.4 DNS data reduction module function interface 55-56 The the 4.3 content matching module to achieve 56-63 4.3.1 matching solution 56-59 4.3.2 content matching module process 59-61 4.3.3 content matching module data structure 61-62 the 4.3.4 content matching module function interface 62-63 4.4 applications operating module to achieve 63-65 4.4.1 to read and write database sub-modules to achieve 63-65 4.4.2 domain name redirect sub-module implementation 65 4.5 system clients achieve 65-66 4.6 This chapter Summary 66-67 5 DNS detection system test 67-78 5.1 DNS detection system test environment 67-68 5.1.1 test equipment hardware configuration 67 5.1.2 System test network topology diagram 67-68 5.2 DNS detection system functional test 68-76 5.2.1 start and stop the test 68-69 5.2.2 domain name whitelist detection test 69-70 5.2.3 domain name blacklist detection test 70-71 5.2.4 answering the IP blacklist detection test 71-72 5.2.5 IP the geographic address detection test 72-73 5.2.6 domain name the redirect function test 73-75 5.2.7 modify the rule base function test 75-76 5.3 DNS detection system performance test 76-77 5.4 This chapter Summary 77-78 6 Conclusion 78-80 the References 80-82 of resume The 82-86 the Dissertation datasets 86

Related dissertations

  1. The Construction Scheme of Shanghai XX Government Portals Website
    LiYuanZuo ·Shanghai Jiaotong University ·2011 ·Master's thesis
  2. Research of Fast-flux Bot Detection and System Implementation
  3. Research on the Evaluation Model of the Service Quality of DNS
    HuPeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Optimization and Implementation of a Company’s Domain Name System in Xinjiang
    HaMuLaTi ·Xiamen University ·2014 ·Master's thesis
  5. The Research of Multiple Pattern Matching Algorithm on Chinese/English Mixed Texts and GPU Parallelization
    WangZhen ·Hunan University ·2013 ·Master's thesis
  6. Screening of Producing Cellulase Bacteria and Ultraviolet Mutagenesis
    ZhangXueJia ·Hunan Agricultural University ·2013 ·Master's thesis
  7. Direct Numerical Simulation and Its Statistical Analysis of the Collapse of Multi-bubbles
    WenZhongQing ·Zhejiang University ·2013 ·Master's thesis
  8. The Query Research Based on Reachability of Uncertain Graph
    DiQiuZuo ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. Study on Distributed Instruswn Detection System Based on Military Network
  10. The Desing and Implementation of Intrusion Detection System for Ndc in Ctt
  11. Design and Implementation of Deploying DNS System Based on the Anycast Technology
    FanWen ·Shandong University ·2013 ·Master's thesis
  12. Design and Implementation of DNS Structure Vulnerability Assessment System Based on Domain Name Resolution
    WangXiaoYing ·Harbin Institute of Technology ·2013 ·Master's thesis
  13. Reserach and Design of DNS System Security Enhancement
  14. The Analysis and Study on Internet DNS Traffic
  15. Research and Implementation of Test Methods of Protocol Extensible Property
    GuoYaJie ·Inner Mongolia University ·2012 ·Master's thesis
  16. The Techniques of Network Information Content Audit
  17. Design for manufacturability (DFM) analysis and practical method of matching key figure
    CaiJun ·Fudan University ·2008 ·Master's thesis
  18. The Design of Automatic Positioning Punching Machine Based on Machine Vision
    ZhangShiLing ·Chengdu University of Technology ·2012 ·Master's thesis
  19. Research on Key Technology for Mapping System
  20. The Design and Implementation of A Unified M2M Service Platform