[Paper Review] Tracking Temporal Evolution of Network Activity for Botnet Detection
This paper proposes a novel, content-agnostic botnet detection method that tracks temporal evolution of network communication structures using graph-based features and Long Short-Term Memory (LSTM) networks. By modeling time-series features of host communication graphs, the approach achieves 96.2% accuracy and 94.6% true positive rate on the CTU-13 dataset, outperforming existing content-agnostic methods and demonstrating strong generalization across diverse botnet types.
Botnets are becoming increasingly prevalent as the primary enabling technology in a variety of malicious campaigns such as email spam, click fraud, distributed denial-of-service (DDoS) attacks, and cryptocurrency mining. Botnet technology has continued to evolve rapidly making detection a very challenging problem. There is a fundamental need for robust detection methods that are insensitive to characteristics of a specific botnet and are generalizable across different botnet types. We propose a novel supervised approach to detect malicious botnet hosts by tracking a host's network activity over time using a Long Short-Term Memory (LSTM) based neural network architecture. We build a prototype to demonstrate the feasibility of our approach, evaluate it on the CTU-13 dataset, and compare our performance against existing detection methods. We show that our approach results in a more generalizable, botnet-agnostic detection methodology, is amenable to real-time implementation, and performs well compared to existing approaches, with an overall accuracy score of 96.2%.
Motivation & Objective
- To address the challenge of detecting evolving, protocol- and content-agnostic botnets that evade traditional signature- and heuristic-based detection methods.
- To develop a generalizable, robust detection framework insensitive to specific botnet characteristics such as encryption or control protocol.
- To enable real-time detection by leveraging time-series modeling of network communication patterns.
- To improve detection performance over existing anomaly-based and graph-based approaches by capturing temporal dynamics in host communication structures.
- To demonstrate the feasibility and superiority of a content-agnostic, graph-based time-series approach on benchmark datasets like CTU-13.
Proposed method
- The method constructs time-locked communication graphs from network packet captures, representing each host as a node and inter-host communication as edges.
- It extracts ten graph-based features per host per time interval, including degree, clustering coefficient, betweenness, eigenvector centrality, and others, using the graph-tool library.
- These features are aggregated into a time-series for each host, capturing the evolution of their network behavior over time.
- A Long Short-Term Memory (LSTM) neural network is trained on these time-series inputs to classify hosts as malicious or benign.
- The approach is content-agnostic, relying only on communication structure, making it resilient to packet encryption and protocol obfuscation.
- Model training uses supervised classification with labeled data from the CTU-13 dataset, focusing on Command & Control, DDoS, and P2P botnet scenarios.
Experimental results
Research questions
- RQ1Can a content-agnostic, graph-based time-series approach detect diverse botnet types more effectively than existing signature- or content-based methods?
- RQ2How well does modeling temporal evolution of host communication structures improve detection performance compared to static or flow-based methods?
- RQ3To what extent does the proposed method generalize across different botnet families, including P2P and C2-based botnets?
- RQ4What are the computational bottlenecks in feature extraction, and can they be mitigated without sacrificing model accuracy?
- RQ5How does the performance of this approach compare to state-of-the-art content-agnostic and content-aware botnet detection systems on standardized benchmarks?
Key findings
- The proposed method achieved an overall accuracy of 96.2% on the combined CTU-13 scenarios 6, 7, 10, 11, and 12, significantly outperforming existing content-agnostic approaches.
- The true positive rate (TPR) reached 94.6%, exceeding the state-of-the-art TPR of 0.809 on the same dataset, despite a slightly higher false positive rate of 0.037.
- The method demonstrated high specificity at 96.3%, indicating strong performance in correctly identifying benign hosts.
- The approach generalizes well across different botnet types, including Command & Control, DDoS, and peer-to-peer botnets, due to shared communication structural patterns.
- The primary computational bottleneck lies in graph feature extraction, which required 7,000 minutes on a single-core machine for scenario 10, primarily due to multigraph representation with duplicate edges.
- Future improvements such as weighted edge aggregation, parallelization, and GPU acceleration are expected to drastically reduce preprocessing time without affecting model accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.