跳到主要內容

臺灣博碩士論文加值系統

(216.73.217.85) 您好!臺灣時間:2026/11/28 14:48
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:洪精佑
研究生(外文):Hung, Ching-You
論文名稱:對於網路入侵偵測系統之功能平行化樣本比對演算法
論文名稱(外文):A Function-Parallelism Pattern-Matching Algorithm for Network Intrusion Detection Systems
指導教授:黃育綸
指導教授(外文):Huang, Yu-Lun
學位類別:碩士
校院名稱:國立交通大學
系所名稱:電機與控制工程系所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2009
畢業學年度:97
語文別:英文
論文頁數:37
中文關鍵詞:樣本比對演算法、功能平行化、入侵偵測系統、深入封包偵測
外文關鍵詞:pattern matching algorithm、function parallelism、instrusion detection system、deep packet inspection
相關次數:
  • 被引用被引用:0
  • 點閱點閱:430
  • 評分評分:
  • 下載下載:12
  • 收藏至我的研究室書目清單書目收藏:0
在網路入侵偵測系統(NIDS)中,處理封包速度過慢的NIDS對於所保護的系統會有安全性上的漏洞。其中,樣本比對演算法佔著影響系統效能的關鍵性角色。在本篇論文中,我們試著分析目前NIDS中常見的樣本比對演算法,並且針對不同的演算法探討影響其效能的因素。我們發現,樣本群中最短樣本的長度對於Wu-Manber演算法有決定性的影響,當最短樣本的長度太短,會使其演算法效能過慢,另外同字首的樣本數量過多也會拖累比對的速度,而使得攻擊者可經由設計封包內容大量使用此字首拖累比對的速度,此稱為演算法攻擊(Algorithmic Attackes)。而對於Aho-Corasick演算法,長度短的樣本或是相同字首的樣本群卻可使比對速度快過一般的情況。因此,我們提出結合此兩種演算法的資料結構,並且透過功能平行化的方式將演算法對應到多核心系統中,可加速樣本比對的速度,並使得儲存空間在可接受的範圍。透過比較各個演算法的實驗,我們可得到使用功能平行化的比對演算法在雙處理器系統上比起原先的演算法最快可達2.2倍的效。並且對於演算法攻擊有一定的防禦力。
Pattern-matching algorithms are the core of network intrusion detection systems (NIDS). The performance of a good pattern-matching algorithm hence dominates the processing time required for deep packet inspections. In this research, we discuss the factors that can affect the performance of a pattern-matching algorithm. Such factors include prefixes of rules and lengths of the longest rules in a ruleset. Previous work to improve the performance of matching patterns (Wu-Manber's and Aho-Corasick's algorithms) adopt either a hash table or finite automaton to store the rulesets. None of these algorithms considers the parallelization when running on multicore systems. Herein, we propose a new pattern-matching algorithm for NIDS that can be easily adapted to multi-core systems. Our algorithm is composed of a search mechanism based on the function-parallelism approach and a composite data structure, combining the hash table and finite state machines. We conduct a series of experiments to show that our algorithm is 2.2 times faster than the Aho-Corasick algorithm and 1.21 times than Wu-Manber's in a dual-processor system.
摘要 i
Abstract ii
謝誌 iii
Table of Contents iv
List of Figures vi
Chapter 1 Introduction 1
1.1 Background 1
1.2 Contribution 2
1.3 Synopsis 3
Chapter 2 Related Work 4
2.1 SNORT 4
2.2 Pattern Matching Algorithms 6
2.2.1 Boyer-Moore Algorithm 7
2.2.2 Wu-Manber Algorithm 8
2.2.3 Aho-Corasick Algorithm 10
2.3 Analysis 11
2.3.1 Space Complexity 12
2.3.2 Time Complexity 13
2.4 Discussion 14
2.4.1 Length 14
2.4.2 Prefix 15
Chapter 3 Function-Parallelism Pattern-Matching Algorithm 16
3.1 Composite Data Structure 16
3.2 Function-Parallelism Search Mechanism 18
3.3 Computational Efficiency 19
Chapter 4 Implementation 23
4.1 FPPM Detection Engine 23
4.2 Case Study 24
4.2.1 Single-Processor System 25
4.2.2 Dual-Processor System 26
4.2.3 Multi-Processor System 27
Chapter 5 Experiments 28
5.1 Experimental Setup 28
5.2 Experimental Results 29
5.2.1 Exp#1: Performance on Single-Processor NIDS 30
5.2.2 Exp#2: Performance on Multi-Processor NIDS 30
5.2.3 Exp#3: Number of Cache Misses 31
5.2.4 Exp#4: Algorithmic Attack 32
5.2.5 Exp#5: Storage Cost 33
5.3 Discussion 34
Chapter 6 Conclusion and Future Work 35
References 36
[1] CERT. [Online]. Available: http://www.cert.org/stats/
[2] Sourcefire, ``Snort.'' [Online]. Available: http://www.snort.org/
[3] L. B. N. Laboratory, ``Bro.'' [Online]. Available: http://www.bro-ids.org/
[4] E. Sommer and M. Strait, ``Application layer packet classifier for linux.'' [Online]. Available: http://l7-filter.sourceforge.net/
[5] S. Antonatos, K. Anagnostakis, and E. Markatos, ``Generating realistic workloads for network intrusion detection systems,'' ACM SIGSOFT Software Engineering Notes, vol. 29, no. 1, pp. 207--215, 2004.
[6] D. Schuff, Y. Choe, and V. Pai, ``Conservative vs. optimistic parallelization of stateful network intrusion detection,'' in Performance Analysis of Systems and software, 2008. ISPASS 2008. IEEE International Symposium on, 2008, pp. 32--43.
[7] J. Beale and R. Alder, Snort 2.1 Intrusion Detection. Syngress, 2004.
[8] S. Antonatos, K. Anagnostakis, E. Markatos, and M. Polychronakis, ``Performance analysis of content matching intrusion detection systems,'' in Applications and the Internet,
2004. Proceedings. 2004 International Symposium on, 2004, pp. 208--215.
[9] P. Lin, Y. Lin, Y. Lai, and T. Lee, ``Using string matching for deep packet inspection,''Computer, vol. 41, no. 4, pp. 23--28, 2008.
[10] R. Boyer and J. Moore, ``A fast string searching algorithm,'' 1977.
[11] S. Wu and U. Manber, ``A fast algorithm for multi-pattern searching,'' 1994.
[12] A. Aho and M. Corasick, ``Efficient string matching: an aid to bibliographic search,'' 1975.
[13] P. Lin, Z. Li, Y. Lin, Y. Lai, and F. Lin, ``Profiling and Accelerating String Matching Algorithms in Three Network Content Security Applications,'' IEEE Communications Surveys and Tutorials, 2006.
[14] M. Norton, ``Optimizing pattern matching for intrusion detection,'' white paper, Sourcefire Inc, 2004.
[15] N. Tuck, T. Sherwood, B. Calder, and G. Varghese, ``Deterministic memory-efficient string matching algorithms for intrusion detection,'' in INFOCOM 2004. Twenty-third AnnualJoint Conference of the IEEE Computer and Communications Societies, vol. 4, 2004.
[16] B. Haagdorens, T. Vermeiren, and M. Goossens, ``Improving the performance of signature based network intrusion detection sensors by multi-threading,'' in Proc. of 5th Intl. Workshop on Information Security Applications. Springer, 2004.
[17] R. Stallman, ``gcc.'' [Online]. Available: http://gcc.gnu.org/
[18] N. Nethercote, ``Valgrind.'' [Online]. Available: http://valgrind.org/
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top