UCAPS: Beyond Aggregate Metrics: A Multi-Perspective Analysis of Attack-Family Detection Failures in Binary Network Intrusion Detection

Aggregate performance metrics can conceal substantial differences in the ability of binary network intrusion detection models to detect individual attack families. This study presents a multi-perspective empirical analysis of attack-family detection failures using the original CICIDS2017 MachineLearningCVE dataset. A Random Forest binary classifier was trained on a stratified sample of 100,000 records drawn from Monday–Thursday traffic and evaluated on the Friday traffic population. Two preprocessing strategies were examined: exclusion of records containing nonfinite feature values and median imputation. The analysis included aggregate and attack-family-specific detection metrics, validation-derived decision thresholds, repeated-seed and feature-configuration experiments, prediction-score reliability measures, and complementary feature-space diagnostics. At the default threshold, the models achieved approximately 70.46% accuracy and 99.8% precision, while attack recall was approximately 28.2%. Detection varied substantially across attack families: Bot recall was zero, PortScan recall was approximately 0.1%, and DDoS recall was approximately 63.5%. Validation-derived thresholds increased aggregate recall to approximately 44.5% for Strategy A and 30.1% for Strategy B, but did not resolve the very weak Bot and PortScan detection. Score-reliability analysis showed substantial calibration deficiencies, with negative Brier Skill Scores for all six repeated-seed strategy–configuration combinations relative to the retrospective Friday-prevalence reference. Feature-space diagnostics further identified limitations involving rare-class support, exact feature-vector collisions, zero-interquartile-range features and nearest-neighbour composition. The findings demonstrate that aggregate binary metrics alone do not adequately characterize the distribution of detection failures across attack families. The study is a retrospective within-dataset analysis; it does not establish causal explanations, independent-network generalization, zero-day detection or production readiness.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24683637
Primary Topic
Network Security and Intrusion Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

UCAPS: Beyond Aggregate Metrics: A Multi-Perspective Analysis of Attack-Family Detection Failures in Binary Network Intrusion Detection

Srinivasa Rao Angajala
Zenodo (CERN European Organization for Nuclear Research)
Network Security and Intrusion Detection
preprint

UCAPS: Beyond Aggregate Metrics: A Multi-Perspective Analysis of Attack-Family Detection Failures in Binary Network Intrusion Detection

Srinivasa Rao Angajala
preprint en

Abstract

Aggregate performance metrics can conceal substantial differences in the ability of binary network intrusion detection models to detect individual attack families. This study presents a multi-perspective empirical analysis of attack-family detection failures using the original CICIDS2017 MachineLearningCVE dataset. A Random Forest binary classifier was trained on a stratified sample of 100,000 records drawn from Monday–Thursday traffic and evaluated on the Friday traffic population. Two preprocessing strategies were examined: exclusion of records containing nonfinite feature values and median imputation. The analysis included aggregate and attack-family-specific detection metrics, validation-derived decision thresholds, repeated-seed and feature-configuration experiments, prediction-score reliability measures, and complementary feature-space diagnostics. At the default threshold, the models achieved approximately 70.46% accuracy and 99.8% precision, while attack recall was approximately 28.2%. Detection varied substantially across attack families: Bot recall was zero, PortScan recall was approximately 0.1%, and DDoS recall was approximately 63.5%. Validation-derived thresholds increased aggregate recall to approximately 44.5% for Strategy A and 30.1% for Strategy B, but did not resolve the very weak Bot and PortScan detection. Score-reliability analysis showed substantial calibration deficiencies, with negative Brier Skill Scores for all six repeated-seed strategy–configuration combinations relative to the retrospective Friday-prevalence reference. Feature-space diagnostics further identified limitations involving rare-class support, exact feature-vector collisions, zero-interquartile-range features and nearest-neighbour composition. The findings demonstrate that aggregate binary metrics alone do not adequately characterize the distribution of detection failures across attack families. The study is a retrospective within-dataset analysis; it does not establish causal explanations, independent-network generalization, zero-day detection or production readiness.

Zenodo (CERN European Organization for Nuclear Research)
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