journal article·2019-06-11Open access

An Adaptive Multi-Layer Botnet Detection Technique Using Machine Learning Classifiers

Riaz Ullah Khan, Xiaosong Zhang, Rajesh Kumar, Abubakar Sharif, Noorbakhsh Amiri Golilarz, Mamoun Alazab

Applied Sciences· Volume 9· Issue 11

Abstract

In recent years, the botnets have been the most common threats to network security since it exploits multiple malicious codes like a worm, Trojans, Rootkit, etc. The botnets have been used to carry phishing links, to perform attacks and provide malicious services on the internet. It is challenging to identify Peer-to-peer (P2P) botnets as compared to Internet Relay Chat (IRC), Hypertext Transfer Protocol (HTTP) and other types of botnets because P2P traffic has typical features of the centralization and distribution. To resolve the issues of P2P botnet identification, we propose an effective multi-layer traffic classification method by applying machine learning classifiers on features of network traffic. Our work presents a framework based on decision trees which effectively detects P2P botnets. A decision tree algorithm is applied for feature selection to extract the most relevant features and ignore the irrelevant features. At the first layer, we filter non-P2P packets to reduce the amount of network traffic through well-known ports, Domain Name System (DNS). query, and flow counting. The second layer further characterized the captured network traffic into non-P2P and P2P. At the third layer of our model, we reduced the features which may marginally affect the classification. At the final layer, we successfully detected P2P botnets using decision tree Classifier by extracting network communication features. Furthermore, our experimental evaluations show the significance of the proposed method in P2P botnets detection and demonstrate an average accuracy of 98.7%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection · Internet Traffic Analysis and Secure E-voting · Advanced Malware Detection Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Center of Cyber Security, School of Computer Science & Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China

College of Engineering, IT and Environment, Charles Darwin University, Casuarina 0810, Australia

Funding

National Natural Science Foundation of China

References (55)

