Git Product home page Git Product logo

incremental_ids's Introduction

Intrusion detection using online machine learning

Introduction

Grand View Research estimated the network security management market to be valued at ~4 billion USD in 2018, with projected annual growth of 14.5%. It is an enormous market with enormous growth due to the growing ubiquity of cyberattacks worldwide.

An Intrusion Detection System (IDS) is a system that monitors networks for malicious activity. In this project, we utilize a variety of approaches to construct an IDS from scratch.

Classifying KDD99

Our analysis will be focused on the KDD99 dataset, a large, labelled dataset consisting of packet metadata from about 5 million packets. Of these, about 3 million (60%) are malicious, and the rest are background. We show that building a good classifier on this dataset is remarkably trivial โ€• both logistic regression and isolation forests perform extremely well. We also build an incrementally-trained logistic regression on the shuffled dataset, and show that this achieves excellent performance.

Benchmarking Half-Space Trees

Having shown the tractability of using the entirety of KDD99, we then hone in on a more realistic scenario, where the data is simply an unlabeled stream of majority background traffic. A subset of the KDD99 dataset, known as HTTP (KDD99), simulates this environment with an extreme class imbalance (0.35% in the positive class). We attempt to replicate the results found in this paper. Using two different libraries (creme and skmultiflow), we demonstrate that the original paper's reported results for HTTP are too good; the authors incorrectly preprocessed their data.

incremental_ids's People

Contributors

nicholasjin avatar

Stargazers

Alper Karaca avatar Clovis Ouedraogo 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.