A Phishing Detection Model Based on Hybrid Natural Language Processing and Graph-Based Learning for Digital Threat Identification
Abstract
Phishing remains one of the most damaging digital threats in Indonesia, yet most detectors rely on a single source of evidence that attackers can easily disguise. This study proposes a hybrid model that combines natural language processing of message text (TF-IDF with logistic regression), graph-based learning on a heterogeneous message–sender–URL-domain graph (label propagation, neighbour label ratios, and graph-aggregated text evidence), and eleven URL and behavioural attributes, fused by XGBoost trained with modality-dropout augmentation (MD-Hybrid). A stratified sample of 7,604 Indonesian-language messages (3,802 phishing, 3,802 legitimate) was split 80:20 and validated with 5-fold cross validation under a realistic adversarial protocol in which the domain reputation score is unavailable and 30% of phishing messages disguise one to three evidence channels. Without camouflage, all models were near-perfect (accuracy 0.998 to 1.000), so clean accuracy could not discriminate between them. Under the adversarial protocol, the NLP, URL, graph, and early-fusion models reached accuracies of 0.896 to 0.901, F1-scores of 0.884 to 0.890, and MCC values of 0.810 to 0.818, whereas MD-Hybrid reached an accuracy of 0.950, an F1-score of 0.947, and an MCC of 0.904 without false positives; its remaining errors were messages whose three channels were all disguised. Modality-dropout fusion prevents shortcut learning and keeps detection reliable while at least one evidence channel remains genuine; validation on additional Indonesian phishing sources is recommended before deployment.
Downloads
References
Investortrust, “OJK terima 373.129 laporan penipuan transaksi keuangan, kerugian capai Rp 8,2 triliun,” Investortrust.id, Dec. 12, 2025. [Online]. Available: https://investortrust.id/financial/88312/ojk-terima-373129-laporan-penipuan-transaksi-keuangan-kerugian-capai-rp-8-2-triliun
IndoTelko, “Domain .id alami 26.675 serangan selama kuartal I 2023,” IndoTelko, Apr. 26, 2023. [Online]. Available: https://www.indotelko.com/read/1682466431/domain-id-alami-26675-serangan-selama-kuartal-i-2023
N. Naurah, “Serangan phishing di Indonesia terus meningkat, ini datanya,” GoodStats, May 19, 2023. [Online]. Available: https://goodstats.id/article/serangan-phishing-di-indonesia-terus-meningkat-ini-statistiknya-U8VdY
Anti-Phishing Working Group (APWG), “Phishing activity trends report, 4th quarter 2024,” APWG, 2025. [Online]. Available: https://apwg.org/trendreports
N. Q. Do, A. Selamat, O. Krejcar, E. Herrera-Viedma, and H. Fujita, “Deep learning for phishing detection: Taxonomy, current challenges and future directions,” IEEE Access, vol. 10, pp. 36429–36463, 2022. https://doi.org/10.1109/ACCESS.2022.3151903
W. Li, S. Manickam, Y.-W. Chong, W. Leng, and P. Nanda, “A state-of-the-art review on phishing website detection techniques,” IEEE Access, vol. 12, pp. 187976–188012, 2024. https://doi.org/10.1109/ACCESS.2024.3514972
F. Heiding, B. Schneier, A. Vishwanath, J. Bernstein, and P. S. Park, “Devising and detecting phishing emails using large language models,” IEEE Access, vol. 12, pp. 42131–42146, 2024. https://doi.org/10.1109/ACCESS.2024.3375882
S. Salloum, T. Gaber, S. Vadera, and K. Shaalan, “A systematic literature review on phishing email detection using natural language processing techniques,” IEEE Access, vol. 10, pp. 65703–65727, 2022. https://doi.org/10.1109/ACCESS.2022.3183083
T. Mahmud, M. A. H. Prince, M. H. Ali, M. S. Hossain, and K. Andersson, “Enhancing cybersecurity: Hybrid deep learning approaches to smishing attack detection,” Systems, vol. 12, no. 11, Art. no. 490, 2024. https://doi.org/10.3390/systems12110490
M. B. M. Amin, G. Hakim, M. T. Maulana, M. F. Alwan, H. S. Anggraheni, M. J. Naufal, and N. Yudistira, “Deteksi spam berbahasa Indonesia berbasis teks menggunakan model BERT,” Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), vol. 11, no. 6, pp. 1291–1302, 2024. https://doi.org/10.25126/jtiik.2024118121
J. Jessika, A. Khaidar, N. Nurdin, and S. Muliana, “Sentiment analysis of Instagram comments on the BPS Province X account using the naive Bayes algorithm based on machine learning,” Journal of Artificial Intelligence and Software Engineering, vol. 5, no. 3, pp. 1231–1237, 2025.
A. Khaidar, “Analisis sentimen di Instagram terhadap Menteri Keuangan Purbaya Yudhi Sadewa menggunakan metode logistic regression,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 13, no. 3S1, 2025.
A. P. Erwanda, A. Khaidar, and Nurdin, “Convolutional neural network model for multi-class sentiment analysis on Twitter with deep learning approach,” Journal of Artificial Intelligence and Engineering Applications (JAIEA), vol. 5, no. 1, pp. 1965–1970, 2025.
A. Prasad and S. Chandra, “PhiUSIIL: A diverse security profile empowered phishing URL detection framework based on similarity index and incremental learning,” Computers & Security, vol. 136, Art. no. 103545, 2024. https://doi.org/10.1016/j.cose.2023.103545
Y. Lin, R. Liu, D. M. Divakaran, J. Y. Ng, Q. Z. Chan, Y. Lu, Y. Si, F. Zhang, and J. S. Dong, “Phishpedia: A hybrid deep learning based approach to visually identify phishing webpages,” in 30th USENIX Security Symposium (USENIX Security 21), 2021, pp. 3793–3810.
R. Liu, Y. Lin, X. Yang, S. H. Ng, D. M. Divakaran, and J. S. Dong, “Inferring phishing intention via webpage appearance and dynamics: A deep vision based approach,” in 31st USENIX Security Symposium (USENIX Security 22), 2022, pp. 1633–1650.
T. Bilot, G. Geis, and B. Hammi, “PhishGNN: A phishing website detection framework using graph neural networks,” in Proceedings of the 19th International Conference on Security and Cryptography (SECRYPT 2022), 2022, pp. 428–435. https://doi.org/10.5220/0011328600003283
S. Ariyadasa, S. Fernando, and S. Fernando, “Combining long-term recurrent convolutional and graph convolutional networks to detect phishing sites using URL and HTML,” IEEE Access, vol. 10, pp. 82355–82375, 2022. https://doi.org/10.1109/ACCESS.2022.3196018
J. Wu, Q. Yuan, D. Lin, W. You, W. Chen, C. Chen, and Z. Zheng, “Who are the phishers? Phishing scam detection on Ethereum via network embedding,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 52, no. 2, pp. 1156–1166, 2022. https://doi.org/10.1109/TSMC.2020.3016821
X. Ma, J. Wu, S. Xue, J. Yang, C. Zhou, Q. Z. Sheng, H. Xiong, and L. Akoglu, “A comprehensive survey on graph anomaly detection with deep learning,” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 12, pp. 12012–12038, 2023. https://doi.org/10.1109/TKDE.2021.3118815
J. Tang, J. Li, Z. Gao, and J. Li, “Rethinking graph neural networks for anomaly detection,” in Proceedings of the 39th International Conference on Machine Learning (ICML), PMLR vol. 162, 2022, pp. 21076–21089.
M. Ma, J. Ren, L. Zhao, D. Testuggine, and X. Peng, “Are multimodal transformers robust to missing modality?,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 18177–18186.
P. Xu, X. Zhu, and D. A. Clifton, “Multimodal learning with transformers: A survey,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 10, pp. 12113–12132, 2023. https://doi.org/10.1109/TPAMI.2023.3275156
S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no. 9, Art. no. 100804, 2023. https://doi.org/10.1016/j.patter.2023.100804
G. James, D. Witten, T. Hastie, R. Tibshirani, and J. Taylor, An Introduction to Statistical Learning: With Applications in Python. Cham, Switzerland: Springer, 2023. https://doi.org/10.1007/978-3-031-38747-0
L. Grinsztajn, E. Oyallon, and G. Varoquaux, “Why do tree-based models still outperform deep learning on typical tabular data?,” in Advances in Neural Information Processing Systems 35 (NeurIPS 2022), Datasets and Benchmarks Track, 2022, pp. 507–520.
R. Shwartz-Ziv and A. Armon, “Tabular data: Deep learning is not all you need,” Information Fusion, vol. 81, pp. 84–90, 2022. https://doi.org/10.1016/j.inffus.2021.11.011
A. Khaidar, N. Nurdin, F. Fajriana, T. Taufiq, and D. Hamdhana, “Classification analysis of single tuition fees using the random forest method with k-fold cross validation,” Journal of Applied Informatics and Computing, vol. 10, no. 1, pp. 125–133, 2026.
Al-Khaidar, Explainable Artificial Intelligence (XAI): Teori, Metode, dan Implementasi. CV. Madza Media, 2026.
A. Khaidar and S. Kurnia, “Classification of health indicators for diabetes mellitus prediction using a TabTransformer model on clinical tabular data,” Journal of Computer Science and Research (JoCoSiR), vol. 2, no. 2, pp. 8–15, 2024.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel A Phishing Detection Model Based on Hybrid Natural Language Processing and Graph-Based Learning for Digital Threat Identification
Pages: 180-189
Copyright (c) 2026 Hermansyah Hermansyah, Al–Khaidar Al–Khaidar, Husni Husni

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).






















