Skip to main content
QUICK REVIEW

[Paper Review] Phishing Detection Using Machine Learning Techniques

Vahid Shahrivari, Mohammad Mahdi Darabi|arXiv (Cornell University)|Sep 20, 2020
Spam and Phishing DetectionComputer Science15 citations
TL;DR

This paper evaluates nine machine learning models—Logistic Regression, Decision Tree, Random Forest, AdaBoost, SVM, KNN, Neural Networks, Gradient Boosting, and XGBoost—for phishing website detection using a dataset of 11,055 websites (6,157 legitimate, 4,898 phishing). XGBoost achieved the highest F1 score and fastest training speed, outperforming other models, especially on small datasets, due to its regularization, learning rate, and feature subsampling, while also offering better generalization than neural networks despite higher training time and lack of explainability.

ABSTRACT

The Internet has become an indispensable part of our life, However, It also has provided opportunities to anonymously perform malicious activities like Phishing. Phishers try to deceive their victims by social engineering or creating mock-up websites to steal information such as account ID, username, password from individuals and organizations. Although many methods have been proposed to detect phishing websites, Phishers have evolved their methods to escape from these detection methods. One of the most successful methods for detecting these malicious activities is Machine Learning. This is because most Phishing attacks have some common characteristics which can be identified by machine learning methods. In this paper, we compared the results of multiple machine learning methods for predicting phishing websites.

Motivation & Objective

  • To evaluate and compare the performance of multiple machine learning algorithms in detecting phishing websites.
  • To identify the most effective model for phishing detection based on accuracy, training speed, and generalization capability.
  • To analyze the impact of hyperparameter tuning and model architecture on detection performance.
  • To explore the trade-offs between model interpretability, computational cost, and detection effectiveness.
  • To provide a reproducible benchmark using a publicly shared dataset and code for future research.

Proposed method

  • The study employs a diverse set of nine supervised machine learning classifiers: Logistic Regression, Decision Tree, Random Forest, AdaBoost, SVM, KNN, Neural Networks, Gradient Boosting, and XGBoost.
  • Features are extracted from website URLs and content, including URL length, presence of 'https', use of 'www', and special characters.
  • XGBoost is applied with learning rate, subsampling of features and instances, and L2 regularization to reduce overfitting and improve generalization.
  • Neural networks are trained using the Adam optimizer and ReLU activation functions, with early stopping after 500 epochs and varying hidden layer depths.
  • KNN performance is evaluated across different values of K to assess bias-variance trade-offs.
  • Model evaluation is based on standard metrics: accuracy, F1 score, precision, recall, and training time, with results reported in comparative tables and figures.

Experimental results

Research questions

  • RQ1Which machine learning model achieves the highest F1 score and accuracy in classifying phishing websites?
  • RQ2How do training speed and computational efficiency compare across different models, especially on a moderate-sized dataset?
  • RQ3What is the impact of hyperparameter tuning and regularization on model generalization and robustness?
  • RQ4How does model explainability compare across methods, particularly between XGBoost and neural networks?
  • RQ5Can ensemble methods like Random Forest and XGBoost consistently outperform individual models in phishing detection?

Key findings

  • XGBoost achieved the highest F1 score among all models, demonstrating superior performance on the phishing detection task.
  • XGBoost was the fastest model to train, significantly outperforming neural networks and SVMs in terms of computational efficiency.
  • Neural networks required substantially more training time than all other models and did not surpass XGBoost in F1 score, despite deeper architectures.
  • Random Forest and XGBoost both delivered high accuracy and fast inference, making them strong candidates for real-world deployment.
  • KNN performed well with a small number of neighbors, showing low bias but high variance, while larger K values led to smoother but less flexible decision boundaries.
  • XGBoost's combination of regularization, learning rate, and feature subsampling enabled better generalization than neural networks, especially on small datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.