joaoceron / NetDetect

End-to-end differentiable model for botnet detection using GRUs with additive attention.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NetDetect: End-to-end differentiable model for botnet detection.

No Maintenance Intended

Requirements

  • Docker-CE version 17.06.2-ce
  • Docker Compose version 1.14.0

Getting Started

Start up all containers.

docker-compose up --build

Now hop into Docker and download some files.

cd NetDetect
bash access_NetDetect.sh
python3 -m NetDetect.datasets.iscx.download --n_steps 24
python3 -m NetDetect.datasets.isot.download --n_steps 24

Now run unit tests to make sure everything builds ok.

py.test NetDetect/tests

Usage:

Let's get training started.

To start training on ISCX:

python3 -m NetDetect.src.main_iscx.train --n_steps=24

To start Tensorboard

cd /NetDetect/src/main_iscx
bash run_tensorboard.sh

Special thanks

  • Dr. Bunn from Caltech's CACR for mentoring
  • Microsoft for the $5,000 Azure Research Award
  • hmishra2250 for his open source flow featurization module upon which our baseline featurization module is based.

Contribute

I appreciate all contributions. Just make a pull request. Contributors are listed under 'contributors.txt'.

License

MIT License

Copyright (c) 2017 Eric Zhao

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

End-to-end differentiable model for botnet detection using GRUs with additive attention.

License:MIT License


Languages

Language:Python 65.3%Language:C 30.2%Language:Shell 1.6%Language:C++ 1.5%Language:Dockerfile 1.4%Language:HTML 0.0%