GithubHelp home page GithubHelp logo

alsuhaibanishoug / ddosdetectionusingnaivebayes Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 35.07 MB

DDoS Detection system using naive bayes classifier

Jupyter Notebook 100.00%
ddos ddos-detection naive-bayes

ddosdetectionusingnaivebayes's Introduction

Course Project | DDOS Detection by naive bayes

The project aims to apply one machine learning (ML) technique to solve an issue in any field.

Issue description

Distributed Denial of service (DDoS), attacks users from accessing the network and makes services unavailable or only partially available. The attacker floods the targeted machines or resources with excessive requests. The victim's incoming traffic originates from many different sources. Attackers use many (remotely) controlled computers to attack the victim.

Machine learning (ML) technique

In this project, we use the Naive Bayes technique to detect which if the request ddos or benign.

Dataset

The Dataset is extracted from different IDS datasets that were produced in different years and different experimental DDoS traffic generation tools, it has more than 12 milion records (ddos and benign) and 85 features.

Tools

Python

Microsoft Azure

Instructions to run notebook

Required packages:

ipaddress

pip install ipaddress

seaborn

pip install seaborn

pandas

pip install pandas

matplotlib

pip install matplotlib

sklearn

pip install -U scikit-learn

After downloading "ProjectCode.zip" and packages, you have two options of environments to run:

Running on local jupyter notebook

In this option, you must have a large space to import and build a model according to a large dataset.

Running on cloud platform

We use this option by using azure services in Machine Learning, is a cloud-based solution for ML workload and provides an end-to-end machine learning platform to enable users to build and deploy models faster on Azure. First, create a notebook for the project. Second, create a compute instance to execute the written code. The instance we chose had the following specifications Standard_E4a_v4 (4 cores, 32 GB RAM, 100 GB disk)

Prepared By

ddosdetectionusingnaivebayes's People

Contributors

alaridisarah avatar alsuhaibanishoug avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alaridisarah

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.