README.md

ManaTI Project

Machine Learning for Threat Intuitive Analysis

The goal of the ManaTI project is to develop machine learning techniques to assist an intuitive threat analyst to speed the discovery of new security problems. The machine learning will contribute to the analysis by finding new relationships and inferences. The project will include the development of a web interface for the analyst to interact with the data and the machine learning output.

This project is partially supported by Cisco Systems.
For more information about the project please go to Stratosphere Lab page

To change the password by default of the postgres user (you can put the same password if you want), specially good idea if you want to use pgAdmin3-4 as a postgres client. Remember don't exit of "sudo - postgres"

If you want to configure the Redis. For example, you are
interested to change the password, you can:

sudo vi /etc/redis/redis.conf

and find the line requirepass and write next it
the password that you want.

requirepass passwodUser

Just remember to update
the variable environment REDIS_PASSWORD in the
file .env in the root of the project.

Run migrate files

python ./manage.py makemigrations guardian
python ./manage.py migrate

Registering External modules.
You must run this command everytime you add or remove
an External Module

python ./manage.py check_external_modules

Execute redis_worker.sh file (in background '&' or in another console).

./utility/redis_worker.sh

Create super user for login in the web system if you need

python manage.py createsuperuser

How to run it

It is not recommended to run the server as root, but since only root can open ports numbers less than 1024, it is up to you which user you use. By default it opens the port 8000, so you can run it as root:

Docker image

If you have docker installed, maybe can be a good idea install the ManaTI docker image. The Dockerfile and
server configurations files are here.
This ManaTI docker image is executed over a server NGINX and uWSGI.
This image is maintained by @Piuliss