Giter VIP home page Giter VIP logo

lightsys_ids_exec's Introduction

Lightsys_IDS_Exec

This project uses a Bayesian method to calculate anomalies from data given in grsec execution data logs.

Getting Started

Creating Databases

Create databases using

source createTables.sql

in mysql

Parsing Data

usage: python parseData.py <'database'> <'relative/path/to/file'>

ex: python parseData.py dev1 testFile

Calculate Anomalies

Setup databases

Initial Training:

Use parseData.py to fill in dev1 table using chosen past log files

Repeat above for as many log files as necessary in order to gurantee accurate initial training data

Use initalize.py that pulls information from dev1 to make analysis as to what is and isn't anomalous.

ex: python initialize.py dev1 master_val

Live anomaly detection:

Use parseData.py to fill dev2 with single log file that contains the logs to officially test

ex: `python parseData.py dev2 testFile2

Use learn.py to calucate any anomalies in the chosen log file

ex: python learn.py dev2 master_val

The contents will be outputted to anomalies.txt

Then run the command:

source moveData.sql

in mysql

Authors

  • Kyle Hansen - Bayesian anomaly calculation
  • John Wolfe - Database creation
  • Breven Hettinger - Parsing data

Possible Improvements

  • Adding more attributes on learning algorithm
  • Including 'chroot' in parser

lightsys_ids_exec's People

Contributors

brev95 avatar kylhansen avatar jbw14a avatar texnical avatar

Watchers

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