ENCODE: Encoding NetFlows for Network Anomaly Detection

Clinton Cao, Annibale Panichella, Sicco Verwer, Agathe Blaise, Filippo Rebecchi
7/8/2022
1 citation
cs.LG

Official code: tudelft-cda-lab/ENCODE (5 stars, Python, MIT, last commit 2023-12-20).

Abstract

NetFlow data is a popular network log format used by many network analysts and researchers. The advantages of using NetFlow over deep packet inspection are that it is easier to collect and process, and it is less privacy intrusive.

Show full abstract

Many works have used machine learning to detect network attacks using NetFlow data. The first step for these machine learning pipelines is to pre-process the data before it is given to the machine learning algorithm. Many approaches exist to pre-process NetFlow data; however, these simply apply existing methods to the data, not considering the specific properties of network data. We argue that for data originating from software systems, such as NetFlow or software logs, similarities in frequency and contexts of feature values are more important than similarities in the value itself. In this work, we propose an encoding algorithm that directly takes the frequency and the context of the feature values into account when the data is being processed. Different types of network behaviours can be clustered using this encoding, thus aiding the process of detecting anomalies within the network. We train several machine learning models for anomaly detection using the data that has been encoded with our encoding algorithm. We evaluate the effectiveness of our encoding on a new dataset that we created for network attacks on Kubernetes clusters and two well-known public NetFlow datasets. We empirically demonstrate that the machine learning models benefit from using our encoding for anomaly detection.

View on arXivView PDF

Code Implementations(1)

MIT

Python package for encoding NetFlow data for network anomaly detection

50PythonNov 24, 20222 years agoMIT

Similar Papers

Cite this paper

@article{cao2022encode,
  title  = {ENCODE: Encoding NetFlows for Network Anomaly Detection},
  author = {Clinton Cao and Annibale Panichella and Sicco Verwer and Agathe Blaise and Filippo Rebecchi},
  year   = {2022},
  eprint = {2207.03890},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.03890v3}
}

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.03890.svg)](https://codeofpaper.com/paper/2207.03890)

Discussion