Phishing Email Detection Using SVM with RBF Kernel Based on Manhattan Distance


Asrianda Asrianda(1*); Sujacka Retno(2); Beno Jange(3); Mansur Mansur(4);

(1) Universitas Malikussaleh
(2) Universitas Malikussaleh
(3) STMIK Dharmapala Riau
(4) Politeknik Negeri Bengkalis
(*) Corresponding Author

  

Abstract


This study examines the performance of a Support Vector Machine (SVM) model with a Radial Basis Function (RBF) kernel for phishing email detection using Euclidean and Manhattan distance measures. The dataset consists of 3,600 email samples, including 2,400 legitimate emails and 1,200 phishing instances. The features are designed to capture both linguistic and structural characteristics of emails, including word count, vocabulary diversity, stop word usage, number of links and domains, presence of email addresses, spelling errors, and urgency-related terms. The experiments were conducted using two train-test split ratios, 80:20 and 70:30, combined with hyperparameter tuning of C and gamma across 15 iterations. The findings indicate that the Manhattan distance consistently outperforms the Euclidean distance, particularly in terms of recall and F1-score, which are critical for detecting the minority class. The model achieved a best accuracy of 78.33%, accompanied by noticeable improvements in recall and F1-score. These results suggest that the choice of distance function within the RBF kernel plays a crucial role in enhancing model sensitivity and generalization when dealing with imbalanced data. Furthermore, the iterative hyperparameter tuning process contributes significantly to improving both performance and model stability. Overall, the SVM-RBF approach with Manhattan distance provides an effective and reliable framework for phishing email detection in machine learning applications.


Keywords


SVM; RBF Kernel; Phishing Email Detection; Hyperparameter Tuning; Manhattan Distance

  
  

Full Text:

PDF
  

Article Metrics

Abstract view: 0 times
PDF view: 0 times
     

Digital Object Identifier

doi  https://doi.org/10.33096/ilkom.v18i2.2806.268-280
  

Cite

References


W. J. Gordon et al., “Assessment of Employee Susceptibility to Phishing Attacks at US Health Care Institutions,” JAMA Netw. Open, vol. 2, no. 3, pp. 2–10, 2019, doi: 10.1001/jamanetworkopen.2019.0393.

T. Lin et al., “Susceptibility to spear-phishing emails: Effects of internet user demographics and email content,” ACM Transactions on Computer-Human Interaction, vol. 26, no. 5, 2019, doi: 10.1145/3336141.

W. Priestman, T. Anstis, I. G. Sebire, S. Sridharan, and N. J. Sebire, “Phishing in healthcare organisations: Threats, mitigation and approaches,” BMJ Health Care Inform., vol. 26, no. 1, pp. 1–6, 2019, doi: 10.1136/bmjhci-2019-100031.

P. K. K. Loh, A. Z. Y. Lee, and V. Balachandran, “Towards a Hybrid Security Framework for Phishing Awareness Education and Defense,” Future Internet, vol. 16, no. 3, 2024, doi: 10.3390/fi16030086.

C. S. Eze and L. Shamir, “Analysis and Prevention of AI-Based Phishing Email Attacks,” Electronics (Switzerland), vol. 13, no. 10, 2024, doi: 10.3390/electronics13101839.

R. Brindha, S. Nandagopal, H. Azath, V. Sathana, G. P. Joshi, and S. W. Kim, “Intelligent Deep Learning Based Cybersecurity Phishing Email Detection and Classification,” Computers, Materials and Continua, vol. 74, no. 3, pp. 5901–5914, 2023, doi: 10.32604/cmc.2023.030784.

E. S. Gualberto, R. T. De Sousa, T. P. B. De Vieira, J. P. C. L. Da Costa, and C. G. Duque, “From Feature Engineering and Topics Models to Enhanced Prediction Rates in Phishing Detection,” IEEE Access, vol. 8, pp. 76368–76385, 2020, doi: 10.1109/ACCESS.2020.2989126.

A. Abdiansah and R. Wardoyo, “Time Complexity Analysis of Support Vector Machines (SVM) in LibSVM,” Int. J. Comput. Appl., vol. 128, no. 3, pp. 28–34, 2015, doi: 10.5120/ijca2015906480.

