Skip to content

necoma/nac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nac (Network Anomaly Classifier)

Install OPAM

Setup OPAM and OCaml

  • Initalize OPAM in any directory of your choice (usually your home directory):
opam init
  • List the available compiler versions:
opam switch
  • Install OCaml:
opam switch x.y.z

Current latest one:

opam switch 4.02.3
  • Add our custom opam repository:
opam remote add por-dev [email protected]:johanmazel/por-dev.git

or

opam remote add por-dev https://github.com/johanmazel/por-dev.git
  • Update package list:
opam update
  • Install our libraries:
opam install ocaml-nac_lib

Note: You will probably need to install dependancies such as the GNU Scientific Library.

On debian:

sudo apt-get install libgsl-dev

Tool compilation

opam install itv-tree

make

Usages

Trace and XML

ctx mode: classify anomalies annotated in an xml file and located in a network trace using:

./nac.native ctx taxonomy_v1.23/anomaly_taxonomy trace.dump admd.xml

Trace and MAWILab XML

ctmx mode: classify anomalies annotated in a "anomalous/suspicious" xml file and a "notice" XML file, and, located in a network trace using:

  • anomaly_taxonomy
  • trace.dump
  • anomalous_suspicious_admd.xml
  • notice_admd.xml
./nac.native ctmx taxonomy_v1.23/anomaly_taxonomy trace.dump anomalous_suspicious_admd.xml notice_admd.xml

Trace

ct mode: classify anomalies in a network trace using:

  • anomaly_taxonomy
  • trace.dump
./nac.native ctmx taxonomy_v1.23/anomaly_taxonomy trace.dump

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages