Journals / Afyon Kocatepe Üniversitesi Fen ve Mühendislik Bilimleri Dergisi / 2026 / Cilt: 26 Sayı: 1

Stacking-Based Model for Phishing Website Detection System

Kimlik Avı Web Sitesi Algılama Sistemi için Yığın Tabanlı Model

Cihan Bayraktar(KARABÜK ÜNİVERSİTESİ, ESKİPAZAR MESLEK YÜKSEKOKULU, BİLGİSAYAR TEKNOLOJİLERİ BÖLÜMÜ, BİLİŞİM GÜVENLİĞİ TEKNOLOJİSİ PR.)0000-0003-4321-5485
Pages
78–88
Publication Date
2026-01-19
🏛️Bibliographic metadata and full text access for this article are provided via DergiPark.
DergiPark Record ↗
✨

AI Summary & Key Takeaways

AI Insight
⚡ TL;DR(Too Long; Didn't Read)

Later, a new model created with the stacking method using these 3 models increased the accuracy rate to 99.99%, demonstrating the effectiveness of the study in detecting phishing websites.

📌 3 Key Takeaways

🎯
Objective & Hypothesis:Phishing attacks pose a significant threat in cybersecurity and therefore their detection is of critical importance to ensure the security of digital environments.
📊
Key Findings & Data:The primary objective is to develop high-performance machine learning models to detect phishing websites using PyCaret.
💡
Conclusion & Impact:Later, a new model created with the stacking method using these 3 models increased the accuracy rate to 99.99%, demonstrating the effectiveness of the study in detecting phishing websites.
🔬Design:Modeling & Simulation
📍Scope:Comprehensive Sample
⚙️Variables:Kimlik Avı · Makine Öğrenmesi · PyCaret

Abstract

Phishing attacks pose a significant threat in cybersecurity and therefore their detection is of critical importance to ensure the security of digital environments. Machine learning methods have proven to be an effective approach to detect phishing websites. In this study, PyCaret library, a powerful tool among automatic machine learning libraries, is used to implement various machine learning algorithms quickly and efficiently. The primary objective is to develop high-performance machine learning models to detect phishing websites using PyCaret. For this purpose, PhiUSIIL dataset is used. Multiple machine learning algorithms were analyzed on the dataset using PyCaret library, the best performing algorithms were identified and further optimized through hyperparameter tuning. In addition, an ensemble model was created using the stacking method and the performance was improved. The analysis revealed that the Logistic Regression algorithm achieved 99.98% accuracy, the K-Nearest Neighbors algorithm 99.74% accuracy, and the Naive Bayes algorithm 99.24% accuracy. Later, a new model created with the stacking method using these 3 models increased the accuracy rate to 99.99%, demonstrating the effectiveness of the study in detecting phishing websites.

Özet

Kimlik avı saldırıları siber güvenlikte önemli bir tehdit oluşturmaktadır ve bu nedenle tespiti dijital ortamların güvenliğini sağlamak için kritik öneme sahiptir. Makine öğrenimi yöntemlerinin kimlik avı web sitelerini tespit etmek için etkili bir yaklaşım olduğu kanıtlanmıştır. Bu çalışmada, otomatik makine öğrenimi kütüphaneleri arasında güçlü bir araç olan PyCaret kütüphanesi kullanılarak çeşitli makine öğrenimi algoritmaları hızlı ve verimli bir şekilde uygulanmıştır. Birincil amaç, PyCaret kullanarak kimlik avı web sitelerini tespit etmek için yüksek performanslı makine öğrenimi modelleri geliştirmektir. Bu amaçla PhiUSIIL veri seti kullanılmıştır. PyCaret kütüphanesi kullanılarak veri seti üzerinde birden fazla makine öğrenimi algoritması analiz edilmiş, en iyi performans gösteren algoritmalar belirlenmiş ve hiperparametre ayarı yoluyla daha da optimize edilmiştir. Ayrıca, yığınlama yöntemi kullanılarak bir topluluk modeli oluşturulmuş ve performans iyileştirilmiştir. Analiz, Lojistik Regresyon algoritmasının %99,98, K-En Yakın Komşular algoritmasının %99,74 ve Naive Bayes algoritmasının %99,24 doğruluk elde ettiğini ortaya koymuştur. Daha sonra bu 3 model kullanılarak stacking yöntemi ile oluşturulan yeni bir model ile doğruluk oranı %99,99'a çıkarılarak çalışmanın phishing sitelerini tespit etmedeki etkinliği ortaya konuldu.

🔖

Cite This Article

Bayraktar, C. (2026). Stacking-Based Model for Phishing Website Detection System. Afyon Kocatepe Üniversitesi Fen ve Mühendislik Bilimleri Dergisi, Cilt: 26 Sayı: 1, 78–88. https://doi.org/10.35414/akufemubid.1592728

📄 Full Text PDF Viewer

📄

PDF görüntüleyici hazırlanıyor...

References (41)

  1. Taha, M.A., Jabar, H.D.A., and Mohammed, W.K., 2024. A Machine Learning Algorithms for Detecting Phishing Websites: A Comparative Study. Iraqi Journal For Computer Science and Mathematics, 5(3), 275–286. https://doi.org/10.52866/IJCSM.2024.05.03.015
  2. Abbas, M., Ni, L., and Du, C., 2024. Using PyCaret to model Chlorella vulgaris’s growth response to salinity and oil contamination for crude oil bioremediation. Environmental Technology, 46, 977-990. https://doi.org/10.1080/09593330.2024.2374027
  3. Alsharnouby, M., Alaca, F. and Chiasson, S., 2015. Why phishing still works: User strategies for combating phishing attacks. International Journal of Human-Computer Studies, 82, 69–82. https://doi.org/10.1016/J.IJHCS.2015.05.005
  4. APWG., 2021. APWG | Phishing Activity Trends Reports. https://apwg.org/trendsreports/
  5. Bahnsen, A.C., Bohorquez, E.C., Villegas, S., Vargas, J. and Gonzalez, F. A., (2017). Classifying phishing URLs using recurrent neural networks. APWG Symposium on Electronic Crime Research (ECrime). Scottsdale, AZ, USA,1–8. https://doi.org/10.1109/ECRIME.2017.7945048
  6. Chand, N., Mishra, P., Krishna, C.R., Pilli, E.S., and Govil, M.C. (2016). A comparative analysis of SVM and its stacking with other classification algorithm for intrusion detection. International Conference on Advances in Computing, Communication and Automation, ICACCA 2016. Dehradun, India, 1–6. https://doi.org/10.1109/ICACCA.2016.7578859
  7. Das, A., 2023. Logistic Regression. In F. Maggino (Ed.), Encyclopedia of Quality of Life and Well-Being Research, Springer, Cham, 3985–3986. https://doi.org/10.1007/978-3-031-17299-1_1689
  8. Demmese, F.A., Shajarian, S., and Khorsandroo, S., 2024. Transfer learning with ResNet50 for malicious domains classification using image visualization. Discover Artificial Intelligence, 4(1), 1–14. https://doi.org/10.1007/s44163-024-00154-z
  9. Devaraj, N.H. and Thimappa, P.B., 2024. An optimal machine learning-based algorithm for detecting phishing attacks using URL information. Indonesian Journal of Electrical Engineering and Computer Science, 36(1), 631–638. https://doi.org/10.11591/ijeecs.v36.i1.pp631-638
  10. Elkahwagy, D.M.A.S. and Kiriacos, C.J., 2024. Logistic regression and other statistical tools in diagnostic biomarker studies. Clinical and Translational Oncology, 26, 2172–2180. https://doi.org/10.1007/s12094-024-03413-8
  11. Ferdaws, R. and Majd, N.E., (2024). Phishing URL Detection Using Machine Learning and Deep Learning. IEEE 5th World AI IoT Congress, AIIoT 2024. Seattle, WA, USA, 485–490. https://doi.org/10.1109/AIIOT61789.2024.10579005
  12. Gijsbers, P., Bueno, M.L.P., Coors, S., LeDell, E., Poirier, S., Janek Thomas, Bischl, B., and Vanschoren, J., 2024. AMLB: an AutoML Benchmark. Journal of Machine Learning Research, 25(101), 1–65.
  13. Hasan, N., Ahmed, N. and Ali, S.M. 2024. Improving sporadic demand forecasting using a modified k-nearest neighbor framework. Engineering Applications of Artificial Intelligence, 129, 107633. https://doi.org/10.1016/J.ENGAPPAI.2023.107633
  14. Hendaoui, F. and Hendaoui, S. 2024. SENTINEY: Securing ENcrypted mulTI-party computatIoN for Enhanced data privacY and phishing detection. Expert Systems with Applications, 256, 124896. https://doi.org/10.1016/J.ESWA.2024.124896
  15. Kim, Y., Byun, Y.C. and Lee, S.J. 2024. A Study on Sugar Content Improvement and Distribution Flow Response through Citrus Sugar Content Prediction Based on the PyCaret Library. Horticulturae, 10(6), 630. https://doi.org/10.3390/HORTICULTURAE10060630
  16. Kocyigit, E., Korkmaz, M., Sahingoz, O.K. and Diri, B., 2024. Enhanced Feature Selection Using Genetic Algorithm for Machine-Learning-Based Phishing URL Detection. Applied Sciences, 14(14), 6081. https://doi.org/10.3390/APP14146081
  17. Liaquathali, S. and Kadirvelu, V., 2024. WCA: Integration of Natural Language Processing Methods and Machine Learning Model for Effective Analysis of Web Content to Classify Malicious Webpages. Journal of Advanced Research in Applied Sciences and Engineering Technology, 47(1), 105–122. https://doi.org/10.37934/ARASET.47.1.105122
  18. Liuliakov, A., Hermes, L. and Hammer, B., 2023. AutoML technologies for the identification of sparse classification and outlier detection models. Applied Soft Computing, 133, 109942. https://doi.org/10.1016/j.asoc.2022.109942
  19. Martínez, F., Frías, M.P., Pérez, M.D. and Rivera, A.J., 2019. A methodology for applying k-nearest neighbor to time series forecasting. Artificial Intelligence Review, 52(3), 2019–2037. https://doi.org/10.1007/s10462-017-9593-z
  20. Ming, H. and Yang, H., 2024. L0 regularized logistic regression for large-scale data. Pattern Recognition, 146, 110024. https://doi.org/10.1016/J.PATCOG.2023.110024
  21. Mittapalli, J.S., Ojha, S. and Subbulakshmi, T., (2021). Phishing Attack Detection using Python and Machine Learning. 5th International Conference on Trends in Electronics and Informatics, ICOEI 2021, Tirunelveli, India, 531–536. https://doi.org/10.1109/ICOEI51242.2021.9452975
  22. Moez, A. (2020). PyCaret 3.0 | Docs. https://pycaret.gitbook.io/docs
  23. Nakano, F.K., Mastelini, S.M., Barbon, S. and Cerri, R., (2017). Stacking methods for hierarchical classification. 16th IEEE International Conference on Machine Learning and Applications, ICMLA 2017, Cancun, Mexico, 289–296. https://doi.org/10.1109/ICMLA.2017.0-145
  24. Odeh, A., Keshta, I. and Abdelfattah, E., (2021). Machine LearningTechniquesfor Detection of Website Phishing: A Review for Promises and Challenges. IEEE 11th Annual Computing and Communication Workshop and Conference, CCWC 2021, NV, USA, 813–818. https://doi.org/10.1109/CCWC51732.2021.9375997
  25. Paladino, L.M., Hughes, A., Perera, A., Topsakal, O. and Akinci, T.C.,2023. Evaluating the Performance of Automated Machine Learning (AutoML) Tools for Heart Disease Diagnosis and Prediction. AI, 4(4), 1036–1058. https://doi.org/10.3390/AI4040053
  26. Prasad, A. and Chandra, S., 2024a. PhiUSIIL: A diverse security profile empowered phishing URL detection framework based on similarity index and incremental learning. Computers & Security, 136, 103545. https://doi.org/10.1016/J.COSE.2023.103545
  27. Prasad, A. and Chandra, S. 2024b. PhiUSIIL Phishing URL - UCI Machine Learning Repository. https://archive.ics.uci.edu/dataset/967/phiusiil+phishing+url+dataset
  28. Raj, R., Mathew, J., Kannath, S.K. and Rajan, J., 2023. StrokeViT with AutoML for brain stroke classification. Engineering Applications of Artificial Intelligence, 119, 105772. https://doi.org/10.1016/j.engappai.2022.105772
  29. Ramzan, Z., 2010. Phishing Attacks and Countermeasures. In P. Stavroulakis & M. Stamp (Eds.), Handbook of Information and Communication Security, Springer, 433–448. https://doi.org/10.1007/978-3-642-04117-4_23
  30. Ravinder, B., Seeni, S.K., Prabhu, V.S., Asha, P., Maniraj, S. P. and Srinivasan, C. (2024). Web Data Mining with Organized Contents Using Naive Bayes Algorithm. 2nd International Conference on Computer, Communication and Control. Indore, India, 1–6. https://doi.org/10.1109/IC457434.2024.10486403
  31. Sahin, E.K. and Demir, S., 2023. Greedy-AutoML: A novel greedy-based stacking ensemble learning framework for assessing soil liquefaction potential. Engineering Applications of Artificial Intelligence, 119, 105732. https://doi.org/10.1016/j.engappai.2022.105732
  32. Salehin, I., Islam, M.S., Saha, P., Noman, S.M., Tuni, A., Hasan, M.M. and Baten, M.A., 2024. AutoML: A systematic review on automated machine learning with neural architecture search. Journal of Information and Intelligence, 2(1), 52–81. https://doi.org/10.1016/J.JIIXD.2023.10.002
  33. Silverman, B.W. and Jones, M.C., 1989. E. Fix and J.L. Hodges (1951): An Important Contribution to Nonparametric Discriminant Analysis and Density Estimation: Commentary on Fix and Hodges (1951). International Statistical Review, 57(3), 233. https://doi.org/10.2307/1403796
  34. Priya, K.S., Chandrika, J.B. and Lakshmi, M.P. (2024). Machine Learning-Based Phishing Website Detection A Comprehensive Approach for Cyber security. 5th International Conference on Recent Trends in Computer Science and Technology, Jamshedpur, India, 344–349. https://doi.org/10.1109/ICRTCST61793.2024.10578472
  35. Singh, A., Amutha, J., Nagar, J., Sharma, S. and Lee, C.C., 2022. AutoML-ID: automated machine learning model for intrusion detection using wireless sensor network. Scientific Reports, 12(1), 9074. https://doi.org/10.1038/s41598-022-13061-z
  36. Singh, A., Patel, S., Bhadani, V., Kumar, V. and Gaurav, K., 2024. AutoML-GWL: Automated machine learning model for the prediction of groundwater level. Engineering Applications of Artificial Intelligence, 127, 107405. https://doi.org/10.1016/J.ENGAPPAI.2023.107405
  37. Tajmouati, S., Wahbi, B.E.L., Bedoui, A., Abarda, A. and Dakkon, M., 2024. Applying k-nearest neighbors to time series forecasting: Two new approaches. Journal of Forecasting, 43(5), 1559–1574. https://doi.org/10.1002/FOR.3093
  38. 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
  39. Webb, G.I. 2017. Naïve Bayes. In G.I. Webb and C. Sammut (Eds.), Encyclopedia of Machine Learning and Data Mining. Springer, Boston, 895–896. https://doi.org/10.1007/978-1-4899-7687-1_581
  40. Yang, F.J. (2018). An implementation of naive bayes classifier. International Conference on Computational Science and Computational Intelligence, CSCI 2018. Las Vegas, NV, USA, 301–306. https://doi.org/10.1109/CSCI46756.2018.00065
  41. Zieni, R., Massari, L. and Calzarossa, M. C. 2023. Phishing or Not Phishing? A Survey on the Detection of Phishing Websites. IEEE Access, 11, 18499–18519. https://doi.org/10.1109/ACCESS.2023.3247135