Anomal-E: A Self-Supervised Network Intrusion Detection System based on Graph Neural Networks

Evan Caville, Wai Weng Lo, Siamak Layeghy, Marius Portmann
7/14/2022
288 citations
cs.LGcs.AIcs.CR
gnncontrastive-ssl

Official code: waimorris/Anomal-E (47 stars, Jupyter Notebook, Apache-2.0, last commit 2022-12-16).

Abstract

This paper investigates Graph Neural Networks (GNNs) application for self-supervised network intrusion and anomaly detection. GNNs are a deep learning approach for graph-based data that incorporate graph structures into learning to generalise graph representations and output embeddings.

Show full abstract

As network flows are naturally graph-based, GNNs are a suitable fit for analysing and learning network behaviour. The majority of current implementations of GNN-based Network Intrusion Detection Systems (NIDSs) rely heavily on labelled network traffic which can not only restrict the amount and structure of input traffic, but also the NIDSs potential to adapt to unseen attacks. To overcome these restrictions, we present Anomal-E, a GNN approach to intrusion and anomaly detection that leverages edge features and graph topological structure in a self-supervised process. This approach is, to the best our knowledge, the first successful and practical approach to network intrusion detection that utilises network flows in a self-supervised, edge leveraging GNN. Experimental results on two modern benchmark NIDS datasets not only clearly display the improvement of using Anomal-E embeddings rather than raw features, but also the potential Anomal-E has for detection on wild network traffic.

View on arXivView PDF

Code Implementations(1)

waimorris/Anomal-EOfficial100%
Apache-2.0

A PyTorch implementation of of Anomal-E.

476Jupyter NotebookDec 14, 20223 years agoApache-2.0
graph-representation-learningiotnidsself-supervised

Similar Papers

Cite this paper

@article{caville2022anomale,
  title  = {Anomal-E: A Self-Supervised Network Intrusion Detection System based on Graph Neural Networks},
  author = {Evan Caville and Wai Weng Lo and Siamak Layeghy and Marius Portmann},
  year   = {2022},
  eprint = {2207.06819},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.06819v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.06819.svg)](https://codeofpaper.com/paper/2207.06819)

Discussion