Skip to content

You've just entered the sweetest trap — no bees, just data!

License

Notifications You must be signed in to change notification settings

cheshireca7/lazypot

Repository files navigation

lazypot

lazypot

Process to deploy ELK Stack in the monitoring server

  1. Set vx.max_map_count according to Elasticsearch docs
sudo sysctl -w vm.max_map_count=262144
  1. Set the variables in .env file
  2. Use docker-compose-elasticstack.yml to deploy the Elasticsearch + Kibana in the monitoring server
sudo docker compose -f docker-compose-elasticstack.yml up -d
  1. Download the CA certificate, and Elasticsearch PEM certificate and key
sudo docker exec es01 tar cvzf /tmp/certs.tar.gz /usr/share/elasticsearch/config/certs/ca/ca.crt /usr/share/elasticsearch/config/certs/es01/es01.crt /usr/share/elasticsearch/config/certs/es01/es01.key
sudo docker cp es01:/tmp/certs.tar.gz .
sudo docker exec es01 rm -f /tmp/certs.tar.gz

Process to deploy Lazypot in the public server

  1. Download Dockerfile, docker-compose-lazypot.yml, nginx, startup.sh and run.sh
  2. Upload certs.tar.gz
  3. Use the run.sh Bash script to run suricata + nginx + filebeat + auditbeat:
chmod +x ./run.sh
chmod +x ./startup.sh
sudo ./run.sh
  1. Follow interactive configuration:

If setting up filebeat fails, may be due to Elasticsearch not fully deployed, wait a few minutes and run run.sh again

  1. Log in to Kibana to see Suricata logs uploaded to Elasticsearch

About

You've just entered the sweetest trap — no bees, just data!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published