Open Access Paper
3 June 2014 Hybrid network intrusion detection (withdrawal notice)
Author Affiliations +
Abstract
The paper has been withdrawn from the SPIE Proceedings at the author’s request.

1.

INTRODUCTION

Machine learning classifiers can be used to discover the patterns hidden within large data sets, and one of the largest datasets is the information being passed through a network every day. Many information technology applications have been proposed and also used to classify network traffic [1, 2, 3, 4, 5]. Intrusion detection systems (IDS) monitor the system or network events and detect violations or threats to computer security policies, acceptable use policies, or standard security practices [6], and are one of the most significant counter measures [7, 8, 9, 10] against security threats. Intrusions can be found using signature based detection of known threats, but there are also anomaly detectors. Signature based detectors look for specific log entries or a specific payload in a data packet known to be indicative of misuse.

The IDS monitors the network traffic from a system or through a network and looks for any abnormal behavior in the network activity which indicates a possibility of unwanted and malicious network traffic and take appropriate action if such situation occurs. The IDS uses signature detection for specific known threats or anomaly detection for unknown threats to analyze the data. However, many unknown threats are merely updated versions of known threats. Since machine learning techniques can determine whether new threats are similar to known threats, there is the potential to combine anomaly detection with approximate signature detection. One of the most significant aspects of an IDS is the use of artificial intelligence [11] to train the IDS about possible threats. The Intrusion Detection can gather information about the various traffic patterns and rules can be formed based on these patterns, to distinguish between normal traffic and anomalous traffic in the network. Machine learning techniques have the ability to generalize from limited, noisy data that is not complete to broader categories on new data. This generalization capability provides the potential to recognize patterns similar to known patterns but not exactly matching. The IDS should ideally recognize not only previously observed attacks but also future attacks that have not yet been seen [12].

Some significant contributions to IDS have been made using Fuzzy Logic. Fuzzy inference combined with artificial neural networks were used for real time traffic analysis by building a signature pattern database using protocol analysis and neuro-fuzzy learning techniques [13]. Fuzzy rule-based classifiers for IDS were modeled [14]. A fuzzy intrusion recognition engine (FIRE) used Fuzzy Logic and data mining techniques to produce fuzzy sets based on the input traffic data to detect security threats [15]. Association-based classification of normal and anomalous attacks was performed on the basis of a compatibility threshold [16]. Association rules along with data mining techniques and classification was used on suspicious events in real-time [17]. Fuzzy rules gave the best detection rate when compared to linear generic programming, decision trees, and support vector machines on the DARPA 1998 dataset [18]. Fuzzy logic with an expert system performed better than 91.5% detection rate over all attack types with a reduced complexity over traditional fuzzy number ranking techniques [19]. Fuzzy adaptive resonance theory have also been used to implement network IDS [20] as well as fuzzy rules [21, 22].

A lot of work has been done on IDS using genetic algorithms. Genetic algorithms using both temporal and spatial information of the network connection during the encoding phase were used to identify anomalous network behaviors [23]. Genetic algorithms were used to find the best possible fuzzy function and select the most significant network features [24]. Genetic programming was used to derive classification rules with traffic data on the network [25]. Multiple agent technology with genetic programming was used to detect anomalies in the network [26]. A combination of information theory to filter the traffic data with genetic algorithms was used to detect anomalous behaviors in the network with reduced complexity [27].

Artificial neural networks are a popular machine learning technique, and it has been applied to IDS. A hybrid neural network was proposed using a combination of Self-Organizing Map (SOM) and Resilient Back-Propagation Neural Network (BPNN) [28]. Another hybrid system using a BPNN and a C4.5 Decision Tree was built [29] which showed that the certain network attack types could not be detected without a hybrid system. A multi-layer artificial neural network was used to classify network activity [30]. A multi-classification IDS system was built that showed a higher detection rate in each classification category than when only a single class was used to classify all non-normal data [31].

