A Multi-Dimension EML Feature Framework and Multi-Model-Based Email Anomaly Detection System
Detecting business email compromise (BEC), account takeover (ATO), and insider threats that use legitimate accounts and business language requires analyzing the sender’s role and prior conversations alongside a message’s technical attributes. However, because data combining corporate email with human resources information is subject to restrictions regarding access to personal and proprietary business information, it is difficult to study organizational roles and communication relationships simultaneously. We propose a multi-dimensional UBA feature framework that integrates raw EML files, MTA logs, and role and authority information from ERP, together with a synthetic email corpus of a fictional company, NexaSoft. Based on an organization of 126 employees and 117 normal business scenarios, we define 23 feature-based and 11 contextual anomaly types and build a dataset of 124,355 emails (76,850 normal, 47,505 anomalous), organized into feature-based and context-based datasets. Linking each message to organizational roles and reply relationships allows normal work and anomalous requests to be represented in the same organizational and conversational environment. The detection method comprises a rule layer for explicit security conditions, an XGBoost layer for structural and statistical anomalies, and a multi-view layer for context-dependent anomalies, in which models M1–M4 analyze message semantics, behavior and time, organizational role and policy, and past conversation. On their assigned classes, M1, M2, and M3 achieve Macro-F1 of 0.9863, 0.9752, and 0.9110 under scenario-separated evaluation, and M4 achieves a mean Macro-F1 of 0.9213 over three seeds. Removing prior conversation lowers M4’s Macro-F1 by 4.34 pp, confirming its contribution. The dataset and detection framework thus enable the study and evaluation of both technical and context-dependent email anomalies, grounded in organizational roles and conversation flow, in one business environment.
Authors
- Kyeongseok Lee
- Sangryu Park
- Jinhyuk Son
- Gyuhyeon Choi (ORCID: https://orcid.org/0000-0002-3834-5122)
- Jin Jeong
- Jaewan Hong (ORCID: https://orcid.org/0009-0008-7648-0676)
- Homook Cho
Institutions
- Gachon University (KR)
- Korea Advanced Institute of Science and Technology (KR)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-11-12
- DOI
- https://doi.org/10.3390/app162211224
- Primary Topic
- Spam and Phishing Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministry of Science and ICT, South Korea