| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 155 |
| Year of Publication: 2026 |
| Authors: Niaz Morshed |
10.5120/ijcae04de6503f89
|
Niaz Morshed . ML-based Intrusion Detection on UNSW-NB15. International Journal of Computer Applications. 187, 155 ( Nov 2026), 10-17. DOI=10.5120/ijcae04de6503f89
Machine learning (ML)-based network intrusion detection systems (NIDS) are typically compared by accuracy on public benchmarks, but such scores reveal little about how a detector performs when traffic, attacks, or the monitoring pipeline change. This paper presents a leakage-aware and resilience-oriented evaluation of four detectors (logistic regression, random forest, XGBoost and a multilayer perceptron) on the official UNSW-NB15 partition. A data audit reveals that 42.2% of training records are exact duplicates and 10.4% of test flows also occur in training. Random forest and XGBoost reach the highest F1 scores (89.43% and 89.37%), yet at the default decision threshold they generate alarms for approximately 27% of normal traffic, and thresholds calibrated to a 1% false-positive rate on validation data yield 2.4% to 4.9% on the test set. A single rule on the source time-to-live (TTL) value reaches 76.63% accuracy, and TTL is 2.8 times as influential as the next-ranked feature. When each attack family is removed from training, detection at a 1% false-alarm budget falls from 90.1% to 75.1% on average; for Generic attacks it falls from 99.8% to 51.3%, and to 23.3% without TTL features. Under simulated telemetry loss, tree ensembles degrade gracefully while the linear model loses up to 36.5 F1 points. These findings support reporting operating-point, novelty and degradation metrics alongside headline accuracy.