Analysis of Network Traffic Flows for Centralized Botnet Detection


  • Pedram Amini Academic Complex of Information, Communications and Security Technologies, Malek-e-Ashtar University of Technology, Tehran, Iran
  • Reza Azmi Faculty of Engineering, Al-Zahra University, Tehran, Iran
  • Muhammad Amin Araghizadeh Department of Electrical and Computer Engineering, University of Tehran, Tehran, Iran


Botnet Detection, Centralized Botnet, Data Clustering, Netflow Protocol, Rule-Based Classification,


At present, the Internet users are facing the most serious threats considering the malwares have become a powerful tool for attackers. Botnets are one of the most significant malwares. A Bot is an intelligent program run by worms, Trojans or other malicious codes that could perform a group of cyber-attacks on the Internet. Botnets are used for attacks such as stealing data, spam, denial-of-service, phishing etc. A variety of methods and algorithms have been proposed to detect botnets, in which each of them has an emphasis on specific data or methods. Using Netflow data is an effective and agile method compared to other methods in detecting botnets. This research focuses on centralized and HTTP botnets. In the proposed method, we used the hierarchical clustering, XMeans clustering, and rule-based classification. The methods helped to achieve fast and accurate recognition. Hierarchical clustering improved the speed and accuracy rate in the process of separating the flows. The X-Means algorithm led to the highest cohesion inside the clusters and the maximum distance between clusters by choosing optimal K. Using rule-based classification, each cluster with the similar flow is placed in a bot cluster, a semi-bot cluster or a normal cluster. By performing network traffic flow analysis for the proposed method, sets of botnets have been evaluated and the results indicated that more than 95% accuracy in detection. By a minimum overhead, this approach can provide botnet detection with high accuracy and speed.




How to Cite

Amini, P., Azmi, R., & Araghizadeh, M. A. (2019). Analysis of Network Traffic Flows for Centralized Botnet Detection. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 11(2), 7–17. Retrieved from