ARP defense systems design and implementation

Author
WenZhuoRan
Advisor
LuoShouShan
School
Beijing University of Posts and Telecommunications
Major
Software Engineering
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2009
Downloads
76
Citations
1

Request the full text

Abstract

With the popularity of the network, enterprises and institutions working on the deepening dependence on the network, followed by the network security and network stability requirements are increasing. Since 2000, the network ARP attacks gradually flooding. The harm caused more and more big, of which attacker those who launched may be the hacker, may also be yes ARP virus. The so-called ARP virus, is the use ARP protocol loopholes, carry out dissemination and network attacks behavior of the virus. Because the ARP broadcast features and protocol functions, ARP virus showed rapid spread of destructive and other characteristics. Often a room \So there is \ARP defense system came into being. This paper analyzes the principle of ARP attacks, comprehensive known ARP defense methods and user requirements, design ARP defense system works and describes the design and implementation of ARP defense system's work. This paper mainly for the following aspects of work: 1. Depth study of the ARP protocol packet structure and working principle of the principle of ARP attacks and network security hazards. (2) understand the existing ARP attack defense products, analyze their deficiencies. In the pre-design to understand the user's basic needs and then design the product the basic shape after entering the user trial phase, with the user on product usage habits, specific network environment, special needs, the product of insufficient depth exchanges for secondary requirements gathering . And completed the ARP defense system needs analysis. 3. Completed a ARP defense system outline design and detailed design, the outline design middle design system is divided into six major modules, each module Du is divided into html, CGI, system program three part of the, CGI part is responsible user through the web pages with linux system interactive, used to pass parameters and display data, the system program part namely in the operating system under the executable command, them in achieving the the exact functionality. Detailed design of the middle Design System analyze the data packets and detect the ARP attacks of the algorithm, design orientation switch port and blocking the ARP attack source's mechanism for. Design implementation, and technical team members demonstrate design feasibility, the final decision ARP defense system implementations using the x86 architecture IPC installed after reduction of linux system as a platform to run the ARP defense system program approach. 4. Implement ARP defense system, this paper describes the implemented system's core modules, the core program of critical data structures, describes the process of building the entire system. Describes the preparation part of the code. 5 product performance testing, black box testing, user testing, completed the ARP defense system test report.

Table of contents