Additional approaches have included graphlets [32], decision trees [33], clustering [34], and deviation from normal traffic [35].

A system that can detect network intrusion while an attack is occurring is called a real-time detection system. There are very few real-time network IDS approaches. A real-time IDS using Self-Organizing Maps (SOM) to detect normal network activity and differentiate it from a DoS attack was proposed [37]. A Bayesian classification model for anomaly detection was also built [38]. A real-time IDS was built using two unsupervised neural network algorithms with a detection rate over 97%, separating normal traffic data from network attacks [39]. A real-time network IDS using fuzzy association rules could separate the normal network activity from network attacks [40]. A high-speed intrusion detection model using TCP/IP header information was built to detect denial of service (DoS) attacks [41].

One of the most widely used and well-known IDS is called SNORT, and it has become a standard in IDS [42]. SNORT is a commercial tool that does not use machine learning, basing its detection on regular expressions that match to known signatures of network attacks. Its attack signature rules are available only to their registered customers. The signature rules or patches have to be frequently updated and installed in order to detect current attack types or variations in known attack types.

Although some researchers are investigating real-time IDS with machine learning techniques, most of the work is based on accurate learning without good real-time performance measures and without good generalization capabilities. This paper reports its processing speed and results with SNORT as a standard.

2.

IMPLEMENTATION

Many researchers have proposed IDS classification algorithms based on machine learning techniques, but they have used older datasets from DARPA and others to evaluate their approaches. This dataset used is a network packet dataset consisting of normal network activity as well as many network attack types. The dataset is based on the DARPA98 dataset from MIT Lincoln laboratory, which provides answer class (labeled data) for evaluation of intrusion detection [36]. This dataset was created in 1998 and lacks of many current attack types. This paper uses current signatures from an IDS as an oracle for machine learning to form a new, faster IDS with the generalization capabilities of a machine learning built in. This avoids the work of manually labeling a dataset and provides more current signature information, but the quality of the initial IDS information determines the baseline for the new artificial intelligence based IDS.

Network packets are small collections of text. An N-gram can be used to break up the text into series of letters of a specified length to be used for classification [43]. This proven text processing technique is used on the network packets. However, unlike a word or a sentence, an entire network packet can be mapped into a large space of possible n-grams in series. This maps the network data packet into a very high dimensional space where machine learning can be challenging. The high dimensional space can be hashed into a lower dimensional space without losing the ability to directly match the same packet [44, 45]. However, the hash is not a unique identifier and other similar packets may have the same hash. In the high dimensional space, the network packet was unique, but that is lost when hashing down to a lower dimensional space. This approximation makes the system run faster and makes the machine learning classify better, but the approximation can result in a large number of false positives if the dimension of the hash is too small. For the networking data set that was chosen, the use of more than eight bits for the hash length was sufficient to minimize the false positives and provide nearly perfect true positives at 99.9% using a linear classifier. However, the runtime is affected by the size of the hash length, staying at nearly constant speed for hashes as long as eleven bits, but increasing exponentially after that. The runtime of the learned system was always faster and often much faster than SNORT [46].

There are multiple advantages to a machine-learning based system over a signature-based system. A signature-based system needs to store attack signatures and download new signatures when they are updated, while a machine-learning system merely updates the weights on its classifier. A signature system can be difficult to parallelize with a shared signature database, while a machine-learned system can run multiple instances due to its lightweight nature. The speed of a machine learned system was better, and that advantage only increases with the growth in the size of the signature database to search over. The machine-learned system did have slightly more false positives and did not give detailed information about the true positives, so a version of SNORT should be run on the output from the machine-learned system for labeling [46].

