Giter Club home page Giter Club logo

deepretina's Introduction

DeepReTiNA

MIT License Documentation Paper

DeepReTiNA stands for Real-Time Anomaly Detection IDS with a Deep and comprehensive study on the CSE-CIC-IDS2018 Dataset. Click here to read the related paper.

The main contribution is the creation of a classifier model that has been integrated in the CICFlowMeter tool, originally developed by A. H. Lashkari (CICFlowmeter-V4.0) to detect Real-Time cyber-attacks and act as a simple Intrusion Detection System (IDS).

alt text

User Usage

1. (Optional) Dataset Training Jupiter file

The dataset training has been developed in a Google Colab document and it is provided on the GitHub repository as a Juniper file (.ipynb). Simply import it into Google Colab to start working on it.

2. Tools Requirements

The modified version of the CICFlometer tool is developed in Java. Please make sure a Java JDK is installed in your machine additionally with Apache Maven. Then clone this repository as follows:

git clone https://github.com/erikmurtaj/DeepReTiNA.git

Windows

Please make sure WinCap is installed in your machine. If not install the latest version and re-start the computer.

3. Install jnetpcap

Windows

Move to the DeepReTiNA/CICFlowMeter-classifier/jnetpcap/win/jnetpcap-1.4.r1425 folder. Then run:

 mvn install:install -file -Dfile=jnetpcap.jar -DgroupId=org.jnetpcap -DartifactId=jnetpcap -Dversion=1.4.1 -Dpackaging=jar

Linux

Move to the DeepReTiNA/CICFlowMeter-classifier/jnetpcap/linux/jnetpcap-1.4.r1425 folder. Then run:

sudo mvn install:install -file -Dfile=jnetpcap.jar -DgroupId=org.jnetpcap -DartifactId=jnetpcap -Dversion=1.4.1 -Dpackaging=jar

4. Tool Run

Eclipse

Run eclipse with sudo in Linux or as administrator in Windows. Then:

1. Right click App.java -> Run As -> Run Configurations -> Arguments -> VM arguments:
-Djava.library.path="* jnetpcap_path *" -> Run

2. Right click App.java -> Run As -> Java Application

Replace the “jnetpcap_path“ string with the following path for Linux:

"* pathtoproject */jnetpcap/linux/jnetpcap-1.4.r1425"

Or with the following string for Windows:

 "* pathtoproject *\jnetpcap\win\jnetpcap-1.4.r1425"

Where the “pathtoproject“ referes to the location the project have been saved, in particular of the CICFlowmeter-classifier folder. For example:

 "C:\user\Documents\DeepRetina\CICFlowmeter-classifier"

IntelliJ IDEA

Open a Terminal in the IDE and for Linux run the following commands:

$ sudo bash
$ ./gradlew execute

Instead for Windows run:

$ gradlew execute

5. Make Package

Eclipse

At the project root run the following command:

mvn package

IntelliJ IDEA

Open a Terminal in the IDE and for Linux run the following command:

$ ./gradlew distZip

Instead for Windows run:

$  gradlew distZip

Video Example of the Tool in action during a Bruteforce attack

GNS3_bruteforce_attack_test.mp4

deepretina's People

Contributors

erikmurtaj avatar

Stargazers

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