Research on Design and Performance Optimization of NP-based Intrusion Detection Systems

Author
XuXianCheng
Advisor
ZhangLing
School
South China University of Technology
Major
Communication and Information System
Classification
TP393.08 Computer Network Security
Degree
Doctoral dissertation
Year
2010
Downloads
229
Citations
1

Request the full text

Abstract

Intrusion detection is still a challenging work. As the complexity analysis difficult, network intrusion detection systems generally run on a PC or general-purpose workstation. Unfortunately, because of the limited high-bandwidth network traffic analysis capabilities, the traditional general-purpose systems have been proven operating platform is not suitable as a high-speed network intrusion detection system. People trying through the filter not interested in packets on a network interface, to improve the performance of the network intrusion detection system. Fortunately, the network architecture and its elements has been a qualitative leap, which makes the location of the concrete implementation of network processing also changes. Can now deal with a complex network of \As modern network communication node host system or server architecture make full use of the advantage of multi-core CPU processing, network processor (NP) and FPGA also be organically integrated into the network interface card, to form a new network interface called Smart card (iNIC) computing resources. This is an opportunity for intrusion detection uninstalled from the host to the Intelligent NIC. Degree of intelligence and cost-effective network processor board (NPNIC) is getting better and better, with the enhanced smart NP board computing power of the host system completely shoulder by the edge routers usually have a large number of processing tasks can be offloaded to the host . The emergence of new multicore and virtualization technology forcing people to have to rethink how to complete the traditional network processing tasks. This article from the deployment location in the network intrusion detection angle analysis of the deficiencies of the existing centralized system, combined with the the host smart board network processor multi-core multi-threaded parallel processing features, proposed to take advantage of the additional processing power available NP Intelligent NIC interface to achieve distribution intrusion detection system (iNIC NIDS), the set of iNIC NIDS distributed systems and NP both advantage in one, with the advantages of high reliability, scalability and high throughput, especially for complex high-speed network of distributed intrusion detection . We give its deployment scenarios, and as a platform for smart card programmable network processor to achieve the program state detection prototype system of SCUT NP-NIDS. The main work of the paper include: 1, proposed a distributed intrusion detection system design based on the node host NP Smart board. The program sets the advantage of distributed systems and network processor in one. Have more fine-grained data flow detection, only implemented for each data stream received local private security strategy, you can customize the security policy, scalability and invulnerability, the evidence collected and fixed the advantages of convenient attack. Detailed description and analysis we give a general scheme, proposed separation system design concept of policy control and data interfaces, communication security policy enforcement and host network processor network interface, the user interface and system modules, and implemented by the prototype system to verify that the program feasibility. To achieve optimized the state network intrusion detection system prototype. Processing speed and the rules state intrusion detection system performance depends primarily on the session table to match the efficiency of the algorithm. We TCP session reassembly module from design to achieve a number of optimization and improvement: a binary sort tree Hash tables organize session table quickly and efficiently, the session entries carefully designed structure while maintaining session state to avoid excess memory access operation; split session table assigned to different storage channel, and to improve the access speed; keyword search algorithm makes finding improved efficiency doubled; proposed the session node recovery Cache function allocation algorithm, making allocation recovery efficiency of 16 times; innovation proposed multi-queue timeout algorithm, the algorithm is only associated with the session nodes linear, high efficiency, and easy to implement, avoiding the inefficient operation of the session tree traversal. The prototype system session reorganization build the association between the packet processing module to meet the requirements of today's online deep content inspection. Actual tests show that well-designed data structures and algorithms, and a series of optimizations significantly improved the system performance. Proposed two interface design methods and improved the user interface of the prototype system with users - Kernel Interface. IOCTL mechanism on the one hand, the NP smart card users - kernel interfaces required for virtual device and its operating functions, solve tricky heterogeneous processor address space address translation and access issues. Facilitate the rule base upgrade improve adaptability flexible configuration of the system. On the other hand, cleverly borrowed Zebra achieve prototype system CLI command line interface to achieve the control interface of the proposed scheme, both local commissioning and maintenance of the system to the open source routing software, network administrator and convenient remote implementation of the prototype system management strategies . 4, proposed and implemented a prototype intelligent network processor system host network interface. Proposed this interface can be used as the data between the host and the board of the proposed scheme interface implementation of intrusion detection applications uninstall the host network processor board required driver manipulation functions. The the existing host top-level application without requiring any changes to the network through the interface with the underlying hardware processing unit interacts makes complex detection task processing between the host CPU and board NP reasonable configuration, but also greatly facilitate the system to increase the novel network application services . Proposed intrusion detection applications uninstall concept and the introduction of the evaluation model, experimental platform to build a prototype system. Our proposed intrusion detection application offloaded to the network processor concept of the smart card, and try with the LAWS model to enhance the performance under a variety of conditions uninstall provide a theoretical basis and experimental validation. Built experiment platform including benchmarks and test cases and network analyzer kit. Comprehensive study of different protocols from different backgrounds access smart NP network interface compared to the performance of common network interface; validity of the assessment session of restructuring state detection module from a variety of perspectives; intrusion detection applications in a different location on the communication path The achievement of the processing level network interface to conduct a detailed performance analysis and comparison. The experimental results show that the application of the intrusion detection is placed in the distance network links closer to the network processor that enables the system while a decrease of about 30 times the delay through the advance prevent illegal stream of legitimate flow about 30 times the bandwidth. A series of tests to verify the effectiveness and feasibility of the network processor smart card-based intrusion detection system (iNIC NIDS) in a distributed environment.

