Abstract
Distributed denial-of-service (DDoS) attacks have become a constant threat to modern networks, and how to detect and respond to them is a key challenge for network operators. Data plane programmability is a promising technology that enables fast control loops to detect and mitigate cyberattacks. At the same time, the domain-specific language P4 used by the programmable switch allows users to flexibly customize DDoS detection methods and attack mitigation behaviors, so the programmable switch can bring some new opportunities for DDoS attack detection. This paper proposes an in-network architecture for DDoS attack detection that combines the entropy of statistical measures describing traffic distribution and machine learning models for network devices. The proposed sliding window detection mechanism completes the fine-grained detection of a single packet within the linear time complexity, and the machine learning model can perform secondary detection of the flow of normal packets in the suspected DDoS attack window to improve the accuracy of detection. We evaluated the proposed framework using real publicly available traffic tracing as input to the experiment, the results show that our framework has the advantages of high accuracy, fine-graininess, and coverage of a wide range of attack types compared with state-of-the-art methods, and is completely executed on the data plane.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Kupreev, E.G.A., Badovskaya, O.: Ddos attacks in q3 2021 (2021) [Online]. Available: https://securelist.com/ddos-attacks-in-q3-2021/104796/
NSFOCUS: Nsfocus anti ddos solution. https://nsfocusglobal.com/wp-content/uploads/2018/05/Anti-DDoS-Solution.pdf (2018) [Online]. Accessed 8 July 2019
Cisco: Cisco guard xt 5650. https://www.cisco.com/c/en/us/products/collateral/security/guard-xt-5650a/productdatasheet0900aecd800fa55e.html (2018) [Online]. Accessed 8 July 2019
Arbor Networks APS Series. https://www.arbornetworks.com/ddos-protection-products/arbor-aps. Cisco Guard XT 5650 Series. https://goo.gl/DoFRBk
Guenane, F., Nogueira, M., Pujolle, G.: Reducing DDoS attacks impact using a hybrid cloud-based firewalling architecture. In: 2014 Global Information Infrastructure and Networking Symposium (GIIS), pp. 1–6. IEEE (2014, Sept)
Kokila, R.T., Selvi, S.T., Govindarajan, K.: DDoS detection and analysis in SDN-based environment using support vector machine classifier. In: 2014 Sixth International Conference on Advanced Computing (ICoAC), pp. 205–210. IEEE (2014, Dec)
Jero, S., Koch, W., Skowyra, R., Okhravi, H., Nita-Rotaru, C., Bigelow, D.: Identifier binding attacks and defenses in software-defined networks. In: USENIX Security Symposium, pp. 415–432 (2017, Aug)
Wang, R., Jia, Z., Ju, L.: An entropy-based distributed DDoS detection mechanism in software-defined networking. In: 2015 IEEE Trustcom/BigDataSE/ISPA, vol. 1, pp. 310–317. IEEE (2015, Aug)
Afek, Y., Bremler-Barr, A., Feibish, S.L., Schiff, L.: Detecting heavy flows in the SDN match and action model. Comput. Netw. 136, 1–12 (2018)
Sonchack, J., Loehr, D., Rexford, J., Walker, D.: Lucid: a language for control in the data plane. In: Proceedings of the 2021 ACM SIGCOMM 2021 Conference, pp. 731–747 (2021, Aug)
Navaz, A.S., Sangeetha, V., Prabhadevi, C.: Entropy based anomaly detection system to prevent DDoS attacks in cloud (2013). arXiv preprint arXiv:1308.6745
Xavier, B.M., Guimarães, R.S., Comarela, G., Martinello, M.: Programmable switches for in-networking classification. In: IEEE INFOCOM 2021-IEEE Conference on Computer Communications, pp. 1–10. IEEE (2021, May)
Musumeci, F., Ionata, V., Paolucci, F., Cugini, F., Tornatore, M.: Machine-learning-assisted DDoS attack detection with P4 language. In: ICC 2020–2020 IEEE International Conference on Communications (ICC), pp. 1–6. IEEE (2020, June)
Lapolli, Â.C., Marques, J.A., Gaspary, L.P.: Offloading real-time DDoS attack detection to programmable data planes. In: 2019 IFIP/IEEE Symposium on Integrated Network and Service Management (IM), pp. 19–27. IEEE (2019, Apr)
Ding, D., Savi, M., Siracusa, D.: Tracking normalized network traffic entropy to detect DDoS attacks in P4. IEEE Trans. Dependable Secure Comput. 19(6), 4019–4031 (2021)
Shannon, C.E.: A mathematical theory of communication. Bell Syst. Tech. J. 27(3), 379–423 (1948)
Cormode, G.: Count-Min Sketch (2009)
Ding, D., Savi, M., Siracusa, D.: Estimating logarithmic and exponential functions to track network traffic entropy in P4. In: NOMS 2020–2020 IEEE/IFIP Network Operations and Management Symposium, pp. 1–9. IEEE (2020, Apr)
Xavier, B.M., Guimarães, R.S., Comarela, G., Martinello, M.: Programmable switches for in-networking classification. In: IEEE INFOCOM 2021-IEEE Conference on Computer Communications, pp. 1–10. IEEE (2021, May)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Zhang, S., Gao, T., Zhang, J. (2024). DDoS Detection Based on Sliding Window Entropy and Decision Tree with Programmable Switch. In: Li, S. (eds) Computational and Experimental Simulations in Engineering. ICCES 2023. Mechanisms and Machine Science, vol 145. Springer, Cham. https://doi.org/10.1007/978-3-031-42987-3_72
Download citation
DOI: https://doi.org/10.1007/978-3-031-42987-3_72
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-42986-6
Online ISBN: 978-3-031-42987-3
eBook Packages: EngineeringEngineering (R0)