Real-Time Intrusion Detection and Prevention with Neural Network in Kernel using eBPF

被引:0
|
作者
Zhang, Junyu [1 ]
Chen, Pengfei [1 ]
He, Zilong [1 ]
Chen, Hongyang [1 ]
Li, Xiaoyun [1 ]
机构
[1] Sun Yat Sen Univ, Sch Comp Sci & Engn, Guangzhou, Peoples R China
基金
中国国家自然科学基金;
关键词
Real-Time Intrusion Detection; eBPF; Deep Learning; Neural Network Quantization;
D O I
10.1109/DSN58291.2024.00048
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
With the development of public cloud, real-time intrusion detection is becoming necessary. Current methods neither address the overhead of real-time network data capturing, nor effectively balance security level with performance. These issues can be addressed by offloading intrusion detection and prevention to the extended Berkeley Packet Filter (eBPF). However, current eBPF-based methods suffer from shortcomings in model performance or inference overhead. Moreover, they overlook the issues of eBPF in real-time scenarios, such as maximum eBPF instruction limitations. In this paper, we redesign the Neural Network inference mechanism to address the limitations of eBPF. Then, we propose a thread-safe parameter hot-updating mechanism without explicit spin lock. Evaluations indicate that our method achieves model performance comparable to the current best eBPF-based method while reducing memory overhead (5KB) and inference time (3000-5000ns per flow). Our method achieve F1-scores of 0.933 and 0.992 on the offline and online datasets, respectively.
引用
收藏
页码:416 / 428
页数:13
相关论文
共 50 条
  • [1] iKern: Advanced Intrusion Detection and Prevention at the Kernel Level Using eBPF
    Hadi, Hassan Jalil
    Adnan, Mubashir
    Cao, Yue
    Hussain, Faisal Bashir
    Ahmad, Naveed
    Alshara, Mohammed Ali
    Javed, Yasir
    TECHNOLOGIES, 2024, 12 (08)
  • [2] A Neural Attention Model for Real-Time Network Intrusion Detection
    Tan, Mengxuan
    Iacovazzi, Alfonso
    Cheung, Ngai-Man
    Elovici, Yuval
    PROCEEDINGS OF THE IEEE LCN: 2019 44TH ANNUAL IEEE CONFERENCE ON LOCAL COMPUTER NETWORKS (LCN 2019), 2019, : 291 - 299
  • [3] A fuzzy kernel-based method for real-time network intrusion detection
    Petrovskiy, M
    INNOVATIVE INTERNET COMMUNITY SYSTEMS, 2003, 2877 : 189 - 200
  • [4] Deep Neural Network Based Real-Time Intrusion Detection System
    Sharuka Promodya Thirimanne
    Lasitha Jayawardana
    Lasith Yasakethu
    Pushpika Liyanaarachchi
    Chaminda Hewage
    SN Computer Science, 2022, 3 (2)
  • [5] REAL-TIME TRAFFIC DETECTION and ANALYSIS of NETWORK SECURITY INTRUSION ATTACK: SNORT INTRUSION PREVENTION SYSTEM
    Zhou A.L.
    Telecommunications and Radio Engineering (English translation of Elektrosvyaz and Radiotekhnika), 2020, 79 (12): : 1055 - 1062
  • [6] Real-Time Network Intrusion Prevention System Using Incremental Feature Generation
    Uhm, Yeongje
    Pak, Wooguil
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 70 (01): : 1631 - 1648
  • [7] A Real-Time Intrusion Detection Algorithm for Network Security
    El-Bakry, Hazem M.
    Mastorakis, Nikos
    PROCEEDINGS OF THE 8TH WSEAS INTERNATIONAL CONFERENCE ON APPLIED INFORMATICS AND COMMUNICATIONS, PTS I AND II: NEW ASPECTS OF APPLIED INFORMATICS AND COMMUNICATIONS, 2008, : 533 - +
  • [8] Network intrusion intelligent real-time detection system
    Zhao, Haibo
    Li, Jianhua
    Yang, Yuhang
    Shanghai Jiaotong Daxue Xuebao/Journal of Shanghai Jiaotong University, 1999, 33 (01): : 76 - 79
  • [9] A real-time intrusion detection algorithm for network security
    El-Bakry, Hazem M.
    Mastorakis, Nikos
    2008, WSEAS (07):
  • [10] Real-Time Age Detection Using a Convolutional Neural Network
    Sithungu, Siphesihle
    Van der Haar, Dustin
    BUSINESS INFORMATION SYSTEMS, BIS 2019, PT II, 2019, 354 : 245 - 256