D. Wang and G. Xu, “Research on the detection of network intrusion prevention with SVM based optimization algorithm,” Informatica (Slovenia), vol. 44, no. 2, pp. 269–273, 2020, doi: 10.31449/inf.v44i2.3195.

A. M. Elshewey, M. Y. Shams, N. El-Rashidy, A. M. Elhady, S. M. Shohieb, and Z. Tarek, “Bayesian Optimization with Support Vector Machine Model for Parkinson Disease Classification,” Sensors, vol. 23, no. 4, pp. 1–21, 2023, doi: 10.3390/s23042085.

A. Asrianda, H. Mawengkang, P. Sihombing, and M. K. M. Nasution, “Evaluating the Impact of Model Complexity on the Accuracy of ID3 and Modified ID3: A Case Study of the Max_Depth Parameter,” Jurnal Teknik Informatika (Jutif), vol. 6, no. 5, pp. 3707–3718, Oct. 2025, doi: 10.52436/1.jutif.2025.6.5.4864.

E. Cebekhulu, A. J. Onumanyi, and S. J. Isaac, “Performance Analysis of Machine Learning Algorithms for Energy Demand–Supply Prediction in Smart Grids,” Sustainability (Switzerland), vol. 14, no. 5, 2022, doi: 10.3390/su14052546.

A. J. Wathen and S. Zhu, “On spectral distribution of kernel matrices related to radial basis functions,” Numer. Algorithms, vol. 70, no. 4, pp. 709–726, 2015, doi: 10.1007/s11075-015-9970-0.

K. Shi, H. Qin, C. Sima, S. Li, L. Shen, and Q. Ma, “Dynamic Barycenter Averaging Kernel in RBF Networks for Time Series Classification,” IEEE Access, vol. 7, pp. 47564–47576, 2019, doi: 10.1109/ACCESS.2019.2910017.

T. C. Fu, “A review on time series data mining,” Eng. Appl. Artif. Intell., vol. 24, no. 1, pp. 164–181, 2011, doi: 10.1016/j.engappai.2010.09.007.

S. Seo and W. Kim, “Graph-free kernel discriminant analysis for noise-resilient label spreading,” Knowl. Based. Syst., vol. 335, Feb. 2026, doi: 10.1016/j.knosys.2025.115214.

T. Strauss and M. J. Von Maltitz, “Generalising ward’s method for use with manhattan distances,” PLoS One, vol. 12, no. 1, Jan. 2017, doi: 10.1371/journal.pone.0168288.

K. S. Chong and N. Shah, “Comparison of Naive Bayes and SVM Classification in Grid-Search Hyperparameter Tuned and Non-Hyperparameter Tuned Healthcare Stock Market Sentiment Analysis,” International Journal of Advanced Computer Science and Applications, vol. 13, no. 12, pp. 90–94, 2022, doi: 10.14569/IJACSA.2022.0131213.

J. Liu and E. Zio, “SVM hyperparameters tuning for recursive multi-step-ahead prediction,” Neural Comput. Appl., vol. 28, no. 12, pp. 3749–3763, 2017, doi: 10.1007/s00521-016-2272-1.

Z. Yu, Y. Wang, and Y. Wang, “A Support Vector Machine and Particle Swarm Optimization Based Model for Cemented Tailings Backfill Materials Strength Prediction,” Materials, vol. 15, no. 6, 2022, doi: 10.3390/ma15062128.

S. Sarkar and K. Mali, “Monkey king evolution (MKE)-GA-SVM model for subtype classification of breast cancer,” Digit. Health, vol. 10, 2024, doi: 10.1177/20552076241297002.

G. Sharma, A. Panwar, I. Nasiruddin, and R. C. Bansal, “Non-linear LS-SVM with RBF-kernel-based approach for AGC of multi-area energy systems,” IET Generation, Transmission and Distribution, vol. 12, no. 14, pp. 3510–3517, 2018, doi: 10.1049/iet-gtd.2017.1402.

Y. Kortli, M. Jridi, A. Al Falou, and M. Atri, “A novel face detection approach using local binary pattern histogram and support vector machine,” 2018 International Conference on Advanced Systems and Electric Technologies, IC_ASET 2018, pp. 28–33, 2018, doi: 10.1109/ASET.2018.8379829.

