Towards Real-Time Intrusion Detection in P4-Programmable 5G User Plane Functions
Authors:
- 28 October 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
Recent works have shown that Machine Learning (ML) models can be deployed in P4-programmable user planes for line rate inference on live traffic and that these user planes can also be used to accelerate the 5G User Plane Function (UPF). This work builds on these capabilities to explore how ML inference in the user plane can facilitate real-time intrusion detection in 5G networks. As a proof-of-concept, we describe how an ML model could be deployed into the UPF as a special Packet Detection Rule (PDR). We then train and deploy a tree-based classifier into a P4programmable switch acting as the UPF and conduct experiments on a testbed with off-the-shelf hardware using experimental data from a 5 G test network on a university campus. Our results confirm that running ML-based intrusion detection on P4-based UPFs ensures line-rate attack detection and classification with an accuracy of up to $98 \%$ in terms of F1 score, while keeping switch resource consumption increase under control.
Keywords
This publication has 20 references indexed in Scilit:
- DDoS Mitigation while Preserving QoS: A Deep Reinforcement Learning-Based Approach2024
- Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable Switches2024
- Encrypted Traffic Classification at Line Rate in Programmable Switches with Machine Learning2024
- In-Network Machine Learning Using Programmable Network Devices: A SurveyIEEE Communications Surveys & Tutorials, 2023
- Flowrest: Practical Flow-Level Inference in Programmable Switches with Random Forests2023
- An Exhaustive Survey on P4 Programmable Data Plane Switches: Taxonomy, Applications, Challenges, and Future TrendsIEEE Access, 2021
- Definition and Evaluation of Latency in 5G: A Framework Approach2019
- Deep learning approach for Network Intrusion Detection in Software Defined Networking2016
- Measuring control plane latency in SDN-enabled switches2015
- P4ACM SIGCOMM Computer Communication Review, 2014