Hierarchical Machine Learning Algorithm for Detecting Fraudulent Actions in the Network Traffic
The paper proposes a hierarchical machine learning algorithm for detecting fraudulent and anomalous actions in the network traffic of information systems. The relevance of the study is driven by the exponential growth of network traffic volumes, the evolution of cyberattack methods, the high proportion of encrypted traffic, and the critical class imbalance in real-world datasets, where the share of malicious flows does not exceed 1-3%. Signature-based intrusion detection systems cannot detect zero-day attacks, while single (flat) ML classifiers demonstrate limited generalisation ability. The proposed algorithm implements a two-level architecture: the upper level performs binary classification of network flows (Normal / Attack), while the lower level conducts multiclass classification of the attack type (DoS, Probe, R2L, U2R, Bot) on the subset of suspicious flows. The algorithm was tested on the public NSL-KDD and CIC-IDS2017 datasets. Comparative analysis with single classifiers (Random Forest, XGBoost, LightGBM) confirmed the advantage of the hierarchical approach: the F1-score increased from 0.861 to 0.934, AUC-PR rom 0.838 to 0.921, and the number of false positives decreased from 1,96% to 1,46%. The results have practical value for building network intrusion detection systems (NIDS), protecting corporate networks and cloud infrastructure.
Authors
- Микола Миколайович Будник (ORCID: https://orcid.org/0000-0002-4020-0213)
- Mykhailo Lopandia (ORCID: https://orcid.org/0009-0009-9603-5681)
Institutions
- National Academy of Sciences of Ukraine (UA)
- Sumy State University (UA)
- V.M. Glushkov Institute of Cybernetics (UA)
Publication Details
- Journal
- Mathematical and computer modelling Series Technical sciences
- Published
- 2026-11-30
- DOI
- https://doi.org/10.32626/2308-5916.2026-30.100-111
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00