Wazuh is an open-source security platform that provides comprehensive intrusion detection system (IDS) capabilities by monitoring systems, networks, and applications for suspicious activity and potential threats.
Setting up Wazuh IDS contains mainly 2 parts :
- Wazuh Server
- Wazuh Agent
The Wazuh Server acts as the central management and processing hub, collecting, analyzing, and storing security data from various sources, including Wazuh agents and external logs, to provide comprehensive threat detection and response capabilities.
Wazuh Agents are lightweight, deployed on endpoint devices, and tasked with collecting and forwarding local logs, system metrics, and security events to the Wazuh server for centralized analysis and alerting.
- For setting up the server its better to use Wazuh Assistant in an Linux Based Operating system than using Wazuh OVA Virtual Machine.
- You can choose any of the above Operating System
- I choose Ubuntu 22.04 for this.
- Its open-source, light-weight, also easy to manage as a wazuh server.
- Setup the Ubuntu Virtual machine
- Open a
Terminal
and paste this code below :
sudo curl -sO https://packages.wazuh.com/4.8/wazuh-install.sh && sudo bash ./wazuh-install.sh -a
- It downloads and installs the WAZUH server config files in your system.
- Also after the installation process I got the username and password for the Wazuh Server Dashboard.
- By using my Ubuntu system IP address (private IP) I could get get into the Wazuh Dashboard.
- Access the Wazuh Dashboard
- Click the Add Agent link to add a new endpoint device for monitoring
- Here I'm selecting the DEBIAN amd64 for my Kali Linux laptop & setting the IP address of my ubuntu system (wazuh server).
- After setting up my agent name and group, i got the bash commands to install Wazuh Agent in my Kali Linux Laptop.
- After providing the commands, Wazuh Agent starts to run in my Linux Distro
- Now the endpoint has been added to the server.
- Access the Wazuh Dashboard
- click on the Add New Agent
- I need to install the Wazuh Agent on the Windows, so im selecting the Windows version
- Now giving the Agent name and group, After that I get the commands to start Wazuh Agent in Windows.
- copy the commands and paste in the windows powershell (Powershell should be run as administrator
- After that my Windows system has been added to the Wazuh IDS.