Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addressing Social Engineering Attacks using Machine Learning Algorithms

This repository contains the Exploratory Data Analysis (EDA) on a dataset regarding Social Engineering / Phishing Website Attacks. The analysis aims to uncover patterns and behaviors indicative of phishing attacks through detailed feature exploration.

Overview

Social engineering attacks, particularly phishing, rely heavily on deceptive URLs, abnormal request routing, and specific web traffic patterns to trick users. This project explores a curated dataset of website features (taking values -1 for Phishing, 0 for Suspicious, and 1 for Legitimate) to visualize key indicators that can be used by machine learning models to classify these attacks.

Files Included

  • Phising_Testing_Dataset.csv: The raw testing dataset containing various website features.
  • eda.py: A Python script designed to automatically generate high-quality EDA visualizations.
  • EDA_Reports/figures/: A directory containing the visual outputs of the EDA process.

Exploratory Data Analysis (EDA) Highlights

1. Missing Values Analysis

The dataset is perfectly clean with zero missing values across all features, ensuring it is ready for machine learning algorithms without requiring imputation. Missing Values

2. Feature Value Distribution

An overview showing the prevalence of Phishing (-1), Suspicious (0), and Legitimate (1) values across the different features. Value Distribution

3. Class Distribution Proxy

Using SSLfinal_State as a historically strong proxy for target labels, we can visualize the anticipated balance of legitimate vs. phishing samples within the test set. Class Distribution

4. Correlation Heatmap

A correlation matrix uncovering the linear relationships between different web features. Correlation Heatmap

5. PCA Projection

A 2-dimensional projection using Principal Component Analysis to visualize natural clustering in the dataset. PCA Projection

6. Top Variant Features

Features with the highest variance, demonstrating which attributes hold the most informational weight for predictive modeling. Feature Variances

Usage

To reproduce these figures, simply run the Python script:

python eda.py

This will automatically generate the EDA_Reports/figures folder and populate it with the charts.

About

Addressing Social Engineering Attacks using Machine Learning Algorithms

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages