Distributed Denial of Service (DDoS) attacks represent a significant threat to network intrusion, often overwhelming systems by flooding them with traffic. Graph Neural Networks (GNNs) have grown as powerful tools in detecting cyberattacks due to their ability to effectively model and analyze network traffic as graphs. This thesis explores how progressively reducing the number of nodes in flow graphs influences the detection capabilities of a GNN in identifying DDoS attacks.
The CICIDS2017 dataset provided by the Canadian Institute for Cybersecurity, widely utilized in cybersecurity research, was employed for experiments. Due to limitations in the dataset’s aggregated format, packet flows between IP addresses were artificially simulated. Endpoint graphs were constructed by sequentially reducing nodes to represent earlier stages of network interactions, simulating scenarios where only partial traffic flows are observable. A Graph Isomorphism Network (GIN) was chosen for its known effectiveness in capturing complex graph structures.
Experimental results revealed that the accuracy of the GNN decreased progressively from 93.50\% (full graph) down to 80.27\% when only 10\% of the nodes were retained. This finding highlights a significant relationship between graph completeness and detection accuracy, demonstrating that GNNs become progressively less effective when provided with fewer nodes from the early stages of network communication. Furthermore, the study identifies a limitation related to the structural simplicity among generated graphs, suggesting that increased variation and complexity could lead to higher accuracy.