Giter Site home page Giter Site logo

samisayed0611 / detection-of-malicious-urls-using-lexical-features Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 80 KB

Developed a multi-class classification system to detect malicious URLs using lexical features and boosting algorithms (XGBoost, Light GBM, Gradient Boosting Machines), leveraging Pandas and Sklearn for data processing and model training.

License: MIT License

Jupyter Notebook 100.00%
boosting-algorithms cybersecurity machine-learning nlp nlp-machine-learning pandas regex sklearn

detection-of-malicious-urls-using-lexical-features's Introduction

Detection of Malicious URLs Using Lexical Features

Problem Statement

In this case study, we address the detection of malicious URLs as a multi-class classification problem. We classify raw URLs into different classes such as benign or safe URL, phishing URL, malware URL, or defacement URL.

Machine learning algorithms require numeric inputs, so we will create numeric lexical features from the input URLs. The input to the machine learning algorithms will be these numeric lexical features rather than the actual raw URLs. If you are unfamiliar with lexical features, you can refer to this discussion on StackOverflow.

In this case study, we will be using three well-known boosting machine learning classifiers: XGBoost, Light GBM, and Gradient Boosting Machines.

About Data

For training and testing machine learning algorithms, we have used a substantial dataset of 651,191 URLs, comprising:

  • 428,103 benign or safe URLs
  • 96,457 defacement URLs
  • 94,111 phishing URLs
  • 32,520 malware URLs

The dataset is curated from five different sources, which are combined and pre-processed to retain only URLs and their class type.

Sources:

The final pre-processed dataset is available on Kaggle: Malicious URL Dataset

Project Overview

Detection of Malicious URLs Using Lexical Features | Machine Learning, Cybersecurity, NLP, Boosting, Sklearn, Pandas, Regex

Developed a multi-class classification system to detect malicious URLs using lexical features and boosting algorithms (XGBoost, Light GBM, Gradient Boosting Machines), leveraging Pandas and Sklearn for data processing and model training.

Dataset: Malicious URL Dataset

detection-of-malicious-urls-using-lexical-features's People

Contributors

samisayed0611 avatar

Watchers

 avatar

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.