Giter Site home page Giter Site logo

anomalydetection-webapplication's Introduction

Network Traffic Anomaly Detection

The study delves into analyzing network traffic behavior, identifying potential attacks, understanding their mechanisms, and evaluating their impact on target machines. Sample datasets were collected and analyzed using Wireshark tools to facilitate clustering. Following this, datasets were filtered using Jupyter Notebook and Anaconda Navigator to train algorithms like KNN and SVM for anomaly detection. The development phase involved creating a model with KNN and integrating it into a cloud-based web application, leveraging Firebase's SMS API and Semaphore for functionality. Subsequently, various Linux attacks such as UDP, Synflood, FindFlood, Reset Flood, LOIC, Push Ach, and Sinfin Flood were tested, showcasing commendable results in terms of the model's effectiveness in detecting and mitigating these assaults.

Anomaly Detection Severe

Installation

Install the dependencies and devDependencies before starting the server. To avoid module issues, ensure that the Python version installed on your machine is Python 3.6.8.

Note: Check to see whether you've already built a virtual environment, or download Pycharms IDE and launch this project.

git clone https://github.com/Senpaixyz/AnomalyDetection-WebApplication.git
cd AnomalyDetection-WebApplication
pip install requirements.txt

Server.

This code allows you to start monitor mode on your Windows OS . If your machine is not running in Windows, you can skip this step. If you encounter any errors when running the code below, please install npcap and download Microsoft Visual C++ 14.0 or above. Run the code below until the console displays "NPCAP Service Started."

net start npcap

Open your favorite Terminal and run these commands.

python app.py

Open the server and go to that local server URL.

http://127.0.0.1:5000/

API Configuration

Make sure you followed the PDF method for firebase configuration. However, you must wait 2-4 working days for Semaphore to offer you 10 SMS credits for trial. For testing purposes, I kept all of my API keys inside the Python file, but you are free to create .ENV files to secure your keys.

| Firebase | Using Firebase for Anomaly Detection.pdf | | SMS API | Semaphore |

anomalydetection-webapplication's People

Contributors

senpaixyz avatar

Watchers

 avatar  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.