Table of contents

Summary 5-7 Abstract 7-13 first chapter 13-20 1.1 Background 13-15 < br /> 1.2 line of research 15-16 the 1.3 contents 16-17 the 1.4 main job is 17-18 1.5 paper is organized 18-20 Chapter II work 20-42 2.1 Intrusion Detection Overview 20-28 2.1.1 Intrusion Detection Architecture Evolution NP smart card-based Distributed Intrusion Detection System nbsp 20-22 2.1.2; 22-28 2.2 protocol processing and optimization 28-32 2.2.1 Performance evaluation criteria 28-29 2.2.2 Performance Evaluation Model 29-32 2.3 network processor nbsp the; 32-40 2.3 .1 IXP hardware structure the 32-34 2.3.2 IXP software architecture structures 34-35 2.3.3 micro-engine and microcode development 35-38 2.3.4 coding standards and design optimization points 38-40 2.4 Chapter Summary nbsp 40-42 Chapter prototype system design and optimization; 42-76 3.1 background knowledge 42-45 3.1.1 NP-based IDS work 42-43 3.1.2 Snort Intrusion Detection System 43-45 3.2 SCUT NP-NIDS 45-53 3.2.1 System Architecture nbsp 45-47 the 3.2.2 rule analytic process ; 47-48 3.2.3 rules for the user - kernel interface 48-53 3.3 management interface (CLI) Design and Implementation 53-59 3.3 the .1 of open source software Zebra the 53-54 3.3.2 CLI Introduction 54-55 3.3.3 Zebra the CLI's design principle 55-58 <br / > 3.3.4 the CLI implementations 58-59 3.4 TCP sessions reorganization the 59-74 3.4.1 module structure 60-63 3.4 .2 session node lookup optimization 63-64 3.4.3 hash conflict resolution 64-65 3.4.4 hash function construction of 65 - 68 3.4.5 session timeout processing and improved the 68-71 3.4.6 session node allocation and recovery 71-74 3.4.7 shared data the structure exclusive access 74 3.4.8 Other relevant work 74 3.5 Chapter Summary 74-76 Chapter system host network the processor interface 76-101 4.1 design options 76 4.2 Linux network device driver 76-86 4.2.1 related work 77-78 4.2.2 Linux network driver program architecture 78-80 4.2.3 network device initialization 80-83 4.2 the .4 network packets sent 83-84 4.2.5 network packet reception 84-86 4.3 IXP network processor-based network interface 86-87 4.4 host-based the NP network interface 87-88 the 4.5 experimental methods and experimental results 88-92 4.5.1 used NP board 90-92 4.5.2 of the benchmark are found; 92 4.6 Experimental results the experimental results 92-100 4.6.1 IXP network interface 92-97 the 4.6.2 host network interface experimental results 97-100 4.7 Chapter Summary 100-101 Chapter system performance and intrusion detection application uninstall experimental validation 101-116 5.1 network applications and network processor 101-102 5.2 state the IDS verify that 102-108 5.2 the .1-session port scan to verify 103-104 5.2.2 session reorganization verify 104-105 5.2.3 system performance and relevant comparative 105-107 < br /> 5.2.4 the number of rules changes in the performance difference 107-108 5.2.5 protocol changes the performance difference 108 of 5.3 different processor-level IDS option 108-109 5.4 IDS experimental settings and results of the implementation options 109-115 5.4.1 mixed flow test 112-113 5.4. 2 clean stream test 113-114 5.4.3 the results of the analysis and discussion 114-115 5.5 Chapter Summary 115-116 the summary and Prospects 116-119 the Ref. 119-132 studying for a doctorate during acquired research 132-133 Acknowledgements 133 - 134 Accessories 134

