Three State Evaluation of Flow based Intrusion Detection

Flow-based intrusion detection systems classify whether an attack is happening. We introduce a third class corresponding to pre-intrusion reconnaissance activities based upon attack subtypes that have been observed in the capture. This means that the classification is based upon the contents of the flow itself. We investigate if sequential modelling methods can detect this new class. We achieve a macro-F1 score of 0.8605±0.0019 using a hybrid convolutional recurrent neural network trained upon 20-flow windows with a partition of contiguous blocks of records. The best neural model achieves a score of 0.8668±0.0018. Gradient boosted trees trained upon 6 summary statistics from the same window give a score of 0.8758±0.0002. This means the simpler model has a repeatable advantage over the complex model. It is also 4-30 times more stable to seed changes. However, using 20-flow windows provides an improvement of 3.1 macro-F1 points compared to single record classification. Using class imbalance mitigation techniques gives up to 0.5 macro-F1 improvement compared to no mitigation. However, none improve the threshold free average precision score for the reconnaissance class. Retraining using the traditional shuffled partition improves the macro-F1 score by 3.2 and the average precision for the reconnaissance class by 12.2. This indicates why often perfect scores are achieved on these datasets. In addition, the recall scores for the reconnaissance class break down to show either very high values (≥ 0.997) for port scanning or moderate values (between 0.32 and 0.70) for infiltration. This means the overall detection rate for the early stages of an attack is not informative.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-25
DOI
https://doi.org/10.21203/rs.3.rs-11843470/v1
Primary Topic
Network Security and Intrusion Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Three State Evaluation of Flow based Intrusion Detection

Aditya Godase, Vaidahi Gotmare, Prathamesh Bhawari, Sarthak Godge
Research Square
Network Security and Intrusion Detection
preprint

Three State Evaluation of Flow based Intrusion Detection

Aditya Godase, Vaidahi Gotmare, Prathamesh Bhawari, Sarthak Godge
preprint en

Abstract

Flow-based intrusion detection systems classify whether an attack is happening. We introduce a third class corresponding to pre-intrusion reconnaissance activities based upon attack subtypes that have been observed in the capture. This means that the classification is based upon the contents of the flow itself. We investigate if sequential modelling methods can detect this new class. We achieve a macro-F1 score of 0.8605±0.0019 using a hybrid convolutional recurrent neural network trained upon 20-flow windows with a partition of contiguous blocks of records. The best neural model achieves a score of 0.8668±0.0018. Gradient boosted trees trained upon 6 summary statistics from the same window give a score of 0.8758±0.0002. This means the simpler model has a repeatable advantage over the complex model. It is also 4-30 times more stable to seed changes. However, using 20-flow windows provides an improvement of 3.1 macro-F1 points compared to single record classification. Using class imbalance mitigation techniques gives up to 0.5 macro-F1 improvement compared to no mitigation. However, none improve the threshold free average precision score for the reconnaissance class. Retraining using the traditional shuffled partition improves the macro-F1 score by 3.2 and the average precision for the reconnaissance class by 12.2. This indicates why often perfect scores are achieved on these datasets. In addition, the recall scores for the reconnaissance class break down to show either very high values (≥ 0.997) for port scanning or moderate values (between 0.32 and 0.70) for infiltration. This means the overall detection rate for the early stages of an attack is not informative.

Research Square
COEP Technological University (IN)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon