-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Welcome to the Hunt-AI installation guide! Follow these steps to set up Hunt-AI on your local machine and start threat hunting efficiently.
Before installing Hunt-AI, make sure you meet the following system requirements:
- 🖥️ PC with at least 8 GB RAM
- ⚙️ Docker Compose v2 – To run the project with Docker and configure services.
- Install Docker Compose v2
- 📦 Docker – Ensure you have Docker installed for containerization.
- 🐍 Python 3.x – Make sure Python is installed for running tests and custom scripts.
Follow these steps to set up Hunt-AI:
You can start by cloning the repository to your local machine. Open a terminal and run:
git clone https://github.com/Infinit3i/hunt-ai.git
cd hunt-aiAlternatively, you can [download the ZIP](https://github.com/Infinit3i/hunt-ai/archive/refs/heads/main.zip) from the GitHub page and extract it to your desired location.
Once you're in the hunt-ai directory, build the Docker image. This will set up all the required containers and services for Hunt-AI.
docker build -t hunt-ai .Now that you've built the image, run the container with:
docker run -d -p 31337:31337 hunt-aiThis command will run Hunt-AI in the background, listening on port 31337.
To access Hunt-AI's web interface, open a browser and visit:
http://localhost:31337
If you're on a Linux-based system, you may need to open it with a browser command:
sleep 2 && google-chrome http://localhost:31337 &To ensure everything is working properly, you can run tests to verify the installation. In the hunt-ai folder, run:
python -m unittest discover TestingThis will run all tests in the Testing folder to confirm that everything is set up correctly.
Once you have the environment up and running, you can begin using Hunt-AI to investigate and track threats. Refer to the [Usage Guide](Usage) for detailed steps on how to interact with the system and perform threat hunting operations.
If you run into issues, here are some common troubleshooting steps:
-
Docker Build Issues: Ensure Docker and Docker Compose are correctly installed and running. Verify by running
docker --versionanddocker-compose --version. -
Port Binding Issues: If port
31337is already in use, modify the Docker run command to use a different port:docker run -d -p 8080:31337 hunt-ai
Want to contribute to Hunt-AI? Check out our [Contributing Guide](Contributing) to get started!