Botnet Node Detection Using Graph Learning
Open Access
- 19 December 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 16 (1) , 24
Abstract
Botnets represent a persistent and significant threat to internet security. Many detection methods fail because they analyze isolated node data, neglecting the coordinated interactions of centrally managed bots. Graph-based methods, particularly Graph Neural Networks (GNNs), offer a promising solution. This study developed and compared four novel GNN models (HeteroGCN, HeteroGAT, HeteroSAGE, and HeteroGAE) for botnet detection. We constructed a heterogeneous graph from the TI-16 DNS-labeled dataset, capturing interactions between users and domains. Experimental results show our models achieve up to 95% accuracy. Specifically, HeteroSAGE and HeteroGAE significantly outperform other models, demonstrating superior F1-Scores and exceptionally high Recall. This high recall, indicating a low false-negative rate, is critical for effective anomaly detection. Conversely, the computationally expensive HeteroGAT model yielded poorer results and slower inference times, demonstrating that increased model complexity does not guarantee better performance. To our knowledge, this is the first study to successfully apply and compare heterogeneous GNNs for bot detection using DNS query data.Keywords
Funding Information
- Doruk İletişim ve Otomasyon Sanayi ve Ticaret A.Ş. (DRK.BGDT.DDOS.001)
This publication has 29 references indexed in Scilit:
- Host‐Level Botnet Detection via Internet DNS Traffic Analysis Using Neural NetworksInternet Technology Letters, 2025
- XG-NID: Dual-modality network intrusion detection using a heterogeneous graph neural network and large language modelExpert Systems with Applications, 2025
- Deeply fused flow and topology features for botnet detection based on a pretrained GCNComputer Communications, 2025
- A survey on graph neural networks for intrusion detection systems: Methods, trends and challengesComputers & Security, 2024
- MONDEO-Tactics5G: Multistage botnet detection and tactics for 5G/6G networksComputers & Security, 2024
- A review on graph-based approaches for network security monitoring and botnet detectionInternational Journal of Information Security, 2023
- Multi-attributed heterogeneous graph convolutional network for bot detectionInformation Sciences, 2020
- Issues and challenges in DNS based botnet detection: A surveyComputers & Security, 2019
- A survey of botnet detection based on DNSNeural Computing and Applications, 2015
- An empirical comparison of botnet detection methodsComputers & Security, 2014