Abstract 4-6 ABSTRACT 6-11 first chapter 11-14 1.1 Thesis background 11 <br / > 1.2 main job 11-12 1.3 paper structure 12-14 Chapter ARP attack Principle Analysis 14-20 2.1 ARP protocol Introduction 14-16 2.2 ARP attack Principle Analysis 16-17 2.3 ARP attack types 17-19 2.3.1 ARP spoofing 17-18 2.3.2 ARP flood 18 2.3.3 ARP irregular package 18-19 2.4 Summary 19 - 20 Chapter CGI and linux kernel programming 20-32 3.1 CGI brief 20-23 3.1.1 works 20 - 21 3.1.2 CGI external expansion programming 21-23 3.1.3 CGI Summary 23 3.2 Linux user space and kernel space under the data exchange mechanism 23-26 3.3 Netfilter mechanism outlined 26-31 3.4 Summary 31-32 Chapter ARP defense systems requirements analysis and summary Design 32-41 4.1 ARP virus hazard analysis 32-33 4.2 System Requirements Analysis 33-34 4.3 overall design 34-35 4.4 module functional design 35-39 4.4.1 Data Acquisition Module 35-37 4.4.2 ARP monitoring module 37-38 4.4.3 System Management Module 38 4.4.4 Switch Management Module 38-39 4.4.5 Attack processing module 39 4.4.6 log alarm module 39 4.5 ARP defense realize the advantages of the hardware in the form and meaning 39-40 4.6 Chapter Summary 40 - 41 Chapter ARP defense system detailed system design 41-63 5.1 system defense ARP design principles 41-44 5.1.1 Method one: Port Mirror 41-42 5.1.2 Method Two: Analyze router log 42 5.1.3 Method three: Analyze router ARP table 42-43 <br / > 5.1.4 system, the method used 43-44 5.2 file system storage 44-45 5.3 overall system operation flowchart 45-46 5.4 CGI part of the detailed design 46 5.5 call each system module design 46-48 5.6 system management module for the detailed design 48-49 5.7 data acquisition module for the detailed design 49-51 5.7.1 network interface settings 49-50 5.7.2 Static Routing setting 50 5.7.3 vlan data reception 50-51 5.8 ARP monitoring module detailed design 51-55 5.8.1 hostadm module 51-53 5.8.2 check ARP packets compliant 53 5.8.3 log output 53-54 5.8.4 monitor the detailed design 54-55 5.9 attacks processing module detailed design 55-58 5.9.1 Positioning Process 56-57 5.9.2 cascade screening mouth and whitelist 57 5.9.3 using multiple threads 57 5.9.4 blocking switch port and open the switch port 57-58 5.10 Switch Management Module for the detailed design 58-59 5.10.1 automatic search switch 58 5.10.2 extract information exchange network port 58-59 5.11 log alarm module detailed design 59-62 5.11.1 log server 59 5.11.2 Principle 59-60 5.11.3 Program flow 60-61 5.11.4 Log Viewer - Attack Log 61 5.11.5 Log Viewer - operation log 61-62 5.12 Summary 62-63 Chapter ARP defense system to achieve 63-83 6.1 and linux kernel build system cuts 63-70 6.1.1 reduce the kernel 63-66 6.1.2 custom file system 66-70 6.2 CGI overall architecture implementations 70-74 6.2.1 CGI development environment directory 70-71 6.2.2 CGI module data structure 71-73 6.2.3 between modules Contact 73-74 6.3 ARP monitoring module core processes Hostadm realization 74-76 6.3.1 hostadm program kernel layer and user layer information exchange 74 -76 6.4 hostadm hook function 76-82 6.4.1 hostadm_hook realization 76-78 6.4.2 arphack_in_hook arphack_prerouting_hook realization 78-79 6.4.3 IP MAC data structure 79-81 6.4.4 Hostadm achieve pre-determined attack 81-82 6.5 Chapter Summary 82-83 Chapter VII of the software testing and performance analysis 83-87 7.1 hardware performance testing 83-84 7.2 software testing 84-86 7.2.1 test content 84-85 7.2.2 test specific content 85-86 7.3 Chapter Summary 86 - 87 Chapter VIII Conclusion 87-89 8.1 thesis work summarizes 87-88 8.2 Problems and Prospects 88-89 References 89-90 Thanks 90

Related dissertations

  1. Automatic access and management of equipment in a wireless home network
    LiuShaoBo ·Fudan University ·2012 ·Master's thesis
  2. Design and Implementation of A Network Access Monitoring System for User
    LiuQiao ·Northeastern University ·2012 ·Master's thesis
  3. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  4. The Research of CANopen Protocol Based on Embedded Systems
  5. Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
    HanYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  7. Design and Application of Higher Vocational Colleges and Universities Campus Network
    ZhengYeMeng ·Qilu Industrial University ·2013 ·Master's thesis
  8. Campus intelligent network construction
  9. Study of Fujian Business School Campus Network Based on Engineering Design
  10. Research and Design of University Network Construction
  11. Optimization Campus Network Cache with Two Value Hopfield Network Model
  12. The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
    SongWei ·South China University of Technology ·2013 ·Master's thesis
  13. Research and Implemention of IP Packet Reinstall System Based on VPN
    MaTeng ·Dalian Polytechnic University ·2011 ·Master's thesis
  14. Research on Intrusion Detection Based on Clustering Algorithm
    WuLongChang ·Northeastern University ·2011 ·Master's thesis
  15. Study the Technology of Extraction Situation Factor for Network Security Situation Awareness
    GuoJian ·Northeastern University ·2011 ·Master's thesis
  16. The Electronic Reading Room ARP Virus Detection and Localization System Research
    LiJin ·Xi'an University of Petroleum ·2011 ·Master's thesis
  17. Study and Deployment on Communication Security and Optimizations for VPN Networks
    XuHaiDong ·Northeastern University ·2011 ·Master's thesis
  18. Research on Key Technologies of Network Traffic Analysis and System Implementation
  19. A Network Security Risk Computation Approach Based on Attack Graphs
  20. University Network Security Problems and Countermeasures
    Xu ·Yanshan University ·2012 ·Master's thesis