Show source-provided references
1. DNSRadar: Outsourcing malicious domain detection based on distributed cache-footprints10.1109/TIFS.2014.2357251 ↗
2. Zhao, S., Lee, P.P., Lui, J., Guan, X., Ma, X., and Tao, J. (2012, January 3–7). Cloud-based push-styled mobile botnets: A case study of exploiting the cloud to device messaging service. Proceedings of the 28th Annual Computer Security Applications Conference, Orlando, FL, USA.10.1145/2420950.2420968 ↗
3. Ma, X., Guan, X., Tao, J., Zheng, Q., Guo, Y., Liu, L., and Zhao, S. (2010, January 23–27). A novel IRC botnet detection method based on packet size sequence. Proceedings of the 2010 IEEE International Conference on Communications (ICC), Cape Town, South Africa.10.1109/ICC.2010.5502092 ↗
4. Alazab, M., and Broadhurst, R. (2016). Spam and criminal activity. Trends and Issues in Crime and Criminal Justice, Australian Institute of Criminology.10.52922/ti141072 ↗
5. Arora, A., Yadav, S.K., and Sharma, K. (2018). Denial-of-Service (DoS) Attack and Botnet: Network Analysis, Research Tactics, and Mitigation. Handbook of Research on Network Forensics and Analysis Techniques, IGI Global.10.4018/978-1-5225-4100-4.ch008 ↗
6. Zhang, J., Xie, Y., Yu, F., Soukal, D., and Lee, W. (2013, January 24–27). Intention and Origination: An Inside Look at Large-Scale Bot Queries. Proceedings of the NDSS Symposium 2013, San Diego, CA, USA.
7. Roto, V., Oulasvirta, A., Haikarainen, T., Kuorelahti, J., Lehmuskallio, H., and Nyyssönen, T. (2016, January 21–24). You Are a Game Bot!: Uncovering Game Bots in MMORPGs via Self-similarity in the Wild. Proceedings of the NDSS 2016, San Diego, CA, USA.
8. Krueger, T., Gascon, H., Krämer, N., and Rieck, K. (2012, January 19). Learning stateful models for network honeypots. Proceedings of the 5th ACM Workshop on Security and Artificial Intelligence (AISec ’12), Raleigh, NC, USA.10.1145/2381896.2381904 ↗
9. Feature selection for optimizing traffic classification10.1016/j.comcom.2012.04.012 ↗
10. Chen, C.M., Lai, G.H., and Young, P.Y. (2016, January 4–5). Defense Joint Attacks Based on Stochastic Discrete Sequence Anomaly Detection. Proceedings of the 2016 11th Asia Joint Conference on Information Security (AsiaJCIS), Fukuoka, Japan.10.1109/AsiaJCIS.2016.18 ↗
11. Azab, A., Alazab, M., and Aiash, M. (2016, January 23–26). Machine Learning Based Botnet Identification Traffic. Proceedings of the 2016 IEEE Trustcom/BigDataSE/ISPA, Tianjin, China.10.1109/TrustCom.2016.0275 ↗
12. Detecting android malware leveraging text semantics of network flows10.1109/TIFS.2017.2771228 ↗
13. Defending from stealthy botnets using moving target defenses10.1109/MSP.2018.1331034 ↗
14. Botnet behaviour analysis: How would a data analytics-based system with minimum a priori information perform?10.1002/nem.1977 ↗
15. Profiling and classifying the behavior of malicious codes10.1016/j.jss.2014.10.031 ↗
16. Alazab, M., Venkataraman, S., and Watters, P. (2010, January 19–20). Towards understanding malware behaviour by the extraction of API calls. Proceedings of the 2010 Second Cybercrime and Trustworthy Computing Workshop, Ballarat, VIC, Australia.10.1109/CTC.2010.8 ↗
17. Building a Scalable System for Stealthy P2P-Botnet Detection10.1109/TIFS.2013.2290197 ↗
18. Abdullah, R.S., Abdollah, M.F., Noh, Z.A.M., Mas’ud, M.Z., Sahib, S., and Yusof, R. (2013, January 23–26). Preliminary study of host and network-based analysis on P2P Botnet detection. Proceedings of the 2013 International Conference on Technology, Informatics, Management, Engineering and Environment, Bandung, Indonesia.10.1109/TIME-E.2013.6611973 ↗
19. Towards accurate node-based detection of P2P botnets10.1155/2014/425491 ↗
20. (2013). Botnet detection based on traffic behavior analysis and flow intervals. Comput. Secur., 39, 2–16.10.1016/j.cose.2013.04.007 ↗
21. DFBotKiller: Domain-flux botnet detection based on the history of group activities and failures in DNS traffic10.1016/j.diin.2014.11.001 ↗
22. A Survey of Data Mining and Machine Learning Methods for Cyber Security Intrusion Detection10.1109/COMST.2015.2494502 ↗
23. P2P and P2P botnet traffic classification in two stages10.1007/s00500-015-1863-6 ↗
24. Hybrid P2P traffic classification with heuristic rules and machine learning10.1007/s00500-014-1253-5 ↗
25. Analysis of a/0 stealth scan from a botnet10.1109/TNET.2013.2297678 ↗
26. Guofei, G., Yegneswaran, V., Porras, P., Stoll, J., and Lee, W. (2009, January 7–11). Active botnet probing to identify obscure command and control channels. Proceedings of the IEEE Annual Computer Security Application Conference, Honolulu, HI, USA.10.1109/ACSAC.2009.30 ↗
27. Guofei, G., Perdisci, R., Zhang, J., and Lee, W. (August, January 28). BotMiner: Clustering analysis of network traffic for protocol- and structure-independent botnet detection. Proceedings of the 17th Conference on Security Symposium, San Jose, CA, USA.
28. Zhang, J., Perdisci, R., Lee, W., Sarfraz, U., and Luo, X. (2011, January 27–30). Detecting stealthy P2P botnets using statistical traffic fingerprints. Proceedings of the 2011 IEEE/IFIP 41st International Conference on Dependable Systems & Networks (DSN), Hong Kong, China.10.1109/DSN.2011.5958212 ↗
29. Gu, G., Zhang, J., and Lee, W. (2008, January 8–11). BotSniffer: Detecting botnet command and control channels in network traffic. Proceedings of the 15th Annual Network and Distributed System Security Symposium, San Diego, CA, USA.
30. Taxonomy of DoS and DDoS attacks and desirable defense mechanism in a cloud computing environment10.1007/s00521-016-2317-5 ↗
31. Wang, P., Wu, L., Aslam, B., and Zou, C.C. (2015). Analysis of Peer-to-Peer botnet attacks and defenses. Propagation Phenomena in Real World Networks, Springer.10.1007/978-3-319-15916-4_8 ↗
32. Wang, C., Zhou, X., You, F., and Chen, H. (2009, January 18–20). Design of P2P Traffic Identification Based on DPI and DFI. Proceedings of the 2009 International Symposium on Computer Network and Multimedia Technology, Wuhan China.10.1109/CNMT.2009.5374577 ↗
33. See No Evil, Hear No Evil? Dissecting the Impact of Online Hacker Forums10.25300/MISQ/2019/13042 ↗
34. Surveying port scans and their detection methodologies10.1093/comjnl/bxr035 ↗
35. IANA (2019, April 20). Service Name and Transport Protocol Port Number Registry. Available online: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
36. Stanek, W. (2012). Name-Resolution Services. Windows Server 2012 Pocket Consultant, The Microsoft Press Store by Pearson. Chapter Windows Se.
37. Papernot, N., McDaniel, P., Wu, X., Jha, S., and Swami, A. (2016, January 23–25). Distillation as a defense to adversarial perturbations against deep neural networks. Proceedings of the 2016 IEEE Symposium on Security and Privacy (SP), San Jose, CA, USA.10.1109/SP.2016.41 ↗
38. A hybrid classification algorithm by subspace partitioning through semi-supervised decision tree10.1016/j.patcog.2016.04.016 ↗
39. Davis, J., and Goadrich, M. (2006, January 25–29). The Relationship Between Precision-Recall and ROC Curves. Proceedings of the 23rd International Conference on Machine Learnin, Pittsburgh, PA, USA.10.1145/1143844.1143874 ↗
40. Peng, P., Xiang, T., Wang, Y., Pontil, M., Gong, S., Huang, T., and Tian, Y. (2016, January 27–30). Unsupervised cross-dataset transfer learning for person re-identification. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.146 ↗
41. An empirical comparison of botnet detection methods10.1016/j.cose.2014.05.011 ↗
42. Botnet detection using graph-based feature clustering10.1186/s40537-017-0074-7 ↗
43. Saad, S., Traore, I., Ghorbani, A., Sayed, B., Zhao, D., Lu, W., Felix, J., and Hakimian, P. (2011, January 19–21). Detecting P2P botnets through network behavior analysis and machine learning. Proceedings of the 2011 9th Annual International Conference on Privacy, Security and Trust (PST 2011), Montreal, QC, Canada.10.1109/PST.2011.5971980 ↗
44. Sherif, S., Traore, I., Ghorbani, A.A., Sayed, B., Zhao, D., Lu, W., Felix, J., and Hakimian, P. (2011, January 19–21). ISOT Dataset Description. Proceedings of the 9th Annual Conference on Privacy, Security and Trust (PST2011), Montreal, QC, Canada.
45. CiTRIX (2019, April 20). How to Decrypt SSL and TLS Traffic Using Wireshark. Available online: https://support.citrix.com/article/CTX116557.
46. HTTPS Traffic Analysis and Client Identification Using Passive SSL/TLS Fingerprinting
47. Radivilova, T., Kirichenko, L., Ageyev, D., Tawalbeh, M., and Bulakh, V. (2018, January 12). Decrypting SSL/TLS traffic for hidden threats detection. Proceedings of the 2018 IEEE 9th International Conference on Dependable Systems, Services and Technologies (DESSERT), Kiev, Ukraine.10.1109/DESSERT.2018.8409116 ↗
48. Lessons Learned From Previous SSL/TLS Attacks—A Brief Chronology Of Attacks And Weaknesses
49. Analysis of ResNet and GoogleNet models for malware detection10.1007/s11416-018-0324-z ↗
50. Khan, R.U., Zhang, X., Kumar, R., and Aboagye, E.O. (2018, January 12–14). Evaluating the Performance of ResNet Model Based on Image Recognition. Proceedings of the 2018 International Conference on Computing and Artificial Intelligence (ICCAI 2018), Chengdu, China.10.1145/3194452.3194461 ↗
51. Kumar, R., Zhang, X., Khan, R.U., Ahad, I., and Kumar, J. (2018, January 12–14). Malicious Code Detection Based on Image Processing Using Deep Learning. Proceedings of the 2018 International Conference on Computing and Artificial Intelligence (ICCAI 2018), Chengdu, China.10.1145/3194452.3194459 ↗
52. Kumar, R., Zhang, X., Khan, R., Sharif, A., Kumar, R., Zhang, X., Khan, R.U., and Sharif, A. (2019). Research on Data Mining of Permission-Induced Risk for Android IoT Devices. Appl. Sci., 9.10.3390/app9020277 ↗
53. Liao, W.H., and Chang, C.C. (2010, January 20–22). Peer to peer botnet detection using data mining scheme. Proceedings of the 2010 International Conference on Internet Technology and Applications, Wuhan, China.10.1109/ITAPP.2010.5566407 ↗
54. Fedynyshyn, G., Chuah, M.C., and Tan, G. (2011). Detection and classification of different botnet C&C channels. International Conference on Autonomic and Trusted Computing, Springer.10.1007/978-3-642-23496-5_17 ↗
55. Dainotti, A., Pescape, A., and Ventre, G. (2007, January 24–28). Worm Traffic Analysis and Characterization. Proceedings of the 2007 IEEE International Conference on Communications, Glasgow, UK.10.1109/ICC.2007.241 ↗