K. Suksut, K. Kerdprasop, and N. Kerdprasop, “Support Vector Machine with Restarting Genetic Algorithm for Classifying Imbalanced Data,” International Journal of Future Computer and Communication, vol. 6, no. 3, pp. 92–96, 2017, doi: 10.18178/ijfcc.2017.6.3.496.

C. CORTES and V. VAPNIK, “Support-Vector Networks CORINNA,” J. Phys. Conf. Ser., vol. 20, no. 1, pp. 273–297, 1995, doi: 10.1088/1742-6596/628/1/012073.

S. Chen and C. J. Harris, “Design of the optimal separating hyperplane for the decision feedback equalizer using support vector machines,” ICASSP, IEEE International Conference on Acoustics, Speech and Signal Processing - Proceedings, vol. 5, no. 3, pp. 2701–2704, 2000, doi: 10.1109/ICASSP.2000.861043.

S. Abe, “Are twin hyperplanes necessary?,” Pattern Recognit. Lett., vol. 116, pp. 218–224, 2018, doi: 10.1016/j.patrec.2018.10.032.

P. Danenas and G. Garsva, “Selection of Support Vector Machines based classifiers for credit risk domain,” Expert Syst. Appl., vol. 42, no. 6, pp. 3194–3204, 2015, doi: 10.1016/j.eswa.2014.12.001.

S. Balasundaram, D. Gupta, and S. C. Prasad, “A new approach for training Lagrangian twin support vector machine via unconstrained convex minimization,” Applied Intelligence, vol. 46, no. 1, pp. 124–134, 2017, doi: 10.1007/s10489-016-0809-8.

L. Yang and A. Shami, “On hyperparameter optimization of machine learning algorithms: Theory and practice,” Neurocomputing, vol. 415, pp. 295–316, 2020, doi: 10.1016/j.neucom.2020.07.061.

J. Cervantes, F. Garcia-Lamont, L. Rodríguez-Mazahua, and A. Lopez, “A comprehensive survey on support vector machine classification: Applications, challenges and trends,” Neurocomputing, vol. 408, no. xxxx, pp. 189–215, 2020, doi: 10.1016/j.neucom.2019.10.118.

J. Jäger and R. V. Krems, “Universal expressiveness of variational quantum classifiers and quantum kernels for support vector machines,” Nat. Commun., vol. 14, no. 1, pp. 1–7, 2023, doi: 10.1038/s41467-023-36144-5.

A. Gangopadhyay, O. Chatterjee, and S. Chakrabartty, “Extended Polynomial Growth Transforms for Design and Training of Generalized,” pp. 1–14, 2017.

T. Strauss and M. J. Von Maltitz, “Generalising ward’s method for use with manhattan distances,” PLoS One, vol. 12, no. 1, pp. 1–21, 2017, doi: 10.1371/journal.pone.0168288.

B. R. de Oliveira et al., “Selection of Soybean Genotypes under Drought and Saline Stress Conditions Using Manhattan Distance and TOPSIS,” Plants, vol. 11, no. 21, Nov. 2022, doi: 10.3390/plants11212827.

N. Yu, W. Xu, and K. L. Yu, “Research on Regional Logistics Demand Forecast Based on Improved Support Vector Machine: A Case Study of Qingdao City under the New Free Trade Zone Strategy,” IEEE Access, vol. 8, pp. 9551–9564, 2020, doi: 10.1109/ACCESS.2019.2963540.

A. Rizwan, N. Iqbal, R. Ahmad, and D. H. Kim, “Wr-svm model based on the margin radius approach for solving the minimum enclosing ball problem in support vector machine classification,” Applied Sciences (Switzerland), vol. 11, no. 10, May 2021, doi: 10.3390/app11104657.

L. W. Rizkallah, “Optimizing SVM hyperparameters for satellite imagery classification using metaheuristic and statistical techniques,” Int. J. Data Sci. Anal., vol. 20, no. 5, pp. 4945–4962, Oct. 2025, doi: 10.1007/s41060-025-00762-7.

A. Rizwan, N. Iqbal, R. Ahmad, and D. H. Kim, “Wr-svm model based on the margin radius approach for solving the minimum enclosing ball problem in support vector machine classification,” Applied Sciences (Switzerland), vol. 11, no. 10, May 2021, doi: 10.3390/app11104657.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Asrianda Asrianda, Sujacka Retno, Sujacka Retno, Beno Jange, Beno Jange, Mansur Mansur, Mansur Mansur

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