Abstract
Domain name system (DNS) is the key infrastructure of the Internet, yet has been deliberately abused by cyber attackers. Previous works detect malicious domain mainly based on the statistical features or the association features, which ignore the serialization impact and pay little attention to the imbalanced data problem. To address these problems, we propose a deep reinforcement learning based malicious domain detection model. We consider the malicious domain detection as a sequential decision process and employ Double Deep Q Network (DDQN) to address it. Furthermore, we devise a specific reward function to adapt to the imbalanced classification task. The specific reward function will guide the agent to learn the optimal classification policy. Extensive experiments are carried out on the real-world dataset, and experimental results demonstrate the effectiveness of our proposed method in detecting malicious domain in imbalanced DNS traffic.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Antonakakis, M., Perdisci, R., Dagon, D., Lee, W., Feamster, N.: Building a dynamic reputation system for dns. In: USENIX Security Symposium, pp. 273–290 (2010)
Bilge, L., Kirda, E., Kruegel, C., Balduzzi, M.: Exposure: finding malicious domains using passive dns analysis. In: Ndss, pp. 1–17 (2011)
Antonakakis, M., Perdisci, R., Lee, W., Vasiloglou, N., Dagon, D.: Detecting malware domains at the upper dns hierarchy. In: USENIX Security Symposium, vol. 11, pp. 1–16 (2011)
Schüppen, S., Teubert, D., Herrmann, P., Meyer, U.: Feature-based automated nxdomain classification and intelligence (2018)
Manadhata, P.K., Yadav, S., Rao, P., Horne, W.: Detecting malicious domains via graph inference. In: Kutyłowski, M., Vaidya, J. (eds.) ESORICS 2014. LNCS, vol. 8712, pp. 1–18. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11203-9_1
Khalil, I., Yu, T., Guan, B.: Discovering malicious domains through passive dns data graph analysis. In: Proceedings of the 11th ACM on Asia Conference on Computer and Communications Security, pp. 663–674 (2016)
Sun, X., Tong, M., Yang, J., Xinran, L., Heng, L.: Hindom: A robust malicious domain detection system based on heterogeneous information network with transductive classification. In: RAID, pp. 399–412 (2019)
Wang, S., Liu, W., Wu, J., Cao, L., Meng, Q., Kennedy, P.J.: Training deep neural networks on imbalanced data sets. In: 2016 International Joint Conference on Neural Networks (IJCNN), pp. 4368–4374. IEEE (2016)
Khan, S.H., Hayat, M., Bennamoun, M., Sohel, F.A., Togneri, R.: Cost-sensitive learning of deep feature representations from imbalanced data. IEEE Trans. Neural Netw. Learn. Syst. 29(8), 3573–3587 (2017)
Alexa top 1 million. https://aws.amazon.com/cn/alexa-top-sites/
Malware domain block list. http://www.malwaredomains.com
Phishtank. http://www.phishtank.com
Scikit-learn. https://scikit-learn.org/
Johnson, J.M., Khoshgoftaar, T.M.: Survey on deep learning with class imbalance. J. Big Data 6(1), 1–54 (2019). https://doi.org/10.1186/s40537-019-0192-5
Liu, Z., Zeng, Y., Zhang, P., Xue, J., Zhang, J., Liu, J.: An imbalanced malicious domains detection method based on passive dns traffic analysis. Security and Communication Networks (2018)
Acknowledgement
This work was partly supported by the National Key Research and Development Program Grant No. 2017YFC0820700, Strategic Priority Research Program of the Chinese Academy of Sciences under Grant No.XDC02030000.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Yuan, F., Tian, T., Shang, Y., Lu, Y., Liu, Y., Tan, J. (2021). Malicious Domain Detection on Imbalanced Data with Deep Reinforcement Learning. In: Mantoro, T., Lee, M., Ayu, M.A., Wong, K.W., Hidayanto, A.N. (eds) Neural Information Processing. ICONIP 2021. Lecture Notes in Computer Science(), vol 13111. Springer, Cham. https://doi.org/10.1007/978-3-030-92273-3_38
Download citation
DOI: https://doi.org/10.1007/978-3-030-92273-3_38
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-92272-6
Online ISBN: 978-3-030-92273-3
eBook Packages: Computer ScienceComputer Science (R0)