The primary advantage of a machine learning system over a signature system is the ability to generalize to new but similar data. This was the dream of machine learning with an IDS, that the IDS should ideally recognize not only previously observed attacks but also future attacks that have not yet been seen [12]. There are some systems that can generalize their detection well from learned attack patterns to new attack patterns [47], especially on probing attacks [48]. This system also has some ability to generalize to patterns not seen in the training data, and this was seen anecdotally in this project. Five-fold cross training was done for the linear classifier, and attacks that were only in one testing fold were still recognized. However, the detection of new attacks was not the primary goal of this project and was just the nice result of utilizing machine learning techniques. However, this project does present the path for analyzing the ability of machine learning to detect new attack types since it uses SNORT as the oracle for labeling the data. By training using an earlier version of SNORT as the oracle for training and a current version as the oracle for testing, the ability to detect new signatures can be analyzed across a large amount of time. However, a more interesting dataset may be necessary as well as improved categorization of the detections for analysis.

3.

NORMALCY CLASSIFIER AND A HYBRID INTRUSION DETECTION SYSTEM

This project aimed at prototyping a faster, less resource-intensive version of SNORT. The current network IDS setup is shown in Figure 1. The front-end with the capability to replicate the detections of a SNORT oracle are in place, with a slightly higher false positive rate. However, the labeling and analysis of detection is not implemented, so a version of SNORT should be run on the detections for labeling and analysis of the suspicious network traffic.

Figure 1.

A standard setup for a network intrusion detection system.

00012_psisdg9074_90740G_page_3_1.jpg

A hybrid system will outperform SNORT as a standalone in speed since the high percentage of network traffic will be classified as normal and not sent to the labeler, but the cost will be a marginal loss in accuracy. A hybrid system will also be more scalable, since additional normalcy classifiers can be run with significantly less overhead. The resulting system will produce the same level of labeling quality as SNORT since the abnormal traffic would be routed through SNORT. The level of false alarms would not rise since SNORT would be run on the abnormal output from the normalcy classifier. The hybrid system would run faster, scale more easily, and use far less resources than a series of SNORT instances. The cost is the slightly increased false negative rate. However, the abnormal output from the normalcy classifier may contain information about a new or unrecognized attack pattern. This output can be sent to an analyst or to an anomaly classifier.

Updates are one large advantage of a hybrid system over developing a brand-new system. Since the classifier is trained on SNORT outputs, a new signature inserted into SNORT can trigger retraining of the classifier and redistribution of the training weights. Additionally, the guarantee of no increase in false alarms as well as the consistent labeling when running the output through SNORT provide additional incentives for maintaining a hybrid system over building from scratch.

4.

CONCLUSION

We report on a machine learning classifier that can be used to discover the patterns hidden within large networking data flows. It utilizes SNORT as an oracle to learn a faster, less resource intensive normalcy classifier as a front-end to a hybrid network intrusion detection system. This system has the capability to recognize new attacks that are similar to known attack signatures. It is also more highly scalable and distributable than SNORT. The new hybrid design also allows distributed updates and retraining of the normalcy classifier to stay up-to-date with current threats.

REFERENCES

[1] 

Maiolini, G., Baiocchi, A., Iacovazzi, A., & Rizzi, A., “Real time identification of SSH encrypted application flows by using cluster analysis techniques,” NETWORKING 2009, 182 –194 Springer Berlin Heidelberg.2009). https://doi.org/10.1007/978-3-642-01399-7 Google Scholar

[2] 

Chen, R. C., Cheng, K. F., & Hsieh, C. F., “Using rough set and support vector machine for network intrusion detection,” (2010). Google Scholar

[3] 

Este, A., Gringoli, F., & Salgarelli, L., “Support Vector Machines for TCP traffic classification,” Computer Networks, 53 (14), 2476 –2490 (2009). https://doi.org/10.1016/j.comnet.2009.05.003 Google Scholar

[4] 

Horng, S. J., Su, M. Y., Chen, Y. H., Kao, T. W., Chen, R. J., Lai, J. L., & Perkasa, C. D., “A novel intrusion detection system based on hierarchical clustering and support vector machines,” Expert systems with Applications, 38 (1), 306 –313 (2011). https://doi.org/10.1016/j.eswa.2010.06.066 Google Scholar

