Eva Chovancová, Dušan Čatloch and Martin Chovanec from the Department of Computers and Informatics at FEI TUKE tested seven machine learning models on more than 2.4 million network flows. Even the model with the strongest performance across categories struggled to recognise infiltration and web attacks. The study appeared in Mobile Networks and Applications.
When traffic is encrypted, a detector can still examine the properties of a network flow without reading the messages it carries. The researchers tested how well models could use those properties to distinguish ordinary traffic from six categories of attack. Random Forest performed best when each category counted equally. Yet its F1 score was just 0.21 for infiltration and 0.47 for web attacks. When categories were weighted by how often they occurred, the same model achieved an overall F1 score of 0.98. For a network administrator, the distinction matters: an overall score alone reveals little about which threats a detector is likely to miss.
The team also built a research prototype that converts captured traffic into flow records and reports a predicted category and confidence score for each one. Read the paper in Mobile Networks and Applications
Co-financed by the European Union through the Slovakia Programme under project No. NFP401101C360: Research and Development of Advanced Artificial Intelligence Solutions for Cyber Threat Detection and Defense Against Sophisticated Attacks.