{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,24]],"date-time":"2026-11-24T19:56:31Z","timestamp":1795550191592,"version":"4.11.0"},"reference-count":33,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2022,6,2]],"date-time":"2022-06-02T00:00:00Z","timestamp":1654128000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["SIGMETRICS Perform. Eval. Rev."],"published-print":{"date-parts":[[2022,6,2]]},"abstract":"<jats:p>The last few years have seen an increasing wave of attacks with serious economic and privacy damages, which evinces the need for accurate Network Intrusion Detection Systems (NIDS). Recent works propose the use of Machine Learning (ML) techniques for building such systems (e.g., decision trees, neural networks). However, existing ML-based NIDS are barely robust to common adversarial attacks, which limits their applicability to real networks. A fundamental problem of these solutions is that they treat and classify flows independently. In contrast, in this paper we argue the importance of focusing on the structural patterns of attacks, by capturing not only the individual flow features, but also the relations between different flows (e.g., the source\/destination hosts they share). To this end, we use a graph representation that keeps flow records and their relationships, and propose a novel Graph Neural Network (GNN) model tailored to process and learn from such graph-structured information. In our evaluation, we first show that the proposed GNN model achieves state-of-the-art results in the well-known CIC-IDS2017 dataset. Moreover, we assess the robustness of our solution under two common adversarial attacks, that intentionally modify the packet size and interarrival times to avoid detection. The results show that our model is able to maintain the same level of accuracy as in previous experiments, while state-of-the-art ML techniques degrade up to 50% their accuracy (F1-score) under these attacks. This unprecedented level of robustness is mainly induced by the capability of our GNN model to learn flow patterns of attacks structured as graphs.<\/jats:p>","DOI":"10.1145\/3543146.3543171","type":"journal-article","created":{"date-parts":[[2022,6,6]],"date-time":"2022-06-06T22:38:08Z","timestamp":1654555088000},"page":"111-117","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":116,"title":["Unveiling the potential of Graph Neural Networks for robust Intrusion Detection"],"prefix":"10.1145","volume":"49","author":[{"given":"David","family":"Pujol-Perich","sequence":"first","affiliation":[{"name":"Barcelona Neural Networking Center, Universitat Polit ecnica de Catalunya, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jose","family":"Suarez-Varela","sequence":"additional","affiliation":[{"name":"Barcelona Neural Networking Center, Universitat Politecnica de Catalunya, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Albert","family":"Cabellos-Aparicio","sequence":"additional","affiliation":[{"name":"Barcelona Neural Networking Center, Universitat Politecnica de Catalunya, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Pere","family":"Barlet-Ros","sequence":"additional","affiliation":[{"name":"Barcelona Neural Networking Center, Universitat Politecnica de Catalunya, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2022,6,6]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Breach Report","author":"IBM and the Ponemon Institute","year":"2020","unstructured":"IBM and the Ponemon Institute . Cost of a Data Breach Report 2020 . https:\/\/www.ibm.com\/security\/databreach IBM and the Ponemon Institute. Cost of a Data Breach Report 2020. https:\/\/www.ibm.com\/security\/databreach"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1186\/s42400-019-0038-7"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3178582"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2010.25"},{"key":"e_1_2_1_5_1","volume-title":"Adversarial attacks against intrusion detection systems: Taxonomy, solutions and open issues. Information Sciences 239","author":"Corona Igino","year":"2013","unstructured":"Igino Corona , Giorgio Giacinto , and Fabio Roli . 2013. Adversarial attacks against intrusion detection systems: Taxonomy, solutions and open issues. Information Sciences 239 ( 2013 ). Igino Corona, Giorgio Giacinto, and Fabio Roli. 2013. Adversarial attacks against intrusion detection systems: Taxonomy, solutions and open issues. Information Sciences 239 (2013)."},{"key":"e_1_2_1_6_1","volume-title":"Markus Hagenbuchner, and Gabriele Monfardini.","author":"Scarselli Franco","year":"2008","unstructured":"Franco Scarselli , Marco Gori , Ah Chung Tsoi , Markus Hagenbuchner, and Gabriele Monfardini. 2008 . The graph neural network model. IEEE transactions on neural networks 20, 1 (2008), 61--80. Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. 2008. The graph neural network model. IEEE transactions on neural networks 20, 1 (2008), 61--80."},{"key":"e_1_2_1_7_1","volume-title":"https:\/\/github.com\/BNN-UPC\/GNN-NIDS. Accessed","author":"Barcelona Neural","year":"2021","unstructured":"Barcelona Neural Networking center. GNN-NIDS. https:\/\/github.com\/BNN-UPC\/GNN-NIDS. Accessed Oct. 20, 2021 . Barcelona Neural Networking center. GNN-NIDS. https:\/\/github.com\/BNN-UPC\/GNN-NIDS. Accessed Oct. 20, 2021."},{"key":"e_1_2_1_8_1","first-page":"108","article-title":"Toward generating a new intrusion detection dataset and intrusion traffic characterization","volume":"1","author":"Sharafaldin Iman","year":"2018","unstructured":"Iman Sharafaldin , Arash Habibi Lashkari , and Ali A Ghorbani . 2018 . Toward generating a new intrusion detection dataset and intrusion traffic characterization . ICISSP 1 (2018), 108 -- 116 . Iman Sharafaldin, Arash Habibi Lashkari, and Ali A Ghorbani. 2018. Toward generating a new intrusion detection dataset and intrusion traffic characterization. ICISSP 1 (2018), 108--116.","journal-title":"ICISSP"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNNLS.2020.2978386"},{"key":"e_1_2_1_10_1","volume-title":"Neural Message Passing for Quantum Chemistry. In Proceedings of the International Conference on Machine Learning (ICML)","volume":"70","author":"Gilmer Justin","unstructured":"Justin Gilmer , Samuel S. Schoenholz , Patrick F. Riley , Oriol Vinyals , and George E. Dahl . 2017 . Neural Message Passing for Quantum Chemistry. In Proceedings of the International Conference on Machine Learning (ICML) , Vol. 70 . 1263--1272. Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. 2017. Neural Message Passing for Quantum Chemistry. In Proceedings of the International Conference on Machine Learning (ICML), Vol. 70. 1263--1272."},{"key":"e_1_2_1_11_1","volume-title":"Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555","author":"Chung Junyoung","year":"2014","unstructured":"Junyoung Chung , Caglar Gulcehre , KyungHyun Cho , and Yoshua Bengio . 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 ( 2014 ). Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 (2014)."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3472716.3472853"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICCV.2017.324"},{"key":"e_1_2_1_14_1","volume-title":"Artificial neural networks (the multilayer perceptron)-a review of applications in the atmospheric sciences. Atmospheric environment 32, 14--15","author":"Gardner Matt W","year":"1998","unstructured":"Matt W Gardner and SR Dorling . 1998. Artificial neural networks (the multilayer perceptron)-a review of applications in the atmospheric sciences. Atmospheric environment 32, 14--15 ( 1998 ), 2627--2636. Matt W Gardner and SR Dorling. 1998. Artificial neural networks (the multilayer perceptron)-a review of applications in the atmospheric sciences. Atmospheric environment 32, 14--15 (1998), 2627--2636."},{"key":"e_1_2_1_15_1","volume-title":"Multi-class adaboost. Statistics and its Interface 2, 3","author":"Hastie Trevor","year":"2009","unstructured":"Trevor Hastie , Saharon Rosset , Ji Zhu , and Hui Zou . 2009. Multi-class adaboost. Statistics and its Interface 2, 3 ( 2009 ), 349--360. Trevor Hastie, Saharon Rosset, Ji Zhu, and Hui Zou. 2009. Multi-class adaboost. Statistics and its Interface 2, 3 (2009), 349--360."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11749-016-0481-7"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.14569\/SpecialIssue.2014.040203"},{"key":"e_1_2_1_18_1","volume-title":"Network intrusion detection and prevention: concepts and techniques","author":"Ghorbani Ali A","unstructured":"Ali A Ghorbani , Wei Lu , and Mahbod Tavallaee . 2009. Network intrusion detection and prevention: concepts and techniques . Vol. 47 . Springer Science & Business Media . Ali A Ghorbani, Wei Lu, and Mahbod Tavallaee. 2009. Network intrusion detection and prevention: concepts and techniques. Vol. 47. Springer Science & Business Media."},{"key":"e_1_2_1_19_1","volume-title":"Anomaly-based network intrusion detection: Techniques, systems and challenges. computers & security 28, 1--2","author":"Garcia-Teodoro Pedro","year":"2009","unstructured":"Pedro Garcia-Teodoro , Jesus Diaz-Verdejo , Gabriel Maci\u00b4a-Fern\u00b4andez , and Enrique V\u00b4azquez . 2009. Anomaly-based network intrusion detection: Techniques, systems and challenges. computers & security 28, 1--2 ( 2009 ), 18--28. Pedro Garcia-Teodoro, Jesus Diaz-Verdejo, Gabriel Maci\u00b4a-Fern\u00b4andez, and Enrique V\u00b4azquez. 2009. Anomaly-based network intrusion detection: Techniques, systems and challenges. computers & security 28, 1--2 (2009), 18--28."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2959131"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ins.2019.10.069"},{"key":"e_1_2_1_22_1","volume-title":"An empirical comparison of botnet detection methods. computers & security 45","author":"Garcia Sebastian","year":"2014","unstructured":"Sebastian Garcia , Martin Grill , Jan Stiborek , and Alejandro Zunino . 2014. An empirical comparison of botnet detection methods. computers & security 45 ( 2014 ), 100--123. Sebastian Garcia, Martin Grill, Jan Stiborek, and Alejandro Zunino. 2014. An empirical comparison of botnet detection methods. computers & security 45 (2014), 100--123."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v34i04.5724"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3442381.3450023"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3412841.3442080"},{"key":"e_1_2_1_26_1","volume-title":"NF-GNN: Network Flow Graph Neural Networks for Malware Detection and Classification. arXiv preprint arXiv:2103.03939","author":"Busch Julian","year":"2021","unstructured":"Julian Busch , Anton Kocheturov , Volker Tresp , and Thomas Seidl . 2021. NF-GNN: Network Flow Graph Neural Networks for Malware Detection and Classification. arXiv preprint arXiv:2103.03939 ( 2021 ). 116 Performance Evaluation Review , Vol . 49, No. 4, March 2022 Julian Busch, Anton Kocheturov, Volker Tresp, and Thomas Seidl. 2021. NF-GNN: Network Flow Graph Neural Networks for Malware Detection and Classification. arXiv preprint arXiv:2103.03939 (2021). 116 Performance Evaluation Review, Vol. 49, No. 4, March 2022"},{"key":"e_1_2_1_27_1","volume-title":"Automating Botnet Detection with Graph Neural Networks. arXiv preprint arXiv:2003.06344","author":"Zhou Jiawei","year":"2020","unstructured":"Jiawei Zhou , Zhiying Xu , Alexander M Rush , and Minlan Yu. 2020. Automating Botnet Detection with Graph Neural Networks. arXiv preprint arXiv:2003.06344 ( 2020 ). Jiawei Zhou, Zhiying Xu, Alexander M Rush, and Minlan Yu. 2020. Automating Botnet Detection with Graph Neural Networks. arXiv preprint arXiv:2003.06344 (2020)."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314148.3314357"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1109\/JSAC.2020.3000405"},{"key":"e_1_2_1_30_1","volume-title":"Krzysztof Rusek, Pere Barlet-Ros, and Albert Cabellos-Aparicio.","author":"Almasan Paul","year":"2019","unstructured":"Paul Almasan , Jos\u00b4e Su\u00b4arez-Varela , Arnau Badia- Sampera , Krzysztof Rusek, Pere Barlet-Ros, and Albert Cabellos-Aparicio. 2019 . Deep reinforcement learning meets graph neural networks: Exploring a routing optimization use case. arXiv preprint arXiv:1910.07421 (2019). Paul Almasan, Jos\u00b4e Su\u00b4arez-Varela, Arnau Badia- Sampera, Krzysztof Rusek, Pere Barlet-Ros, and Albert Cabellos-Aparicio. 2019. Deep reinforcement learning meets graph neural networks: Exploring a routing optimization use case. arXiv preprint arXiv:1910.07421 (2019)."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3452296.3472902"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3387514.3405859"},{"key":"e_1_2_1_33_1","volume-title":"NetXplain: Real-time explainability of Graph Neural Networks applied to networking. ITU Journal on Future and Evolving Technologies","author":"Pujol-Perich David","year":"2021","unstructured":"David Pujol-Perich , Jos\u00b4e Su\u00b4arez-Varela , Shihan Xiao , Bo Wu , Albert Cabellos-Aparicio , and Pere Barlet-Ros . 2021. NetXplain: Real-time explainability of Graph Neural Networks applied to networking. ITU Journal on Future and Evolving Technologies ( 2021 ). David Pujol-Perich, Jos\u00b4e Su\u00b4arez-Varela, Shihan Xiao, Bo Wu, Albert Cabellos-Aparicio, and Pere Barlet-Ros. 2021. NetXplain: Real-time explainability of Graph Neural Networks applied to networking. ITU Journal on Future and Evolving Technologies (2021)."}],"container-title":["ACM SIGMETRICS Performance Evaluation Review"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3543146.3543171","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3543146.3543171","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:30:24Z","timestamp":1750188624000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3543146.3543171"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,6,2]]},"references-count":33,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2022,6,2]]}},"alternative-id":["10.1145\/3543146.3543171"],"URL":"https:\/\/doi.org\/10.1145\/3543146.3543171","relation":{},"ISSN":["0163-5999"],"issn-type":[{"value":"0163-5999","type":"print"}],"subject":[],"published":{"date-parts":[[2022,6,2]]},"assertion":[{"value":"2022-06-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}