Skip to content

zengrotrust/Security-Automation-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Security-Automation-Stack

Capstone Project for Georgia Tech Master's in Cybersecurity

Containerized open-source stack

image

Increase max_map_count on your host (Linux) Wazuh indexer creates many memory-mapped areas. So you need to set the kernel to give a process at least 262,144 memory-mapped areas.

Increase max_map_count on your Docker host:

sysctl -w vm.max_map_count=262144

Update the vm.max_map_count setting in /etc/sysctl.conf to set this value permanently. To verify after rebooting, run sysctl vm.max_map_count.

Warning If you don’t set the max_map_count on your host, the Wazuh, TheHive, and Shuffle indexers will NOT work properly.

Run install.sh script for auto-installation (sudo chmod +x install.sh to make it executable).

1. Clone the Wazuh repository to your home directory:

$ cd

2. Clone the Shuffle repository to your home directory:

3. Generate the Wazuh certificates:

$ cd wazuh-docker/single-node

$ sudo docker compose -f generate-indexer-certs.yml run --rm generator

4. Fix prerequisites for the Opensearch database

$ cd

$ cd Shuffle

$ sudo mkdir shuffle-database

$ sudo chown -R 1000:1000 shuffle-database

5. Clone this repository

$cd

6. Replace all "/home/ubuntu" with your home directory in docker-compose.yml and .env

7. Run docker compose

$ sudo docker compose up -d

8. Alternatively, you can deploy a stack via the Portainer GUI

Make sure you load variables from .env file and change .env to stack.env

image

Releases

No releases published

Packages

No packages published