XAI for Improving the Security of ML-based Spoofing Email Detectors
Article content
Abstract
Email is an essential part of our daily communication as it is one of the primary communication methods.
Cyber-attacks against email systems and their users have been increasing over the years for different reasons.
For example, Phishing is among the most common attacks that target email users with the intention to induce them
to disclose personal information. Typically, attackers use email spoofing attacks as the initial step in launching
a phishing attack. Most existing studies focus on phishing attacks, overlooking email spoofing attacks. Several
mitigation methods have been proposed to defend against email system-related attacks using Artificial Intelligence
(AI) and Machine Learning (ML) models. However, the literature has shown that these automated models are
vulnerable to adversarial examples that can cause them to produce inaccurate predictions. The objective of this
study is to identify evolving trends in email spoofing mitigation methods that uses ML and to highlight limitations
and gaps. The review distinguishes itself by carefully reviewing the latest articles published between 2020 and
2024, stating their pros and cons. The results indicate a lack of studies focusing on email spoofing attacks, which
is a crucial step in phishing attacks. Additionally, it reveals that most existing studies fail to consider the design
of adversary-aware ML-based detectors for spoofed emails. Thus, an adversary-aware framework for detecting
spoofed emails was proposed, and multiple experiments were performed to simulate possible adversarial attackst
Keywords
Email spoofing, Label Flipping Attack, XAI, Adversarial examples, mac hine learning, explainable artificial intelligence (XAI)
Downloads
References
Fernandez, M. Korczynski, and A. Duda, “Early detection of spam´ domains with passive dns and spf,” in International Conference on Passive and Active Network Measurement. Springer, 2022, pp. 30–49.
B. E. Nagarjuna, “Artificial intelligence for efficient spam and phishing email classification,” ARTIFICIAL INTELLIGENCE, vol. 13, no. 3, 2023.
G. Giorgi, A. Saracino, and F. Martinelli, “End to end autorship email verification framework for a secure communication,” in International Conference on Information Systems Security and Privacy. Springer, 2020, pp. 73–96.
S. Shukla, M. Misra, and G. Varshney, “Forensic analysis and detection of spoofing based email attack using memory forensics and machine learning,” in International Conference on Security and Privacy in Communication Systems. Springer, 2022, pp. 491–509.
P. N. Wosah, “A framework for securing email entrances and mitigating phishing impersonation attacks,” arXiv preprint arXiv:2312.04100, 2023.
G. Kamal and M. Manna, “Detection of phishing websites using na¨ıve bayes algorithms,” International Journal of Recent Research and Review, vol. 11, no. 4, pp. 34–38, 2018.
A. Al-Sinayyid, M. J. A. Jewel, V. Mannuru, and K. Sasidhar, “Defending characteristics and attribution analysis for phishing attacks,” in 2023 International Conference on Computational Science and Computational Intelligence (CSCI). IEEE, 2023, pp. 868–874.
Y. T. Goh, “Phishing email detection using machine learning,” 2021.
C. S. Jalda, A. K. Nanda, and R. Pitchai, “Spoofing e-mail detection using stacking algorithm,” in 2022 8th International Conference on Smart Structures and Systems (ICSSS). IEEE, 2022, pp. 01–04.
K. Evans, A. Abuadbba, T. Wu, K. Moore, M. Ahmed, G. Pogrebna, S. Nepal, and M. Johnstone, “Raider: Reinforcement-aided spear phishing detector,” in International Conference on Network and System Security. Springer, 2022, pp. 23–50.
M. F. Ansari, A. Panigrahi, G. Jakka, A. Pati, and K. Bhattacharya, “Prevention of phishing attacks using ai algorithm,” in 2022 2nd Odisha International Conference on Electrical Power Engineering, Communication and Computing Technology (ODICON). IEEE, 2022, pp. 1–5.
H. Gascon, S. Ullrich, B. Stritter, and K. Rieck, “Reading between the lines: content-agnostic detection of spear-phishing emails,” in Research in Attacks, Intrusions, and Defenses: 21st International Symposium, RAID 2018, Heraklion, Crete, Greece, September 10-12, 2018, Proceedings 21. Springer, 2018, pp. 69–91.
T. Krause, R. Uetz, and T. Kretschmann, “Recognizing email spam from meta data only,” in 2019 IEEE Conference on Communications and Network Security (CNS). IEEE, 2019, pp. 178–186.
O. Odunibosi, “Classification of email headers using random forest algorithm to detect email spoofing,” Ph.D. dissertation, Dublin, National College of Ireland, 2019.
P. Boyle and L. A. Shepherd, “Mailtrout: a machine learning browser extension for detecting phishing emails,” in 34th British HCI Conference. BCS Learning & Development, 2021, pp. 104–115.
S. Heena et al., “Online correspondence hard sell ranking using expert system and development of’thinking’computer systems,” Mathematical Statistician and Engineering Applications, vol. 68, no. 1, pp. 129–140, 2019.
Y. Fang, Y. Yang, and C. Huang, “Emaildetective: An email authorship identification and verification model,” The Computer Journal, vol. 63, no. 11, pp. 1775–1787, 2020.
P. Wu and H. Guo, “Holmes: An efficient and lightweight semantic based anomalous email detector,” in 2022 IEEE International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom). IEEE, 2022, pp. 1360–1367.
A. Dalton, E. Aghaei, E. Al-Shaer, A. Bhatia, E. Castillo, Z. Cheng, S. Dhaduvai, Q. Duan, M. M. Islam, Y. Karimi et al., “The panacea threat intelligence and active defense platform,” arXiv preprint arXiv:2004.09662, 2020.
B. Biggio and F. Roli, “Wild patterns: Ten years after the rise of adversarial machine learning,” vol. 84. Elsevier, 2018, pp. 317–331.
N. Dalvi, P. Domingos, Mausam, S. Sanghai, and D. Verma, “Adversarial classification,” in Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, ser. KDD ’04. New York, NY, USA: ACM, 2004, pp. 99–108.
B. Biggio, G. Fumera, and F. Roli, “Security Evaluation of PatternClassifiers under Attack,” Knowledge and Data Engineering, , vol. 26, no. 4, pp. 984–996, 2014.
N. Imam, “Adversary-aware, machine learning-based detection of spam in twitter hashtags,” Ph.D. dissertation, University of York, 2021.
T. S. Sethi and M. Kantardzic, “Handling adversarial concept drift in streaming data,” Expert Syst. Appl., vol. 97, pp. 18–40, 2018.
B. Biswas, A. Mukhopadhyay, A. Kumar, and D. Delen, “A hybrid framework using explainable ai (xai) in cyber-risk management for defence and recovery against phishing attacks,” Decision Support Systems, vol. 177, p. 114102, 2024.
S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” Advances in neural information processing systems, vol. 30, 2017.
M. T. Ribeiro, S. Singh, and C. Guestrin, “” why should i trust you?” explaining the predictions of any classifier,” in Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, 2016, pp. 1135–1144.
A. Fan, Y. Jernite, E. Perez, D. Grangier, J. Weston, and M. Auli, “ELI5: Long form question answering,” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, A. Korhonen, D. Traum, and L. Marquez, Eds.` Florence, Italy: Association for Computational Linguistics, Jul. 2019, pp. 3558–3567. [Online]. Available: https://aclanthology.org/P19-1346
N. H. Imam, “Adversarial examples on xai-enabled dt for smart healthcare systems,” Sensors, vol. 24, no. 21, p. 6891, 2024.
S. Arya and S. Chamotra, “Multi layer detection framework for spearphishing attacks,” in Information Systems Security: 17th International Conference, ICISS 2021, Patna, India, December 16–20, 2021, Proceedings 17. Springer, 2021, pp. 38–56.
B. Kitchenham, O. P. Brereton, D. Budgen, M. Turner, J. Bailey, and S. Linkman, “Systematic literature reviews in software engineering– a systematic literature review,” Information and software technology, vol. 51, no. 1, pp. 7–15, 2009.
A. Safi and S. Singh, “A systematic literature review on phishing website detection techniques,” Journal of King Saud University-Computer and Information Sciences, vol. 35, no. 2, pp. 590–611, 2023.
B. Naqvi, K. Perova, A. Farooq, I. Makhdoom, S. Oyedeji, and J. Porras, “Mitigation strategies against the phishing attacks: A systematic literature review,” Computers & Security, p. 103387, 2023.
B. R. Barricelli, E. Casiraghi, and D. Fogli, “A survey on digital twin: Definitions, characteristics, applications, and design implications,” IEEE access, vol. 7, pp. 167653–167671, 2019.
F. Huseynov and B. Ozdenizci Kose, “Using machine learning algorithms to predict individuals’ tendency to be victim of social engineering attacks,” Information Development, vol. 40, no. 2, pp. 298–318, 2024.
N. Chanthati, “How the power of machine–machine learning, data science and nlp can be used to prevent spoofing and reduce financial risks,” Global Journal of Engineering and Technology Advances, vol. 20, no. 2, pp. 100–119, 2024.
A. I. Champa, M. F. Rabbi, and M. F. Zibran, “Curated datasets and feature analysis for phishing email detection with machine learning,” in 2024 IEEE 3rd International Conference on Computing and Machine Intelligence (ICMI). IEEE, 2024, pp. 1–7.
N. Alshahrani, S. Alshahrani, E. Wali, and J. Matthews, “Arabic synonym BERT-based adversarial examples for text classification,” in Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: Student Research Workshop, N. Falk, S. Papi, and M. Zhang, Eds. St. Julian’s, Malta: Association for Computational Linguistics, Mar. 2024, pp. 137–147. [Online].Available: https://aclanthology.org/2024.eacl-srw.10/
T. S. Sethi and M. Kantardzic, “Handling adversarial concept drift in streaming data,” Expert systems with applications, vol. 97, pp. 18–40, 2018.
D. M. Powers, “Evaluation: from precision, recall and f-measure to roc, informedness, markedness and correlation,” arXiv preprint arXiv:2010.16061, 2020.
G. Lin, N. Sun, S. Nepal, J. Zhang, Y. Xiang, and H. Hassan, “Statistical twitter spam detection demystified: performance, stability and scalability,” IEEE access, vol. 5, pp. 11142–11154, 2017.
N. H. Imam and V. G. Vassilakis, “A survey of attacks against twitter spam detectors in an adversarial environment,” Robotics, vol. 8, no. 3, p. 50, 2019.
E. Nowroozi, N. Jadalla, S. Ghelichkhani, and A. Jolfaei, “Mitigating label flipping attacks in malicious url detectors using ensemble trees,” IEEE Transactions on Network and Service Management, 2024.
K. Sauka, G.-Y. Shin, D.-W. Kim, and M.-M. Han, “Adversarial robust and explainable network intrusion detection systems based on deep learning,” Applied Sciences, vol. 12, no. 13, p. 6451, 2022.
J. Li, “Area under the roc curve has the most consistent evaluation for binary classification,” PloS one, vol. 19, no. 10, p. e0307998, 2024.
M. Barreno, B. Nelson, A. D. Joseph, and J. D. Tygar, “The security of machine learning,” Mach. Learn., vol. 81, no. 2, pp. 121–148, 2010.
M. Barreno, B. Nelson, R. Sears, A. D. Joseph, and J. D. Tygar, “Can machine learning be secure?” in Proceedings of the 2006 ACM Symposium on Information, Computer and Communications Security, ser. ASIACCS ’06. New York, NY, USA: ACM, 2006, pp. 16–25.
M. Barreno, B. Nelson, A. D. Joseph, and J. D. Tygar, “The security of machine learning,” Machine learning, vol. 81, pp. 121–148, 2010.
E. Rosenfeld, E. Winston, P. Ravikumar, and Z. Kolter, “Certified robustness to label-flipping attacks via randomized smoothing,” in International Conference on Machine Learning. PMLR, 2020, pp. 8230–8241.
B. Biggio, B. Nelson, and P. Laskov, “Support vector machines under adversarial label noise,” in Asian conference on machine learning, 2011, pp. 97–112.
L. Lavaur, Y. Busnel, and F. Autrel, “Systematic analysis of labelflipping attacks against federated learning in collaborative intrusion detection systems,” in Proceedings of the 19th International Conference on Availability, Reliability and Security, 2024, pp. 1–12.
G. F. Cretu, A. Stavrou, M. E. Locasto, S. J. Stolfo, and A. D. Keromytis, “Casting out demons: Sanitizing training data for anomaly sensors,” in 2008 IEEE Symposium on Security and Privacy (sp 2008). IEEE, 2008, pp. 81–95.
J. Steinhardt, P. W. W. Koh, and P. S. Liang, “Certified defenses for data poisoning attacks,” Advances in neural information processing systems, vol. 30, 2017.
J. Lee, Y. Cho, R. Lee, S. Yuk, J. Youn, H. Park, and D. Shin, “A novel data sanitization method based on dynamic dataset partition and inspection against data poisoning attacks,” Electronics, vol. 14, no. 2, p. 374, 2025.
K. N. Pellano, I. Strumke, and E. A. F. Ihlen, “From movements to¨ metrics: Evaluating explainable ai methods in skeleton-based human activity recognition,” Sensors, vol. 24, no. 6, p. 1940, 2024.
D. Alvarez-Melis and T. S. Jaakkola, “Towards robust interpretability with self-explaining neural networks,” in Advances in Neural Information Processing Systems, 2018, pp. 7786–7795.
Article details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
You must read and accept the copyright terms and conditions(click here for copyright terms).