Skip to content
PK

MEng thesis · Cybersecurity

Adversarial Attacks to Evade ML-based Network Intrusion Detection Systems

Author
Pantelis Karabetsos
Degree
Integrated Master’s (MEng)
Institution
University of West Attica
Date
Sep 2026
Read the full thesis

Published in Polynoe, the University of West Attica repository.

Machine-learning intrusion detectors score near-perfectly on benchmark traffic. This thesis asks how much of that accuracy holds up against an attacker who is actively trying to evade them.

I trained a Multilayer Perceptron and a Random Forest on the CICIDS2017 dataset, then attacked both under white-, gray- and black-box threat models using FGSM, PGD, ZOO and HopSkipJump. Each attack was run twice: once with every feature open to change, and once limited to timing and packet-size changes that real network traffic would allow. I also tested whether examples crafted against one model transfer to the other.

Both detectors reached over 99% detection on clean traffic, yet were evaded in a large share of cases. Realistic constraints reduced evasion but did not remove it. The takeaway is that robustness should be evaluated across models and under realistic attacker constraints, not against a single detector.