Skip to main content

A Comparative Study of Neural Networks Algorithms in Cyber-Security to Detect Domain Generation Algorithms Based on Mixed Classes of Data

  • Conference paper
  • First Online:
International Conference on Advanced Intelligent Systems for Sustainable Development (AI2SD 2022)

Abstract

Domain Generation Algorithms (DGAs) are often used to generate huge amounts of domain names to maintain command and control (C2) between the infected computer and the master bot. Blacklist approaches become ineffective way to detect DGA as the number of domain names to block are large and vary over time. Since DGAs are unexpectedly distributed, conventional approaches have trouble detecting DGAs. Several deep learning architectures that accept a series of characters as a raw input signal and automatically classify them have recently been suggested. This paper compares three neural network algorithms in cyber security systems to detect domain generation algorithm, in particular, long-short-term memory (LSTM), convolution neural network (CNN) and bidirectional long-short-term memory (biLSTM). We examine in detail these three neural network algorithms for detecting DGAs based on mixed classes of DGA data containing more than 30 classes of DGAs, and we discuss the drawbacks and strengths of each method.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Woodbridge, J., Anderson, H.S., Ahuja, A., Grant, D.: Predicting domain generation algorithms with long short-term memory networks (2016). https://arxiv.org/abs/1611.00791

  2. Saxe, J., Berlin, K.: eXpose: a character-level convolutional neural network with embeddings for detecting malicious URLs, file paths and registry keys (2017). https://doi.org/10.48550/arXiv.1702.08568

  3. Yu, B., Gray, D.L., Pan, J., De Cock, M., Nascimento, A.C.: Inline DGA detection with deep networks. In: 2017 IEEE International Conference on Data Mining Workshops (ICDMW), pp. 683–692. IEEE, November 2017

    Google Scholar 

  4. Thakur, K., Alqahtani, H., Kumar, G.: An intelligent algorithmically generated domain detection system. Comput. Electr. Eng. 92, 107129 (2021)

    Article  Google Scholar 

  5. Highnam, K., Puzio, D., Luo, S., Jennings, N.R.: Real-time detection of dictionary DGA network traffic using deep learning. SN Comput. Sci. 2(2), 1–17 (2021)

    Article  Google Scholar 

  6. Dhingra, B., Zhou, Z., Fitzpatrick, D., Muehl, M., Cohen, W.W.: Tweet2vec: character-based distributed representations for social media. In: Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, vol. 2, pp. 269–274 (2016)

    Google Scholar 

  7. Vosoughi, S., Vijayaraghavan, P., Roy, D.: Tweet2vec: learning tweet embeddings using character-level CNN-LSTM encoder-decoder. In Proceedings of the 39th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 1041–1044, July 2016

    Google Scholar 

  8. Lavanya, P.M., Sasikala, E.: Deep learning techniques on text classification using Natural language processing (NLP) in social healthcare network: a comprehensive survey. In: 2021 3rd International Conference on Signal Processing and Communication (ICPSC), pp. 603–609. IEEE, May 2021

    Google Scholar 

  9. Zhang, X., Zhao, J., LeCun, Y.: Character-level convolutional networks for text classification. In: Advances in Neural Information Processing Systems, vol. 28, pp. 649–657 (2015)

    Google Scholar 

  10. Kowsari, K., Jafari Meimandi, K., Heidarysafa, M., Mendu, S., Barnes, L., Brown, D.: Text classification algorithms: a survey. Information 10(4), 150 (2019)

    Article  Google Scholar 

  11. Akhter, M.P., Jiangbin, Z., Naqvi, I.R., Abdelmajeed, M., Fayyaz, M.: Exploring deep learning approaches for Urdu text classification in product manufacturing. Enterp. Inf. Syst. 16(2), 223–248 (2022)

    Article  Google Scholar 

  12. Aviv, A.J., Haeberlen, A.: Challenges in experimenting with botnet detection systems. In: 4th Workshop on Cyber Security Experimentation and Test (CSET 2011), p. 6 (2011)

    Google Scholar 

  13. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  14. McKinney, P.: A foundational Python library for data analysis and statistics, Python high perform. Sci. Comput. (14), 1–9 (2011)

    Google Scholar 

  15. Gulli, A., Pal, S.:Deep Learning with Keras. Packt Publishing Ltd., Birmingham (2017)

    Google Scholar 

  16. Varoquaux, G., Buitinck, L., Louppe, G., Grisel, O., Pedregosa, F., Mueller, A.: Scikit-learn: machine learning without learning the machinery. GetMobile: Mob. Comput. Commun. 19(1), 29–33 (2015)

    Google Scholar 

  17. Drabas, T., Lee, D.: Learning PySpark. Packt Publishing Ltd., Birmingham (2017)

    Google Scholar 

  18. Meng, X., et al.: Mllib: machine learning in apache spark. J. Mach. Learn. Res. 17(1), 1235–1241 (2016)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohamed Hassaoui .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hassaoui, M., Hanini, M., El Kafhali, S. (2023). A Comparative Study of Neural Networks Algorithms in Cyber-Security to Detect Domain Generation Algorithms Based on Mixed Classes of Data. In: Kacprzyk, J., Ezziyyani, M., Balas, V.E. (eds) International Conference on Advanced Intelligent Systems for Sustainable Development. AI2SD 2022. Lecture Notes in Networks and Systems, vol 712. Springer, Cham. https://doi.org/10.1007/978-3-031-35251-5_23

Download citation

Publish with us

Policies and ethics