English

Filter-then-Verify: A Multiphase GNN and ModernBERT Framework for Social Engineering Detection in Email Networks

Cryptography and Security 2026-05-19 v1 Machine Learning

Abstract

Social engineering attacks exploit human trust rather than software vulnerabilities, making them difficult to detect using conventional filters. We propose a two-stage filter-then-verify framework combining inductive Graph Neural Networks (GNNs) for structural anomaly detection with a co-attention ModernBERT model for content verification. The GNN identifies anomalous sender-receiver patterns, while BERT analyzes message context to reduce false positives. Using the Enron dataset augmented with realistic synthetic campaigns, we show that the framework achieves 86% recall in structural filtering and over 92% precision after BERT refinement, effectively detecting both external attacks and insider threats. Our results demonstrate that combining structural and content analysis allows practical, scalable detection of multi-stage social engineering attacks in email networks.

Keywords

Cite

@article{arxiv.2605.17201,
  title  = {Filter-then-Verify: A Multiphase GNN and ModernBERT Framework for Social Engineering Detection in Email Networks},
  author = {Barsat Khadka and Prasant Koirala and Kshitiz Neupane and Nick Rahimi},
  journal= {arXiv preprint arXiv:2605.17201},
  year   = {2026}
}

Comments

Under review at Elseiver's Computer and security journal

R2 v1 2026-07-22T07:16:58.177Z