Phishing Email Detection under Domain Shift: Lessons from Public Corpora
Keywords:
phishing email detection; domain shift; public corpora; distributionally robust optimization; probability calibration; evaluation methodologyAbstract
Phishing email detectors are often trained and compared on public corpora under random message-level splits, yet deployment occurs under shifted populations: lures change, sender and campaign mixtures differ, ham is drawn from other organizations, label policies vary, and prevalence moves. This manuscript develops a shift-aware methodological framework for interpreting and evaluating phishing email detection on public corpora. The framework treats a corpus as a provenance-bound sample of a source distribution, separates temporal and adversarial drift, corpus-composition and label shift, and representation or channel shift, and connects these mechanisms to detectors that use lexical, header, URL, and structural cues. It then specifies a coherent analytical pipeline: importance-weighted empirical risk under support overlap, distributionally robust risk over a divergence ball for unlabeled target conditions, calibration assessment, and cost-sensitive thresholding. Evaluation is organized around campaign- or sender-grouped temporal holdouts rather than random message splits, with explicit reporting of calibration and cost curves. The central lesson is that public-corpus performance is not a property of an algorithm alone; it is a property of the algorithm-corpus split pair. Consequently, benchmark papers and operational systems should document provenance, prevent near-duplicate leakage, select models on grouped validation data, and monitor shifts in calibration and decision costs. The argument provides a technically grounded basis for comparing phishing detectors without treating public-corpus scores as deployment estimates.
References
1. Fette, I., Sadeh, N., & Tomasic, A. (2007). Learning to detect phishing emails. In Proceedings of the 16th International Conference on World Wide Web (pp. 649–656). ACM.
2. Bergholz, A., De Beer, J., Glässer, S., Moens, M.-F., Paaß, G., & Strobel, S. (2010). New filtering approaches for phishing email. Journal of Computer Security, 18(1), 7–35.
3. Quiñonero-Candela, J., Sugiyama, M., Schwaighofer, A., & Lawrence, N. D. (2009). Dataset shift in machine learning. MIT Press.
4. Sugiyama, M., Krauledat, M., & Müller, K.-R. (2007). Covariate shift adaptation by importance weighted cross validation. Journal of Machine Learning Research, 8, 985–1005.
5. Moore, T., & Clayton, R. (2007). Examining the impact of website take-down on phishing. In Proceedings of the Anti-Phishing Working Group eCrime Researchers Summit (pp. 1–13). ACM.
6. Abu-Nimeh, S., Nappa, D., Wang, X., & Nair, S. (2007). A comparison of machine learning techniques for phishing detection. In Proceedings of the Anti-Phishing Working Group eCrime Researchers Summit (pp. 60–69). ACM.
7. Dhamija, R., Tygar, J. D., & Hearst, M. (2006). Why phishing works. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 581–590). ACM.
8. Xiang, G., Hong, J., Rose, C. P., & Cranor, L. (2011). Cantina+: A feature-rich machine learning framework for detecting phishing web sites. ACM Transactions on Information and System Security, 14(2), Article 21.
9. Whittaker, C., Ryner, B., & Nazif, M. (2010). Large-scale automatic classification of phishing pages. In Proceedings of the Network and Distributed System Security Symposium. Internet Society.
10. Ma, J., Saul, L. K., Savage, S., & Voelker, G. M. (2009). Beyond blacklists: Learning to detect malicious web sites from suspicious URLs. In Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1245–1254). ACM.
11. Sheng, S., Holbrook, M., Kumaraguru, P., Cranor, L. F., & Downs, J. (2010). Who falls for phish? A demographic analysis of phishing susceptibility and effectiveness of interventions. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 373–382). ACM.
12. Gama, J., Žliobaitė, I., Bifet, A., Pechenizkiy, M., & Bouchachia, A. (2014). A survey on concept drift adaptation. ACM Computing Surveys, 46(4), Article 44.
13. Moreno-Torres, J. G., Raeder, T., Alaiz-Rodríguez, R., Chawla, N. V., & Herrera, F. (2012). A unifying view on dataset shift in classification. Pattern Recognition, 45(1), 521–530.
14. Ben-David, S., Blitzer, J., Crammer, K., Kulesza, A., Pereira, F., & Vaughan, J. W. (2010). A theory of learning from different domains. Machine Learning, 79(1–2), 151–175.
15. Lipton, Z. C., Wang, Y.-X., & Smola, A. J. (2018). Detecting and correcting for label shift with black box predictors. In Proceedings of the 35th International Conference on Machine Learning (pp. 3122–3130). PMLR.
16. Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural networks. In Proceedings of the 34th International Conference on Machine Learning (pp. 1321–1330). PMLR.
17. Ovadia, Y., Fertig, E., Ren, J., Nado, Z., Sculley, D., Nowozin, S., Dillon, J. V., Lakshminarayanan, B., & Snoek, J. (2019). Can you trust your model's uncertainty? Evaluating predictive uncertainty under dataset shift. In Advances in Neural Information Processing Systems 32 (pp. 13991–14002). Curran Associates.
18. Hong, J. (2012). The state of phishing attacks. Communications of the ACM, 55(1), 74–81.
19. Chiew, K. L., Yong, K. S. C., & Tan, C. L. (2018). A survey of phishing attacks: Their types, vectors and technical approaches. Expert Systems with Applications, 106, 1–20.
20. Almomani, A., Gupta, B. B., Atawneh, S., Meulenberg, A., & Almomani, E. (2013). A survey of phishing email filtering techniques. IEEE Communications Surveys & Tutorials, 15(4), 2070–2090.
Downloads
Published
Issue
Section
License
Copyright (c) 2023 Artificial Intelligence and Machine Learning Systems

This work is licensed under a Creative Commons Attribution 4.0 International License.