Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

DDoS Detection Based on Sliding Window Entropy and Decision Tree with Programmable Switch

  • Conference paper
  • First Online:
Computational and Experimental Simulations in Engineering (ICCES 2023)

Part of the book series: Mechanisms and Machine Science ((Mechan. Machine Science,volume 145))

  • 887 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 279.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Kupreev, E.G.A., Badovskaya, O.: Ddos attacks in q3 2021 (2021) [Online]. Available: https://securelist.com/ddos-attacks-in-q3-2021/104796/

  2. NSFOCUS: Nsfocus anti ddos solution. https://nsfocusglobal.com/wp-content/uploads/2018/05/Anti-DDoS-Solution.pdf (2018) [Online]. Accessed 8 July 2019

  3. 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

  4. Arbor Networks APS Series. https://www.arbornetworks.com/ddos-protection-products/arbor-aps. Cisco Guard XT 5650 Series. https://goo.gl/DoFRBk

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Article  Google Scholar 

  10. 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)

    Google Scholar 

  11. Navaz, A.S., Sangeetha, V., Prabhadevi, C.: Entropy based anomaly detection system to prevent DDoS attacks in cloud (2013). arXiv preprint arXiv:1308.6745

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Article  Google Scholar 

  16. Shannon, C.E.: A mathematical theory of communication. Bell Syst. Tech. J. 27(3), 379–423 (1948)

    Article  MathSciNet  MATH  Google Scholar 

  17. Cormode, G.: Count-Min Sketch (2009)

    Google Scholar 

  18. 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)

    Google Scholar 

  19. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Junxing Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics