A Confidence-Aware Random Forest–XGBoost Framework for Cyber Threat Detection and Prevention in Enterprise Networks
Abstract
Enterprise networks face evolving malicious traffic that may not be adequately handled by static signatures and alert-only intrusion detection. This paper proposes a reproducible AI-assisted intrusion detection and prevention framework combining Random Forest and XGBoost classifiers, feature selection, probability fusion, and confidence-controlled mitigation. UNSW-NB15 is designated as the primary training and evaluation benchmark, while CICIDS2017 is proposed for secondary robustness assessment where feature compatibility permits. The framework separates classification from enforcement: uncertain traffic produces alerts, whereas high-confidence suspicious flows may trigger temporary, logged blocking subject to explicit safety rules. The evaluation protocol specifies leakage-safe preprocessing, class-wise precision and recall, macro-F1, false-alarm rate, inference latency, and mitigation delay. The contribution is an implementable system design and experimental protocol; numerical performance and live deployment outcomes are not claimed because the supplied synopsis does not contain completed experiments.