arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.09980cs.CRcs.LGcs.NIcs.OS
收藏

在eBPF中使用机器学习的基于流的IDS

A flow-based IDS using Machine Learning in eBPF

Technische Universität Wien(维也纳工业大学)

Maximilian Bachl, Joachim Fabini, Tanja Zseby

摘要:

eBPF是一种新技术,它允许动态地将代码片段加载到Linux内核中。它可以大大加快网络速度,因为它使内核能够处理某些数据包,而无需用户空间程序的参与。到目前为止,eBPF一直用于简单的数据包过滤应用程序,如防火墙或拒绝服务保护。我们表明,它是可能的,以开发一个基于流的网络入侵检测系统的基础上,机器学习完全在eBPF。我们的解决方案使用了一个决策树,并决定每个数据包是否是恶意的,考虑到整个先前的网络流的上下文。与作为用户空间程序实现的相同解决方案相比,我们实现了超过20%的性能提升。

英文摘要:

eBPF is a new technology which allows dynamically loading pieces of code into the Linux kernel. It can greatly speed up networking since it enables the kernel to process certain packets without the involvement of a userspace program. So far eBPF has been used for simple packet filtering applications such as firewalls or Denial of Service protection. We show that it is possible to develop a flow based network intrusion detection system based on machine learning entirely in eBPF. Our solution uses a decision tree and decides for each packet whether it is malicious or not, considering the entire previous context of the network flow. We achieve a performance increase of over 20% compared to the same solution implemented as a userspace program.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