TIME-BASED APPROACH TO INTRUSION DETECTION USING MULTIPLE SELF-ORGANIZING MAPS A thesis presented to the faculty of the College of Engineering and Technology of Ohio University In partial fulfillment of the requirements for the degree Master of Science Ankush Sawant March 2005 This thesis entitled TIME-BASED APPROACH TO INTRUSION DETECTION USING MULTIPLE SELF-ORGANIZING MAPS by ANKUSH SAWANT has been approved for the School of Electrical Engineering and Computer Science and the Russ College of Engineering and Technology by Carl T. Bruggeman Assistant Professor of Computer Science Dennis Irwin Dean, Russ College of Engineering and Technology SAWANT, ANKUSH. M.S. March 2005. Electrical Engineering and Computer Science Time-based Approach to Intrusion Detection using Multiple Self-Organizing Maps (82pp.) Director of Thesis: Carl T. Bruggeman Anomaly-based intrusion detection systems identify intrusions by monitoring net- work traffic for abnormal behavior. Integrated Network-Based Ohio University Net- work Detective Service (INBOUNDS) is an anomaly-based intrusion detection system being developed at Ohio University. The Multiple Self-organizing map based Intru- sion Detection System (MSIDS) module for INBOUNDS analyzes the time-based be- havior of normal network connections for anomalies, using the Self-Organizing Map (SOM) algorithm. The MSIDS module builds profiles of normal network behavior by characterizing the network traffic with four parameters. A SOM, developed for each time interval, captures the characteristic network behavior for that time interval using the four parameters. This approach achieves better characterization of normal network behavior, leading to better intrusion detection capability. During real-time operation, the four-dimensional vectors, representing the attack connection for the time intervals, are fed into respective trained SOMs. For each input vector in the four-dimensional space, a “winner” neuron is determined. If the distance between the input vector and the winner neuron for any SOM is greater than a certain threshold value, the MSIDS module classifies the network connection as an intrusion. Moreover, detecting the attack in early stages of the connection leads to near real-time response to intrusions. Approved: Carl T. Bruggeman Assistant Professor of Computer Science ACKNOWLEDGEMENTS I would like to thank my advisor, Dr. Bruggeman, for his kind guidance during the development of this study. I remain greatly indebted to him for his indispensable advice, constructive criticism and constant words of motivation. I express sincere gratitude towards Dr. Ostermann for granting me the opportu- nity to work on the INBOUNDS project. I would also like to thank the members of INBOUNDS and IRG research groups for their valuable help and feedback. I am forever indebted to my parents, my brother Aniket and my relatives for their continual love and support. Additionally, I am thankful to my friends at Ohio University and back home, who have contributed either directly or indirectly towards this thesis. And last but not the least, I am grateful to my friend Veena for her unending support and encouragement throughout the development of my thesis. I dedicate this thesis to my parents. 5 TABLE OF CONTENTS Page ABSTRACT .................................... 3 LIST OF TABLES ................................. 7 LIST OF FIGURES ................................ 9 1 Introduction ................................... 11 1.1 Network Security ............................. 11 1.2 Intrusion Detection Systems ....................... 12 1.3 Organization of Thesis .......................... 14 2 Background ................................... 15 2.1 Classification of Intrusion Detection Systems .............. 15 2.1.1 Classification Based on Data Source ............... 15 2.1.2 Classification Based on Detection Approach .......... 16 2.2 Self-Organizing Maps ........................... 17 2.2.1 The SOM Algorithm ....................... 18 2.2.2 Multiple Self Organizing Maps .................. 22 2.2.3 Software Packages ......................... 22 2.3 INBOUNDS ................................ 23 2.3.1 Data Source Module ....................... 24 2.3.2 Data Processor Module ...................... 25 2.3.3 Statistical-based Anomaly Detection .............. 25 2.3.4 Neural Network-based Anomaly Detection ........... 28 2.3.5 Bayesian Network-based Anomaly Detection .......... 30 2.3.6 Decision Module ......................... 33 6 2.3.7 Intrusion Response Module ................... 33 2.3.8 Data Visualization Module .................... 34 2.3.9 Limitations of Existing Approaches ............... 34 3 Multiple Self-Organizing Map-based Intrusion Detection System (MSIDS) . 36 3.1 INBOUNDS Architecture ........................ 36 3.2 Data Processor Module .......................... 36 3.3 MSIDS Module .............................. 39 3.3.1 TRC2INP Submodule ...................... 42 3.3.2 Normalizer Submodule ...................... 43 3.3.3 SOM Training ........................... 44 3.3.4 SOM Operation .......................... 47 4 Experimental Results .............................. 48 4.1 Sendmail Buffer Overflow Attack .................... 48 4.1.1 SMTP SOM Training ....................... 51 4.1.2 Attack Description ........................ 53 4.1.3 Anomaly Detection ........................ 54 4.1.4 Comparison with ANDSOM module .............. 59 4.2 Apache Buffer Overflow Attack ..................... 62 4.2.1 HTTP SOM Training ....................... 62 4.2.2 Attack Description ........................ 63 4.2.3 Anomaly Detection ........................ 65 5Conclusion.................................... 74 5.1 Summary ................................. 74 5.2 Advantages And Disadvantages ..................... 75 5.3 Future Work ................................ 76 BIBLIOGRAPHY ................................. 78 7 LIST OF TABLES Table Page 4.1 SMTP Map Dimensions ........................... 51 4.2 SMTP Training Data Statistics ....................... 52 4.3 SMTP Training Data Validation Results .................. 53 4.4 SMTP Exploit Vector ............................ 54 4.5 Normalized SMTP Exploit Vector ..................... 55 4.6 SMTP Exploit Winner Neuron ....................... 55 4.7 ANDSOM SMTP Training Data Statistics ................. 59 4.8 ANDSOM SMTP Exploit Vector ...................... 60 4.9 Normalized ANDSOM SMTP Exploit Vector ............... 61 4.10 ANDSOM SMTP Exploit Winner ...................... 61 4.11 HTTP Map Dimensions ........................... 63 4.12 HTTP Training Data Statistics ....................... 64 4.13 HTTP Training Data Validation Results .................. 65 4.14 HTTP Exploit Vector ............................ 66 8 4.15 Normalized HTTP Exploit Vector ..................... 67 4.16 HTTP Exploit Winner Neuron ....................... 67 9 LIST OF FIGURES Figure Page 2.1 SOM Training ................................ 19 2.2 Existing INBOUNDS Architecture ..................... 24 2.3 ANDSOM Training ............................. 31 3.1 Updated INBOUNDS Architecture ..................... 37 3.2 Criteria for MSIDS Parameters ....................... 40 3.3 MSIDS Training ............................... 41 4.1 SMTP Connection Timeline ......................... 49 4.2 Sendmail Buffer Overflow Exploit Bucket 0, View 1 ............ 56 4.3 Sendmail Buffer Overflow Exploit Bucket 0, View 2 ............ 56 4.4 Sendmail Buffer Overflow Exploit Bucket 1, View 1 ............ 57 4.5 Sendmail Buffer Overflow Exploit Bucket 1, View 2 ............ 57 4.6 Sendmail Buffer Overflow Exploit Bucket 2, View 1 ............ 58 4.7 Sendmail Buffer Overflow Exploit Bucket 2, View 2 ............ 58 4.8 Apache Buffer Overflow Exploit Bucket 0, View 1 ............. 68 10 4.9 Apache Buffer Overflow Exploit Bucket 0, View 2 ............. 69 4.10 Apache Buffer Overflow Exploit Bucket 1, View 1 ............. 69 4.11 Apache Buffer Overflow Exploit Bucket 1, View 2 ............. 70 4.12 Apache Buffer Overflow Exploit Bucket 2, View 1 ............. 70 4.13 Apache Buffer Overflow Exploit Bucket 2, View 2 ............. 71 4.14 Apache Buffer Overflow Exploit Bucket 3, View 1 ............. 71 4.15 Apache Buffer Overflow Exploit Bucket 3, View 2 ............. 72 4.16 Apache Buffer Overflow Exploit Bucket 4, View 1 ............. 72 4.17 Apache Buffer Overflow Exploit Bucket 4, View 2 ............. 73 11 1. Introduction Since its inception in 1969, the Internet has dramatically transformed the traditional method of information access and exchange. The Internet has overcome geographical limitations and provided a medium for collaboration and interaction between individ- uals across the globe. Anyone with a computer and a network connection can gain access to this world-wide mechanism of information dissemination. As of Jan 2004, the Internet connected an estimated 233 million hosts [21]. However, significant risks are associated with this convenience and ease of access to information. Computer systems connected to the Internet are more susceptible to security attacks than isolated ones. Sensitive information such as financial transac- tions, employees records, and passwords, become potentially accessible to millions of users when an enterprise’s networked system is part of the Internet. With today’s booming e-commerce economy, it is even more important to protect the loss or modi- fication of critical business data, disruption of services (availability), and compromise of sensitive information (confidentiality and integrity). 1.1 Network Security To preserve the availability,
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages82 Page
-
File Size-