[5] 

Nguyen, T. T., & Armitage, G., “A survey of techniques for internet traffic classification using machine learning,” Communications Surveys & Tutorials, IEEE, 10 (4), 56 –76 (2008). https://doi.org/10.1109/SURV.2008.080406 Google Scholar

[6] 

Scarfone, K., & Mell, P., “Guide to intrusion detection and prevention systems (idps),” NIST special publication, 800 (2007), (2007). Google Scholar

[7] 

Yao, J. T., Zhao, S. L., & Saxton, L. V., “A study on fuzzy intrusion detection,” Defense and Security, 23 –30 International Society for Optics and Photonics.2005). Google Scholar

[8] 

Bace, R. G., Intrusion detection, Sams Publishing.2000). Google Scholar

[9] 

Dasarathy, B. V., “Intrusion detection,” Information Fusion, 4 (4), 243 –245 (2003). https://doi.org/10.1016/j.inffus.2003.08.003 Google Scholar

[10] 

Allen, J., Christie, A., Fithen, W., McHugh, J., & Pickel, J., State of the practice of intrusion detection technologies, (2000). https://doi.org/10.21236/ADA375846 Google Scholar

[11] 

Bobor, V., “Efficient Intrusion Detection System Architecture Based on Neural Networks and Genetic Algorithms,” Department of Computer and Systems Sciences, Stockholm University/Royal Institute of Technology, KTH/DSV.2006). Google Scholar

[12] 

Han, S. J., & Cho, S. B., “Evolutionary neural networks for anomaly detection based on the behavior of a program,” Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on, 36 (3), 559 –570 (2005). https://doi.org/10.1109/TSMCB.2005.860136 Google Scholar

[13] 

Chavan, S., Shah, K., Dave, N., Mukherjee, S., Abraham, A., & Sanyal, S., “Adaptive neuro-fuzzy intrusion detection systems,” Information Technology: Coding and Computing, 2004, 1 70 –74 (2004). Google Scholar

[14] 

Abraham, A., Jain, R., Thomas, J., & Han, S. Y., “D-SCIDS: Distributed soft computing intrusion detection system,” Journal of Network and Computer Applications, 30 (1), 81 –98 (2007). https://doi.org/10.1016/j.jnca.2005.06.001 Google Scholar

[15] 

Dickerson, J. E., & Dickerson, J. A., “Fuzzy network profiling for intrusion detection,” in NAFIPS. 19th International Conference of the North American, 301 –306 (2000). Google Scholar

[16] 

Tajbakhsh, A., Rahmati, M., & Mirzaei, A., “Intrusion detection using fuzzy association rules,” Applied Soft Computing, 9 (2), 462 –469 (2009). https://doi.org/10.1016/j.asoc.2008.06.001 Google Scholar

[17] 

Barbará, D., Couto, J., Jajodia, S., & Wu, N., “ADAM: a testbed for exploring the use of data mining in intrusion detection,” ACM Sigmod Record, 30 (4), 15 –24 (2001). https://doi.org/10.1145/604264 Google Scholar

[18] 

Abraham, A., & Jain, R., “Soft computing models for network intrusion detection systems,” Classification and clustering for knowledge discovery, 191 –207 Springer Berlin Heidelberg.2005). Google Scholar

[19] 

Liao, N., Tian, S., & Wang, T., “Network forensics based on fuzzy logic and expert system,” Computer Communications, 32 (17), 1881 –1892 (2009). https://doi.org/10.1016/j.comcom.2009.07.013 Google Scholar

[20] 

Ngamwitthayanon, N., Wattanapongsakorn, N., & Coit, D. W., “Investigation of fuzzy adaptive resonance theory in network anomaly intrusion detection,” Advances in Neural Networks–ISNN 2009, 208 –217 Springer Berlin Heidelberg.2009). https://doi.org/10.1007/978-3-642-01510-6 Google Scholar

