Code Monkey home page Code Monkey logo

suyogub11 / smishing-sms-phishing-detection-using-machine-learning-and-nlp-techniques Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.16 MB

Phishing attacks have grown to be a big problem for people and businesses in the modern digital age.SMS messages are one of the most widely used channels for phishing attempts.This project seeks to investigate the application of cutting-edge machine learning and NLP methods for the identification of phishing SMS (smishing) messages.

Home Page: https://suyogub11-smishing-sms-phishing-detection-using-mach-app-60loza.streamlit.app/

Python 100.00%
jupyter-notebook machine-learning-algorithms matplotlib nltk pands python3 seaborn stramlit wordcloud

smishing-sms-phishing-detection-using-machine-learning-and-nlp-techniques's Introduction

Smishing-SMS-Phishing-Detection-using-Machine-Learning-and-NLP-Techniques

Phishing attacks through SMS messages have become a significant concern in the digital era, posing risks to individuals and organizations. This project aims to address this issue by investigating the application of Machine Learning (ML) and Natural Language Processing (NLP) techniques to identify phishing SMS messages.

Project Overview

The objective of this research was to develop a system capable of classifying SMS messages as either "smishing" (phishing SMS) or "not smishing" (legitimate SMS). By leveraging supervised ML classification models and NLP techniques, we aimed to accurately detect and mitigate phishing attempts.

Dataset

We used a carefully curated dataset consisting of labeled SMS messages, categorized as either smishing or not smishing. The dataset was collected from various sources and included examples of phishing SMS messages commonly encountered in real-world scenarios.

Methodology

1.Data Preprocessing: We performed data cleaning and preprocessing steps, including tokenization, lowercasing, and removal of stop words, special characters, and irrelevant information.

2.Feature Extraction: NLP techniques such as TF-IDF (Term Frequency-Inverse Document Frequency) and word embeddings (e.g., Word2Vec or GloVe) were applied to represent the SMS messages as numerical feature vectors.

3.Model Training: We employed several classification algorithms, including Random Forest, Logistic Regression, Support Vector Machines (SVM), and Naive Bayes, among others. These models were trained on the preprocessed SMS data with corresponding labels.

4.Model Evaluation: The trained models were evaluated using appropriate metrics such as accuracy, precision, recall, and F1-score. Additionally, techniques like cross-validation and hyperparameter tuning were employed to ensure robust performance.

5.Model Selection: Based on the comparative study of different classification algorithms, the Random Forest classifier demonstrated the highest prediction accuracy, achieving an impressive accuracy of 99.87%.

Results

The research successfully developed a phishing SMS detection system using ML and NLP techniques. The Random Forest classifier emerged as the most effective model, providing a high prediction accuracy of 99.87%. This system has the potential to significantly enhance the detection and prevention of smishing attacks.

Conclusion

Phishing attacks through SMS messages pose a significant threat to individuals and organizations. This project demonstrated the feasibility of leveraging ML and NLP methods to effectively identify and classify phishing SMS messages. The developed system, with its high accuracy, can aid in mitigating the risks associated with smishing and contribute to strengthening cybersecurity in the digital era.

For more details, please refer to the project documentation and code available in the GitHub repository(https://github.com/suyogub11/Smishing-SMS-Phishing-Detection-using-Machine-Learning-and-NLP-Techniques/).

smishing-sms-phishing-detection-using-machine-learning-and-nlp-techniques's People

Contributors

suyogub11 avatar

Watchers

 avatar

Forkers

mudaz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.