Related dissertations

  1. The Design and Implement of Rule Matching Core Component of Firewall and the Preprocessors Module of IDS
  2. The Design and Implementation of Intrusion Detection System Based on Network Processor
    LeiJun ·Shanghai Jiaotong University ·2007 ·Master's thesis
  3. IXP2400 -based Design and Implementation of NIDS
  4. Research on the Improvement of the Performance Appraisal System for the Dispatching Labors of Changsha Mobile Communication Company
    SuHang ·Hunan University ·2013 ·Master's thesis
  5. Research on Performance Management of the Credit Cooperation in Shandongacounty
  6. Formation Control of Mobile Robots and Its Application in the Odor Source Tracking
    WeiJianLong ·Tianjin University ·2012 ·Master's thesis
  7. A Comprehensive Vulnerability Based Alert Management Approach
    Humphrey Waita Njogu ·Hunan University ·2012 ·Doctoral dissertation
  8. Based on the Firewall and Intrusion Detection Linkage System Research and Implementation
  9. Research on IP Traceback Intrusion Detection System Based on Immune
  10. The Research of Intrusion Detection System Based on Artificial Immune
    YangZhenYu ·Hebei University of Engineering ·2013 ·Master's thesis
  11. Data Preprocessing Technology Research of Dendritic Cells Algorithm
  12. Dendritic Cell Algorithm Online Analysis Module and Its Applications
  13. The Design and Application of C/S Mode IDS Based on Snort
    WangHuiXia ·Beijing University of Technology ·2013 ·Master's thesis
  14. The Research of Alert Fusion in Intrusion Detection System
    CaoZuoZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Research on Architecture of Network Processor for Deep Packet Processing
    YuanBo ·Tsinghua University ·2013 ·Doctoral dissertation
  16. The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
    MaYingYing ·Hunan University ·2013 ·Master's thesis
  17. Research on Distributed Data Mining System Based on Dynamic Agent Technology
    ZhouKai ·Hebei University of Engineering ·2013 ·Master's thesis
  18. Design and Implementation of Rehabilitation Detection and Training System
  19. Uncertain Construction and Optimization of Reverse Logistics System
    ZhangLing ·Zhejiang University ·2014 ·Doctoral dissertation
  20. Research on Parallel Computing Technology in Loudi Region Analysis of Soil and Water Loss in the Processing of Application
    WangXiuLin ·Hunan University ·2013 ·Master's thesis