Wazuh – Install, Config, Manage

I’m using Wazuh as Security Information and Event Management (SIEM) solution, it provides monitoring, detection, and alerting of security events and incidents.

Wazuh can do much more and its up to you how you learn and integrate it within your infrastructure and IT environment. It can also do XDR and actively block connections, can also provide threat inteligence and end pointpoint protection.

In this guide series I will be discussing the following:

  • Installation of Wazuh Server
  • Installation of Agents
  • Wazuh Server LDAP/ActiveDirectory Authentication
  • Useful Dashboard items
  • Enable Syslog
  • Custom Decoder and Rules
  • Custom Rulesets
  • Explaining Logs Archives
  • Real life Example: Configure Dell Network switches with Wazuh
  • Real life example: Configure Fortigate with Wazuh
  • Checking events and useful Dashboards
  • Email Alerts configuration

Hardware Requirements:

AgentsCPURAMStorage (90 days)
1–254 vCPU8 GiB50 GB
25–508 vCPU8 GiB100 GB

We will be using RockyLinux 9.4. check official guide for more info.

Installing wazuh

The recommended systems are: Red Hat Enterprise Linux 7, 8, 9; CentOS 7, 8; Amazon Linux 2; Ubuntu 16.04, 18.04, 20.04, 22.04. The current system does not match this list. Use -i|–ignore-check to skip this check

Version 4.9 also released

Firewall Ports

Please ensure that traffic is allowed on these ports: 1515, 1514, 443, 514.

Congrats ! You now have installed and configured Wazuh.

Note You can find the passwords for all the Wazuh indexer and Wazuh API users in the wazuh-passwords.txt file inside wazuh-install-files.tar. To print them, run the following command:

sudo tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt

Service Management

HealthCheck

https://wazuh/app/wz-home#/health-check

Installing Wazuh agents on Windows endpoints

Download the installer from here

Using CMD:

Using Powershell:

Using GUI:

You only need to provide IP, agent will automatically request the Key

Restart the wazuh service.

CMD:

Once the agent is running it should look similar to following:

The agent will also show up in the Dashboard.

Deploying Wazuh agents on Linux endpoints

Import the GPG key, add repo then install agent as below:

https://documentation.wazuh.com/current/user-manual/agent/deployment-variables/deployment-variables-linux.html –> for more installation options



more info to be added …


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *