Design and Implementation of High Speed Anti-Worm Engine Based on Network Processor
- Author
- NiJia
- Advisor
- LinChuang
- School
- Tsinghua University
- Major
- Computer Science and Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 124
- Citations
- 0
- Network Processor
- Anti-worm Engine
- Multi-pattern Matching Algorithm
- Bloom filter
- Hash Boyer-Moore Algorithm
Abstract
With the increasing type and number of Worm attacks in the Internet, Anti-Worm has become an important issue in network security research and anti-worm engine is already widely used in network security applications such as Firewalls and IDS systems. Deep Packet Inspection (DPI) is usually used in anti-worm engine, whose essence is multi-pattern matching procedure. As it should check packet payloads, an anti-worm engine usually takes much more procceeding time. Thus, the design of high performance anti-worm engine is a very important issue in high-speed network security applications.This paper introduces the design and implementation of Anti-Worm Engine based on Network Processor (NP) with Deep Packet Inspection technology. The function blocks of the entire system and inner modules of anti-worm engine are described in detail. The extension fuction of TCP flow stateful scanning is introduced and the structure of flow state record is given too.After a brief survey of Multi-pattern Algorithm, the Bloom Filter algorithm is choosen first. It is a fast paralleled hash algorithm which is widely used on ASIC based hardware design. However, it doesn’t perform well enough in the experiment on NP platform.In order to improve the system performance, the Hash Boyer-Moore (HBM) algorithm is proposed here. It is a novel multi-pattern matching algorithm, which is based on the idea of bad character and distance skip like the Boyer-Moore Algorithm. It has shown higher speed and lower space cost in our analysis and higher throughput than Bloom Filter in our experiments.This anti-worm engine is implemented and optimized on an Intel IXP 2400 Network Processor and its performance is tested too. From these experiments, the anti-worm engine with HBM gives a stable performance and meets the needs of Gigabit Ethernet.
Table of contents
Abstract 3-4
Abstract 4-8
Chapter 1 Introduction 8-15
1.1 Background topics
1.2 worm Overview 8-9
1.2.1 worm history and current status 8-9
1.2.2 worm characteristics 9
1.2.3 worm harm 9
1.3 worm virus detection Overview 9-11
1.3.1 worm detection of common method 9-10
1.3.2 Deep Packet Inspection 10-11
1.4 Network Processor Overview 11-13
1.4.1 two processing mechanism 12
1.4.2 optimized memory management and DMA unit 12
1.4.3 optimized arithmetic logic unit ALU
1.4.4 network dedicated coprocessor 12-13
1.4.5 hardware multi-threading technology 13
1.5 The main research content and contribution 13-15
1.5.1 content 13
main contribution of this paper 1.5.2 13-14
1.5.3 Description of each chapter 14-15
Chapter 2 working 15-19
2.1 platform selection 15-16
2.1.1 full hardware customization way 15
2.1.2 software implementations 15
2.1.3 network processor platform-based approach 15-16
2.2 Overview of multi-mode matching algorithm 16-19
2.2.1 Bloom Filter algorithm and its improvement 16-17
2.2.2 AC algorithm and its improvement 17
2.2.3 BM algorithm EXTENDED 17-19
Chapter 3 anti-worm-engine prototype design are found; 19-27
3.1 Intel network processor IXP 2400, introduced 19-20
3.2 system logic structure design 20-21
3.3 packet processing flow 21
3.4 extended functionality 21-25
3.4.1 extended functionality based on TCP / IP stream scanning 21
3.4.2 flow state record 21-23
3.4.3 classifier design and realization 23-24
3.4.4 across TCP packet signature detection 24-25
3.5 functional block diagram 25
3.6 micro-engine organizational model 25-27
Chapter 4 the Bloom Filter anti-worm engine 27-31
4.1 Bloom Filter algorithm 27-28
4.1.1 Parallel Bloom Filter algorithm 28
4.1.2 count Bloom Filter algorithm 28
4.2 Parameters select 28-29
4.3 hash function to select 29-30
4.3.1 MD5 subfunctions F, G, H and I 29
4.3.2 Ramakrishna-the Fu-Bahcekapili hash function 29-30
4.3.3 on IXP2400 CRC unit and hash unit 30
4.4 Bloom Filter algorithms for NP platform analysis 30-31
Chapter 5 based on HBM anti-worm algorithm engine 31-45
5.1 notation and assumptions 31
5.2 BM algorithm REVIEW 31-33
5.3 HBM algorithm Overview 33-35
5.4 HBM algorithm initialization process 35-41
5.4.1 Delta 1 table initialization structure 35-37
5.4.2 Delta 2 table initialization constructor 37-40
5.4.3 worm signature hash table initialization constructor 40-41
5.5 HBM algorithm running processes 41-42
5.6 HBM algorithm NP platform optimized 42-45
5.6.1 functional block diagram 43
the
allocation of 5.6.2 storage unit 43-44
5.6.3 optimized Summary 44-45
Chapter 6 HBM algorithm proved and Analysis 45-59
6.1 HBM algorithm proved 45-46
6.2 HBM algorithm Analytical 46-59
average shift distance
6.2.1 46-56
6.2.2 misjudgment probability analysis 56-59
Chapter 7 experiments and analysis 59-65
7.1 experimental environment 59
7.2 engine performance based on Bloom Filter algorithm 59-61
7.3 HBM-based algorithm engine performance 61-65
Chapter 8 Conclusion 65-66
the
References 66-69
Acknowledgements 69-70
the
biographical, academic and research published during the study period 70
Related dissertations
- The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
- Research on Architecture of Network Processor for Deep Packet Processing
- Research and Application of De-duplication Algorithm Based on Double Bloom Filter
- Multi-Bloom-Filter Query Algorithms and Their Applications
- Big Data Encryption Algorithm Based on Data Deduplication Technology
- An Efficient Algorithm for the Two-phase Bloom Filter
- Audio-on-Demand over Wireless Sensor Networks
- Design and Realizationin of DPAA-based Accelaration Scheme in LTE System
- Research on Multi-pattern Matching Algorithms Based on Regular Expressions and Hardware Implementation
- Research on Detection and Prevention Methods of SYN Flood Based on Campus Network
- Research on Fine-grained Access Control Based on Resource Gateway
- The Embedded Firewall Based on IXP425Network Processor Design
- Research on Distributed Detection and Tracback Against DDoS Attack
- Research on Key Technologies of a New Honeynet Architecture and Alert Clustering
- Research and Implementation of Network Application Identification System
- The Researches and Applications on High Performance Packet Classification Technology
- Research on Multi-business Indentification Technology Oriented High-speed Network Management and Control
- Ressearch of the Packet Forwarding and Flow Control Based on Network Processor for a Multi-net Gateway
- Dynamic research on reconfigurable switching card
- Research on the Key Technologies of Software and Hardware of Parallel Task Schedyling of Multi-core Network Processor