Skip to content

Detects phishing websites by analyzing URL features using multiple machine learning models.

Notifications You must be signed in to change notification settings

Gauri9977/Phishing-URL-Detection-using-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ PHISHING-URL-DETECTION-USING-MACHINE-LEARNING

πŸ”— Table of Contents


πŸ“ Overview

This project focuses on identifying phishing URLs using machine learning algorithms. It extracts key lexical, domain-based, and technical features from URLs to distinguish between legitimate and phishing websites.

A variety of classification algorithms are implemented and evaluated, including Random Forest, Decision Tree, XGBoost, SVM, and Logistic Regression.


πŸ‘Ύ Features

  • πŸ” Feature extraction from URLs
  • 🧠 Multiple machine learning models implemented
  • πŸ“ˆ Model evaluation using Accuracy, Precision, Recall, and F1 Score
  • πŸ“Š Confusion matrix and classification report visualization
  • πŸ§ͺ Train-test data split with reproducible results
  • βœ… Supports binary classification (Phishing / Legitimate)

πŸš€ Getting Started

Follow these instructions to get a copy of the project up and running on your local machine.

β˜‘οΈ Prerequisites

  • Python 3.7+
  • Jupyter Notebook / VSCode
  • Basic knowledge of machine learning

βš™οΈ Installation

  1. Clone the repository:

    git clone https://github.com/Gauri9977/Phishing-URL-Detection-using-Machine-Learning.git
    cd Phishing-URL-Detection-using-Machine-Learning
  2. (Optional) Create and activate a virtual environment:

    • On Windows:

      python -m venv env
      env\Scripts\activate
    • On Linux/Mac:

      python3 -m venv env
      source env/bin/activate
  3. Install the required dependencies


πŸ€– Usage

  1. Launch Jupyter Notebook:

    jupyter notebook
  2. Open Phishing_URL_Detection.ipynb and run all the cells sequentially.

  3. Explore model performance and tune hyperparameters as needed.


About

Detects phishing websites by analyzing URL features using multiple machine learning models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published