[21] 

Toosi, A. N., & Kahani, M., “A new approach to intrusion detection based on an evolutionary soft computing model using neuro-fuzzy classifiers,” Computer communications, 30 (10), 2201 –2212 (2007). https://doi.org/10.1016/j.comcom.2007.05.002 Google Scholar

[22] 

Tsang, C. H., Kwong, S., & Wang, H., “Genetic-fuzzy rule mining approach and evaluation of feature selection techniques for anomaly intrusion detection,” Pattern Recognition, 40 (9), 2373 –2391 (2007). https://doi.org/10.1016/j.patcog.2006.12.009 Google Scholar

[23] 

Li, W., “Using genetic algorithm for network intrusion detection,” in Proceedings of the United States Department of Energy Cyber Security Group, 1 –8 (2004). Google Scholar

[24] 

Bridges, S. M., & Vaughn, R. B., “Fuzzy data mining and genetic algorithms applied to intrusion detection,” in Proceedings twenty third National Information Security Conference., (2000). Google Scholar

[25] 

Lu, W., & Traore, I., “Detecting new forms of network intrusion using genetic programming,” Computational Intelligence, 20 (3), 475 –494 (2004). https://doi.org/10.1111/coin.2004.20.issue-3 Google Scholar

[26] 

Crosbie, M., & Spafford, G., “Applying genetic programming to intrusion detection,” Working Notes for the AAAI Symposium on Genetic Programming, 1 –8 MIT, Cambridge, MA, USA (1995). Google Scholar

[27] 

Xia, T., Qu, G., Hariri, S., & Yousif, M., “An efficient network intrusion detection method based on information theory and genetic algorithm,” in Performance, Computing, and Communications Conference, 2005. IPCCC 2005. 24th IEEEInternational, 11 –17 (2005). Google Scholar

[28] 

Jirapummin, C., Wattanapongsakorn, N., & Kanthamanon, P., “Hybrid neural networks for intrusion detection system,” in Proceedings of International Conference on Circuits, Computers and Communications, 928 –931 (2002). Google Scholar

[29] 

Pan, Z. S., Chen, S. C., Hu, G. B., & Zhang, D. Q., “Hybrid neural network and C4. 5 for misuse detection,” in Machine Learning and Cybernetics, 2003 International Conference on, 2463 –2467 (2003). Google Scholar

[30] 

Moradi, M., & Zulkernine, M., “A neural network based system for intrusion detection and classification of attacks,” in Proceedings of the 2004IEEE international conference on advances in intelligent systems-theory and applications., (2004). Google Scholar

[31] 

Ngamwitthayanon, N., Wattanapongsakorn, N., Charnsripinyo, C., & Coit, D. W., “Multi-stage network-based intrusion detection system using back propagation neural networks,” Asian International Workshop on Advanced Reliability Modeling (AIWARM), Taiwan, 609 –619 (2008). Google Scholar

[32] 

Pukkawanna, S., Visoottiviseth, V., & Pongpaibool, P., “Lightweight detection of DoS attacks,” in Networks, 2007. ICON2007. 15th IEEE International Conference on, 77 –82 (2007). Google Scholar

[33] 

Lee, J. H., Lee, J. H., Sohn, S. G., Ryu, J. H., & Chung, T. M., “Effective value of decision tree with KDD 99 intrusion detection datasets for intrusion detection system,” in Advanced Communication Technology, 2008. ICACT 2008. 10th International Conference on, 1170 –1175 (2008). Google Scholar

[34] 

Katos, V., “Network intrusion detection: Evaluating cluster, discriminant, and logit analysis,” Information Sciences, 177 (15), 3060 –3073 (2007). https://doi.org/10.1016/j.ins.2007.02.034 Google Scholar

[35] 

Chen, C. M., Chen, Y. L., & Lin, H. C., “An efficient network intrusion detection,” Computer Communications, 33 (4), 477 –484 (2010). https://doi.org/10.1016/j.comcom.2009.10.010 Google Scholar

