Enhancing Phishing Website Detection Using Artificial Neural Network with Logic Gate-Based Feature Interaction Modeling
DOI:
https://doi.org/10.70609/g-tech.v10i3.10280Keywords:
Artificial Neural Network, Logic Gate Classification, Pearson Correlation, Phishing Detection, URL AnalysisAbstract
Despite advances in machine learning-based phishing detection, existing Artificial Neural Network (ANN) models operate as black boxes with no interpretable explanation of feature interactions—a critical limitation for security analysts. Furthermore, most approaches deploy large feature sets without investigating whether a minimal subset achieves equivalent performance. This study develops a phishing detection system combining ANN with Logic Gate-Based Feature Interaction Modeling (LGFIM), a novel framework that characterizes ANN decisions through AND, OR, and XOR Boolean operations, addressing both accuracy and interpretability gaps. Using the PhiUSIIL dataset (235,795 instances), Pearson correlation identified URLSimilarityIndex (r=0.8604) and HasSocialNet (r=0.7843) as the two most discriminative features. An ANN (2-64-32-16-1, ReLU, Adam) trained on an 80/20 split achieved 99.63% accuracy, 100% recall, 99.68% F1-score, and 99.91% AUC-ROC with zero false negatives. The LGFIM analysis reveals the classification boundary follows a predominantly AND-type Boolean structure: the AND gate achieves 99.67% accuracy against true labels, while ANN predictions align with AND for 42.48% of samples and XOR for 57.52%, together accounting for 100% of all predictions. This is the first study to comprehensively characterize ANN phishing decisions through logic gate interaction patterns, providing a zero-cost interpretability layer for cybersecurity operations.
References
Aljofey, A., Jiang, Q., Rasool, A., Chen, H., Liu, W., Qu, Q., & Wang, Y. (2022). An effective detection approach for phishing websites using URL and HTML features. Scientific Reports, 12(1). https://doi.org/10.1038/s41598-022-10841-5
Almomani, A., Alauthman, M., Shatnawi, M. T., Alweshah, M., Alrosan, A., Alomoush, W., & Gupta, B. B. (2022). Phishing Website Detection With Semantic Features Based on Machine Learning Classifiers: A Comparative Study. International Journal on Semantic Web and Information Systems, 18(1). https://doi.org/10.4018/IJSWIS.297032
Almujahid, N. F., Haq, M. A., & Alshehri, M. (2024). Comparative evaluation of machine learning algorithms for phishing site detection. PeerJ Computer Science, 10. https://doi.org/10.7717/peerj-cs.2131
APWG, A.-P. W. G. (2024). Phishing Activity Trends Report, 4th Quarter 2023 (Issue 13 February 2024). http://www.apwg.org
Chicco, D., & Jurman, G. (2023). The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification. BioData Mining, 16(1), 4. https://doi.org/10.1186/s13040-023-00322-4
Do, N. Q., Selamat, A., Krejcar, O., Herrera-Viedma, E., & Fujita, H. (2022). Deep Learning for Phishing Detection: Taxonomy, Current Challenges and Future Directions. IEEE Access, 10, 36429–36463. https://doi.org/10.1109/ACCESS.2022.3151903
Do, N. Q., Selamat, A., Lim, K. C., & Krejcar, O. (2022). An Improved Ensemble Deep Learning Model Based on CNN for Malicious Website Detection. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics): Vol. 13343 LNAI (pp. 497–504). https://doi.org/10.1007/978-3-031-08530-7_42
Dubey, S. R., Singh, S. K., & Chaudhuri, B. B. (2022). Activation functions in deep learning: A comprehensive survey and benchmark. Neurocomputing, 503, 92–108. https://doi.org/10.1016/j.neucom.2022.06.111
Hylender, C. David; Langlois, Philippe; Pinto, Alex; Widup, S. (The V. D. T. (2023). 2023 Data Breach Investigations Report. https://verizon.com/dbir
Kapan, S., & Sora Gunal, E. (2023). Improved Phishing Attack Detection with Machine Learning: A Comprehensive Evaluation of Classifiers and Features. Applied Sciences (Switzerland), 13(24). https://doi.org/10.3390/app132413269
Khan, M. S., Nayebpour, M., Li, M.-H., El-Amine, H., Koizumi, N., & Olds, J. L. (2022). Explainable AI: A Neurally-Inspired Decision Stack Framework. Biomimetics, 7(3), 127. https://doi.org/10.3390/biomimetics7030127
Lai, W. L., Goh, V. T., Yap, T. T. V., & Ng, H. (2023). Phishing and Spoofing Websites: Detection and Countermeasures. International Journal on Advanced Science, Engineering and Information Technology, 13(5), 1672–1678. https://doi.org/10.18517/ijaseit.13.5.19037
Mahmud Sujon, K., Binti Hassan, R., Tusnia Towshi, Z., Othman, M. A., Abdus Samad, M., & Choi, K. (2024). When to Use Standardization and Normalization: Empirical Evidence From Machine Learning Models and XAI. IEEE Access, 12, 135300–135314. https://doi.org/10.1109/ACCESS.2024.3462434
Malik, A., Arshid, K., Noonari, N., & Munir, R. (2025). Artificial Intelligence-Driven Cybersecurity Framework Using Machine Learning for Advanced Threat Detection and Prevention. 9523(6), 401–423.
Miseta, T., Fodor, A., & Vathy-Fogarassy, Á. (2024). Surpassing early stopping: A novel correlation-based stopping criterion for neural networks. Neurocomputing, 567, 127028. https://doi.org/10.1016/j.neucom.2023.127028
Moedjahedy, J., Setyanto, A., Alarfaj, F. K., & Alreshoodi, M. (2022). CCrFS: Combine Correlation Features Selection for Detecting Phishing Websites Using Machine Learning. Future Internet, 14(8), 229. https://doi.org/10.3390/fi14080229
Muneer, S., Farooq, U., Athar, A., Ahsan Raza, M., Ghazal, T. M., & Sakib, S. (2024). A Critical Review of Artificial Intelligence Based Approaches in Intrusion Detection: A Comprehensive Analysis. Journal of Engineering, 2024(1). https://doi.org/10.1155/2024/3909173
Prasad, A., & Chandra, S. (2024). Computers & Security PhiUSIIL : A diverse security profile empowered phishing URL detection framework based on similarity index and incremental learning. Computers & Security, 136(June 2023), 103545. https://doi.org/10.1016/j.cose.2023.103545
Rosenberg, G., Brubaker, J. K., Schuetz, M. J. A., Salton, G., Zhu, Z., Zhu, E. Y., Kadıoğlu, S., Borujeni, S. E., & Katzgraber, H. G. (2023). Explainable Artificial Intelligence Using Expressive Boolean Formulas. Machine Learning and Knowledge Extraction, 5(4), 1760–1795. https://doi.org/10.3390/make5040086
Sanchez-Paniagua, M., Fernandez, E. F., Alegre, E., Al-Nabki, W., & Gonzalez-Castro, V. (2022). Phishing URL Detection: A Real-Case Scenario Through Login URLs. IEEE Access, 10, 42949–42960. https://doi.org/10.1109/ACCESS.2022.3168681
Sánchez-Paniagua, M., Fidalgo, E., Alegre, E., & Alaiz-Rodríguez, R. (2022). Phishing websites detection using a novel multipurpose dataset and web technologies features. Expert Systems with Applications, 207. https://doi.org/10.1016/j.eswa.2022.118010
Sangra, E., Agrawal, R., Gundalwar, P. R., Sharma, K., Bangri, D., & Nandi, D. (2024). Malicious Website Detection Using Random Forest and Pearson Correlation for Effective Feature Selection. International Journal of Advanced Computer Science and Applications, 15(8), 772–780. https://doi.org/10.14569/IJACSA.2024.0150876
Sathyanarayanan, S. (2024). Confusion Matrix-Based Performance Evaluation Metrics. African Journal of Biomedical Research, 4023–4031. https://doi.org/10.53555/AJBR.v27i4S.4345
Shatravin, V., Shashev, D., & Shidlovskiy, S. (2022). Sigmoid Activation Implementation for Neural Networks Hardware Accelerators Based on Reconfigurable Computing Environments for Low-Power Intelligent Systems. Applied Sciences, 12(10), 5216. https://doi.org/10.3390/app12105216
Vajrobol, V., Gupta, B. B., & Gaurav, A. (2024). Mutual information based logistic regression for phishing URL detection. Cyber Security and Applications, 2, 100044. https://doi.org/10.1016/j.csa.2024.100044
Vilares Ferro, M., Doval Mosquera, Y., Ribadas Pena, F. J., & Darriba Bilbao, V. M. (2023). Early stopping by correlating online indicators in neural networks. Neural Networks, 159, 109–124. https://doi.org/10.1016/j.neunet.2022.11.035
Xiangyang, L., Xing, Q., Han, Z., & Feng, C. (2023). A Novel Activation Function of Deep Neural Network. Scientific Programming, 2023, 1–12. https://doi.org/10.1155/2023/3873561
Downloads
Published
Issue
Section
License
Copyright (c) 2026 M. Halvi Rahman, Zainal Abidin, M. Amin Hariyadi

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








