NetNN: Neural Intrusion Detection System in Programmable Networks

Kamran Razavi, Shayan Davari Fard, George Karlos*, Vinod Nigade*, Max Muhlhuser, Lin Wang

*Corresponding author for this work

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

Abstract

The rise of deep learning has led to various successful attempts to apply deep neural networks (DNNs) for important networking tasks such as intrusion detection. Yet, running DNNs in the network control plane, as typically done in existing proposals, suffers from high latency that impedes the practicality of such approaches. This paper introduces NetNN, a novel DNN-based intrusion detection system that runs completely in the network data plane to achieve low latency. NetNN adopts raw packet information as input, avoiding complicated feature engineering. NetNN mimics the DNN dataflow execution by mapping DNN parts to a network of programmable switches, executing partial DNN computations on individual switches, and generating packets carrying intermediate execution results between these switches. We implement NetNN in P4 and demonstrate the feasibility of such an approach. Experimental results show that NetNN can improve the intrusion detection accuracy to 99% while meeting the real-time requirement.

Original languageEnglish
Title of host publication2024 IEEE Symposium on Computers and Communications (ISCC)
Subtitle of host publication[Proceedings]
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1-8
Number of pages8
ISBN (Electronic)9798350354232
ISBN (Print)9798350354249
DOIs
Publication statusPublished - 2024
Event29th IEEE Symposium on Computers and Communications, ISCC 2024 - Paris, France
Duration: 26 Jun 202429 Jun 2024

Publication series

NameProceedings - IEEE Symposium on Computers and Communications
ISSN (Print)1530-1346

Conference

Conference29th IEEE Symposium on Computers and Communications, ISCC 2024
Country/TerritoryFrance
CityParis
Period26/06/2429/06/24

Bibliographical note

Publisher Copyright:
© 2024 IEEE.

Fingerprint

Dive into the research topics of 'NetNN: Neural Intrusion Detection System in Programmable Networks'. Together they form a unique fingerprint.

Cite this