[36] 

Lee, W., Stolfo, S. J., & Mok, K. W., “Mining in a data-flow environment: Experience in network intrusion detection,” in Proceedings of the fifth ACM SIGKDD international conference on Knowledge discovery and data mining, 114 –124 (1999). Google Scholar

[37] 

Labib, K., & Vemuri, R., “NSOM: A real-time network-based intrusion detection system using self-organizing maps,” Networks and Security, 1 –6 (2002). Google Scholar

[38] 

Puttini, R. S., Marrakchi, Z., & Me, L., “A Bayesian classification model for real-time intrusion detection,” in AIP Conference Proceedings, 150 –162 (2003). Google Scholar

[39] 

Amini, M., Jalili, R., & Shahriari, H. R., “RT-UNNID: A practical solution to real-time network-based intrusion detection using unsupervised neural networks,” Computers & Security, 25 (6), 459 –468 (2006). https://doi.org/10.1016/j.cose.2006.05.003 Google Scholar

[40] 

Su, M. Y., Yu, G. J., & Lin, C. Y., “A real-time network intrusion detection system for large-scale attacks based on an incremental mining approach,” Computers & security, 28 (5), 301 –309 (2009). https://doi.org/10.1016/j.cose.2008.12.001 Google Scholar

[41] 

Li, Z., Gao, Y., & Chen, Y., “HiFIND: A high-speed flow-level intrusion detection approach with DoS resiliency,” Computer Networks, 54 (8), 1282 –1299 (2010). https://doi.org/10.1016/j.comnet.2009.10.016 Google Scholar

[42] 

Chakrabarti, S., Chakraborty, M., & Mukhopadhyay, I., “Study of snort-based IDS,” in Proceedings of the International Conference and Workshop on Emerging Trends in Technology, 43 –47 (2010). Google Scholar

[43] 

Brown, P. F., Desouza, P. V., Mercer, R. L., Pietra, V. J. D., & Lai, J. C., “Class-based n-gram models of natural language,” Computational linguistics, 18 (4), 467 –479 (1992). Google Scholar

[44] 

Shi, Q., Petterson, J., Dror, G., Langford, J., Strehl, A. L., Smola, A. J., & Vishwanathan, S. V. N., “Hash kernels,” in International Conference on Artificial Intelligence and Statistics, 496 –503 (2009). Google Scholar

[45] 

Shi, Q., Petterson, J., Dror, G., Langford, J., Smola, A., & Vishwanathan, S. V. N., “Hash kernels for structured data,” The Journal of Machine Learning Research, 10 2615 –2637 (2009). Google Scholar

[46] 

Chang, R. J., Harang, R. E., & Payer, G. S., Extremely Lightweight Intrusion Detection (ELIDe), (2013). https://doi.org/10.21236/ADA592893 Google Scholar

[47] 

Kumar, G., Kumar, K., & Sachdeva, M., “The use of artificial intelligence based techniques for intrusion detection: a review,” Artificial Intelligence Review, 34 (4), 369 –387 (2010). https://doi.org/10.1007/s10462-010-9179-5 Google Scholar

[48] 

Hwang, T. S., Lee, T. J., & Lee, Y. J., “A three-tier IDS via data mining approach,” in Proceedings of the 3rd annual ACM workshop on Mining network data, 1 –6 (2007). Google Scholar
© (2014) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
David Tahmoush "Hybrid network intrusion detection (withdrawal notice)", Proc. SPIE 9074, Sensors, and Command, Control, Communications, and Intelligence (C3I) Technologies for Homeland Security and Homeland Defense XIII, 90740G (3 June 2014); https://doi.org/10.1117/12.2050043
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Machine learning

Fuzzy logic

Computer intrusion detection

Computer security

Computer programming

Genetic algorithms

Artificial neural networks

Back to Top