awaiswill / deep_dga_detection

A character-based DGA detection algorithm

Repository from Github https://github.comawaiswill/deep_dga_detectionRepository from Github https://github.comawaiswill/deep_dga_detection

Deep DGA Detection

Getting Started


1. Installation Process

Clone and install environment dependencies

git clone ...
conda env create --file local_env.yml
conda install pytorch torchvision cpuonly -c pytorch

Activate environment

conda activate

Download data

dvc pull

Generate data streams to FLASK API

# Ensure you are in the root directory of the repo and run
FLASK_ENV=development FLASK_APP=app.py flask run
# Then open up another terminal and run
python eventgen.py

OPTIONAL: Add environment to Jupyter Notebook

python -m ipykernel install --user --name=deeg_dga

References


DGA 2016, Andrew Waeva, accessed 26 February 2020, https://github.com/andrewaeva/DGA.

Detecting DGA domains with recurrent neural networks and side information, Curtin, Gardner, Grzonkowski, Kleymenov, and Mosquera. 2019, accessed 26 February 2020, https://arxiv.org/pdf/1810.02023.pdf.

About

A character-based DGA detection algorithm

License:MIT License


Languages

Language:Jupyter Notebook 88.8%Language:Python 11.2%