Characterising Payload Entropy in Packet Flows—Baseline Entropy Analysis for Network Anomaly Detection

Date

2024-12-16

Advisors

Journal Title

Journal ISSN

ISSN

Volume Title

Publisher

MDPI

Type

Article

Peer reviewed

Yes

Abstract

The accurate and timely detection of cyber threats is critical to keeping our online economy and data safe. A key technique in early detection is the classification of unusual patterns of network behaviour, often hidden as low-frequency events within complex time-series packet flows. One of the ways in which such anomalies can be detected is to analyse the information entropy of the payload within individual packets, since changes in entropy can often indicate suspicious activity—such as whether session encryption has been compromised, or whether a plaintext channel has been co-opted as a covert channel. To decide whether activity is anomalous, we need to compare real-time entropy values with baseline values, and while the analysis of entropy in packet data is not particularly new, to the best of our knowledge, there are no published baselines for payload entropy across commonly used network services. We offer two contributions: (1) we analyse several large packet datasets to establish baseline payload information entropy values for standard network services, and (2) we present an efficient method for engineering entropy metrics from packet flows from real-time and offline packet data. Such entropy metrics can be included within feature subsets, thus making the feature set richer for subsequent analysis and machine learning applications

Description

open access article

Keywords

Entropy, Shannon’s entropy, Information gain, Anomaly detection, Intrusion datasets, Deep packet inspection

Citation

Kenyon, A., Deka, L., and Elizondo, D. (2024) Characterising Payload Entropy in Packet Flows—Baseline Entropy Analysis for Network Anomaly Detection. Future Internet, 16 (12), 470

Rights

Attribution 4.0 International
http://creativecommons.org/licenses/by/4.0/

Research Institute

Institute of Digital Research, Communication and Responsible Innovation