Abstract
Software-Defined Networking has became one of the most efficient network architectures to deal with complexity, policy control improvement, and vendor dependencies removal. Besides, with the diversity of network attacks, the SDN architecture faces many security issues that need to be taken into account. In this work, we propose an architecture for SDN-based secured forwarding devices (switches) by extending our previous architecture - HPOFS with multiple security functions including lightweight DDoS mechanisms, signature-based and anomaly-based IDS. We implement our architecture on a heterogeneous system including host processors, GPU, and FPGA boards. To the best of our knowledge, this is the first forwarding device for SDN implemented on a heterogeneous system in the literature. Our system not only is enhanced security but also provides a high-speed switching capacity based on the OpenFlow standard. The implemented design on GTX Geforce 1080 G1 for training phase is 14× faster when compared to CPU Intel Core i7 – 4770, 3.4GHz, 16GB of RAM on the Ubuntu version 14.04. The switching function along with three lightweight DDoS detection/prevention mechanisms provide processing speed at 39.48 Gbps on a NetFPGA-10G board (with a Xilinx xc5vtx240t FPGA device). Especially, our neural network models on the NetFPGA-10G board outperform CPU in processing performance by reaching throughputs at 4.84 Gbps. Moreover, the implemented neural network model achieves 99.01% precision with only 0.02% false positive rate when processing a dataset.
Similar content being viewed by others
References
Bianchi G, Bonola M, Capone A, Cascone C (2014) Openstate: programming platform-independent stateful openflow applications inside the switch. ACM SIGCOMM Comput Commun Rev 44(2):44–51
Bishop CM, et al. (1995) Neural networks for pattern recognition. Oxford University Press, London
Braga R, Mota E, Passito A (2010) Lightweight ddos flooding attack detection using nox/openflow. In: 2010 IEEE 35th conference on local computer networks (LCN). IEEE, pp 408–415
Cullinan C, Wyant C, Frattesi T (2019) Computing performance benchmarks among CPU, GPU, and FPGA. https://pdfs.semanticscholar.org/cbec/d8cfb5264f8b36dee412c5980e3305c996e6.pdf
Cox CE, Blanz WE (1992) Ganglion-a fast field-programmable gate array implementation of a connectionist classifier. IEEE J Solid State Circ 27(3):288–299
Cybersecurity CI (2019) NSL-KDD dataset. https://www.unb.ca/cic/datasets/nsl.html
Dargahi T, Caponi A, Ambrosin M, Bianchi G, Conti M (2017) A survey on the security of stateful sdn data planes. IEEE Commun Surv Tutor
Duc-Minh N, Binh TT, Truong D, Tuan T, Tran NT, Cuong PQ (2019) High-throughput machine learning approaches for network attacks detection on FPGA. In: ICCASA2019. Springer, pp 1–10
expertsystem (2019) What is machine learning? A definition. https://www.expertsystem.com/machine-learning-definition/
Fujii Y, Azumi T, Nishio N, Kato S, Edahiro M (2013) Data transfer matters for gpu computing. In: 2013 international conference on parallel and distributed systems. IEEE, pp 275–282
Gad A (2019) Beginners ask how many hidden layers/neurons to use in artificial neural networks?. https://towardsdatascience.com/beginners-ask-how-many-hidden-layers-neurons-to-use-in-artificial-neural-networks-51466afa0d3e
Gigabyte (2019) Geforce®; GTX 1080 G1 gaming 8G. https://www.gigabyte.com/graphics-card/GV-n1080g1-GAMING-8GD#kf
Github (2019) OSNT 10G home. https://github.com/netFPGA/OSNT-public/wiki/OSNT-10g-home
Heaton J (2008) Introduction to neural networks for java, 2nd edn. Heaton Research, Inc.
Hong S, Xu L, Wang H, Gu G (2015) Poisoning network visibility in software-defined networks: new attacks and countermeasures. In: NDSS
Jain AK, Mao J, Mohiuddin K (1996) Artificial neural networks: a tutorial. Computer (3)31–44
James-Roxby P, Blodget B (2000) Adapting constant multipliers in a neural network implementation. In: Proceedings 2000 IEEE symposium on field-programmable custom computing machines (Cat. No. PR00871). IEEE, pp 335–336
Kreutz D, Ramos F, Verissimo P (2013) Towards secure and dependable software-defined networks. In: Proceedings of the second ACM SIGCOMM workshop on Hot topics in software defined networking. ACM, pp 55–60
Marchesi M, Orlandi G, Piazza F, Uncini A (1993) Fast neural networks without multipliers. IEEE Trans Neural Netw 4(1):53–62
Mohammadi R, Javidan R, Conti M (2017) Slicots: an sdn-based lightweight countermeasure for tcp syn flooding attacks. IEEE Trans Netw Service Management
Moshref M, Bhargava A, Gupta A, Yu M, Govindan R (2014) Flow-level state transition as a new switch primitive for sdn. In: Proceedings of the third workshop on hot topics in software defined networking. ACM, pp 61–66
NetFPGA (2018) NetFPGA-10g information. https://www.opennetworking.org
Ngo DM, Pham-Quoc C, Ngoc Thinh T (2018) An efficient high-throughput and low-latency syn flood defender for high-speed networks. Secur Commun Netw 2018
Nichols KR, Moussa MA, Areibi SM (2002) Feasibility of floating-point arithmetic in fpga based artificial neural networks. In: CAINE. Citeseer
Nordström T, Svensson B (1992) Using and designing massively parallel computers for artificial neural networks. J Parallel Distr Comput 14(3):260–285
Nurvitadhi E, Venkatesh G, Sim J, Marr D, Huang R, Ong Gee Hock J, Liew YT, Srivatsan K, Moss D, Subhaschandra S, et al. (2017) Can fpgas beat gpus in accelerating next-generation deep neural networks?. In: Proceedings of the 2017 ACM/SIGDA international symposium on field-programmable gate arrays. ACM, pp 5–14
Opennetworking (2019) Open networking foundation (ONF). https://netfpga.org/10G_specs.html
Opennetworking (2018) Software-defined networking (SDN) definition. https://www.opennetworking.org/sdn-definition/
Pham-Quoc C, Al-Ars Z, Bertels K (2013) Heterogeneous hardware accelerators interconnect: an overview. In: Proceedings of the 2013 NASA/ESA conference on adaptive hardware and systems, AHS 2013, pp 189–195
Pham-Quoc C, NGO DM, THINH T (2019) Hpofs: a high performance and secured openflow switch architecture for fpga. Adv in Electrical and Comput Eng 19:19–28. https://doi.org/10.4316/AECE.2019.03003
Pham-Quoc C, Nguyen B, Thinh TN (2017) Fpga-based multicore architecture for integrating multiple ddos defense mechanisms. SIGARCH Comput Archit News 44(4):14–19. https://doi.org/10.1145/3039902.3039906. http://doi.acm.org/10.1145/3039902.3039906
Porras P, Shin S, Yegneswaran V, Fong M, Tyson M, Gu G (2012) A security enforcement kernel for openflow networks. In: Proceedings of the first workshop on Hot topics in software defined networks. ACM, pp 121–126
Scott-Hayward S, Natarajan S, Sezer S (2015) A survey of security in software defined networks. IEEE Commun Surveys Tutorials 18(1):623–654
Sheela KG, Deepa SN (2013) Review on methods to fix number of hidden neurons in neural networks. Math Probl Eng 2013
Shin S, Porras P, Yegneswaran V, Fong MW, Gu G, Tyson M (2013) Fresco: modular composable security services for software-defined networks. In: NDSS
Shin S, Yegneswaran V, Porras P, Gu G (2013) Avant-guard: scalable and vigilant switch flow management in software-defined networks. In: Proceedings of the 2013 ACM SIGSAC conference on computer & communications security. ACM, pp 413–424
Sidana M (2019) Types of classification algorithms in machine learning. https://medium.com/@Mandysidana/machine-learning-types-of-classification-9497bd4f2e14
skymind.ai (2019) Artificial intelligence (AI) vs. machine learning vs. deep learning. https://skymind.ai/wiki/ai-vs-machine-learning-vs-deep-learning
Sonchack J, Smith JM, Aviv AJ, Keller E (2016) Enabling practical software-defined networking security applications with ofx. In: NDSS, vol 16, pp 1–15
Song H, Lockwood JW (2005) Efficient packet classification for network intrusion detection using fpga. In: Proceedings of the 2005 ACM/SIGDA 13th international symposium on field-programmable gate arrays. ACM, pp 238–245
Tools K (2019) hping3 package description. https://tools.kali.org/information-gathering/hping3
Tran C, Vo TN, Thinh TN (2017) Ha-ids: a heterogeneous anomaly-based intrusion detection system. In: 2017 4th NAFOSTED conference on information and computer science. IEEE, pp 156–161
Tran-Thanh B, Pham-Quoc C, Thinh TN (2018) Openflow switches with integrated tiny nids to mitigate network attacks. Int J Comput Eng Inf Technol 10(6):85–91
Wang P, Chao KM, Lin HC, Lin WH, Lo CC (2016) An efficient flow control approach for sdn-based network threat detection and migration using support vector machine. In: 2016 IEEE 13th international conference on e-business engineering (ICEBE). IEEE, pp 56–63
Witten IH (2019) Learn more about sigmoid function. https://www.sciencedirect.com/topics/computer-science/sigmoid-function
Xilinx (2018) Planahead design and analysis tool. https://www.xilinx.com/products/design-tools/planahead.html
Xilinx (2018) Xilinx platform studio (XPS). https://www.xilinx.com/products/design-tools/xps.html
Zhu J, Milne GJ, Gunther B (1999) Towards an fpga based reconfigurable computing environment for neural network implementations
Zhu S, Bi J, Sun C, Wu C, Hu H (2015) Sdpa: enhancing stateful forwarding for software-defined networking. In: 2015 IEEE 23rd international conference on network protocols (ICNP). IEEE, pp 323–333
Acknowledgments
This research is funded by Ho Chi Minh City University of Technology, VNU-HCM, under Grant no. BK-SDH-2019-1770024.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Ngo, DM., Pham-Quoc, C. & Thinh, T.N. Heterogeneous Hardware-based Network Intrusion Detection System with Multiple Approaches for SDN. Mobile Netw Appl 25, 1178–1192 (2020). https://doi.org/10.1007/s11036-019-01437-x
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11036-019-01437-x