Detection of Denial of Service Attack in Cloud Based Kubernetes Using eBPF

Author:

Sadiq Amin1,Syed Hassan Jamil12ORCID,Ansari Asad Ahmed1,Ibrahim Ashraf Osman2ORCID,Alohaly Manar3ORCID,Elsadig Muna3ORCID

Affiliation:

1. Department of Computer Science, National University Computer and Emerging Sciences, Karachi 75030, Pakistan

2. Faculty of Computing and Informatics, Universiti Malaysia Sabah, Kota Kinabalu 88400, Malaysia

3. Department of Information Systems, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia

Abstract

Kubernetes is an orchestration tool that runs and manages container-based workloads. It works as a collection of different virtual or physical servers that support multiple storage capacities, provide network functionalities, and keep all containerized applications active in a desired state. It also provides an increasing fleet of different facilities, known as microservices. However, Kubernetes’ scalability has led to a complex network structure with an increased attack vector. Attackers can launch a Denial of service (DoS) attack against servers/machines in Kubernetes by producing fake traffic load, for instance. DoS or Distributed Denial of service (DDoS) attacks are malicious attempts to disrupt a targeted service by flooding the target’s service with network packets. Constant observation of the network traffic is extremely important for the early detection of such attacks. Extended Berkeley Packet Filter (eBPF) and eXpress Datapath (XDP) are advanced technologies in the Linux kernel that perform high-speed packet processing. In the case of Kubernetes, eBPF and XDP can be used to protect against DDoS attacks by enabling fast and efficient network security policies. For example, XDP can be used to filter out traffic that is not authorized to access the Kubernetes cluster, while eBPF can be used to monitor network traffic for signs of DDoS attacks, such as excessive traffic from a single source. In this research, we utilize eBPF and XDP to build a detection and observation mechanism to filter out malicious content and mitigate a Denial of Service attack on Kubernetes.

Funder

Princess Nourah bint Abdulrahman University

Publisher

MDPI AG

Subject

Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science

Reference21 articles.

1. McCanne, S., and Jacobson, V. (1993, January 25–29). The BSD Packet Filter: A New Architecture for User-Level Packet Capture. Proceedings of the USENIX Winter, San Diego, CA, USA.

2. Fast packet processing with eBPF and XDP: Concepts, code, challenges, and applications;Vieira;ACM Comput. Surv. CSUR,2020

3. Scholz, D., Raumer, D., Emmerich, P., Kurtz, A., Lesiak, K., and Carle, G. (2018, January 3–7). Performance implications of packet filtering with Linux eBPF. Proceedings of the 2018 30th International Teletraffic Congress (ITC 30), Vienna, Austria.

4. Nelson, L., Van Geffen, J., Torlak, E., and Wang, X. (2020, January 4–6). Specification and verification in the field: Applying formal methods to {BPF} just-in-time compilers in the Linux kernel. Proceedings of the 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20), Virtual Conference.

5. Containers and cloud: From LXC to docker to Kubernetes;Bernstein;IEEE Cloud Comput.,2014

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3