Wazuh: The Open-Source SIEM Powerhouse for Modern Threat Detection

Listen to this Post

Featured Image

Introduction

Wazuh is an open-source security platform that combines SIEM (Security Information and Event Management), XDR (Extended Detection and Response), and endpoint protection into a single solution. Designed for organizations that need enterprise-grade security without the high costs, Wazuh provides real-time threat detection, compliance monitoring, and automated incident response.

Learning Objectives

  • Understand Wazuh’s core capabilities and how it compares to commercial SIEM solutions.
  • Learn key Wazuh commands and configurations for threat detection and response.
  • Explore integrations with tools like Suricata, ELK Stack, and cloud platforms (AWS/GCP).

1. Installing and Configuring Wazuh

Verified Command (Linux):

curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh && sudo bash ./wazuh-install.sh -a

Step-by-Step Guide:

  1. This command downloads and executes the Wazuh installation script.
  2. The `-a` flag enables automatic deployment (manager, indexer, and dashboard).
  3. After installation, access the dashboard at https://<server-ip>:5601.

2. Enabling File Integrity Monitoring (FIM)

Verified Configuration (Wazuh Manager):

<syscheck>
<disabled>no</disabled>
<directories>/etc,/usr/bin,/usr/sbin</directories>
<report_changes>yes</report_changes>
</syscheck>

Step-by-Step Guide:

  1. Edit `/var/ossec/etc/ossec.conf` and add the above XML block.

2. Restart Wazuh: `sudo systemctl restart wazuh-manager`.

  1. Wazuh will now monitor critical directories for unauthorized changes.

3. Detecting Brute-Force Attacks with Wazuh

Verified Rule (Custom Detection):

{
"rule": {
"level": 10,
"description": "Multiple failed SSH login attempts",
"groups": ["authentication_failed", "brute_force"],
"match": "sshd.Failed password for"
}
}

Step-by-Step Guide:

1. Add this rule to `/var/ossec/etc/rules/local_rules.xml`.

2. Reload Wazuh: `sudo systemctl restart wazuh-manager`.

  1. Failed SSH attempts will now trigger alerts in the dashboard.
    1. Integrating Wazuh with Suricata for Network Threat Detection

Verified Command (Suricata Configuration):

sudo wazuh-integratord -c /var/ossec/etc/integrations/suricata.yml

Step-by-Step Guide:

1. Install Suricata: `sudo apt-get install suricata`.

  1. Configure Wazuh to forward alerts to Suricata via the integration file.
  2. Network-based threats (e.g., port scans, exploits) will now appear in Wazuh alerts.

5. Automating Threat Response with Active Response

Verified Command (Block Malicious IPs):

<active-response>
<command>firewall-drop</command>
<location>local</location>
<level>7</level>
</active-response>

Step-by-Step Guide:

1. Add this block to `/var/ossec/etc/ossec.conf`.

  1. Define the threshold for triggering the response (e.g., after 5 failed logins).
  2. Wazuh will automatically block the offending IP via firewall rules.

6. Compliance Reporting with CIS Benchmarks

Verified Command (Generate Compliance Report):

sudo /var/ossec/bin/wazuh-logtest -l 14 -q "cis_check"

Step-by-Step Guide:

1. Install CIS benchmark policies in Wazuh.

2. Run the command to generate compliance reports.

3. Export findings to PDF/CSV for audits.

7. Scaling Wazuh for Enterprise Deployments

Verified Configuration (Cluster Setup):

nodes:
- name: node-1
ip: 192.168.1.10
- name: node-2
ip: 192.168.1.11

Step-by-Step Guide:

1. Edit `/var/ossec/etc/cluster.json` to define node roles (manager/worker).

2. Enable load balancing for high-availability deployments.

What Undercode Say:

  • Key Takeaway 1: Wazuh is a cost-effective alternative to commercial SIEMs, offering real-time threat detection, compliance, and automated response.
  • Key Takeaway 2: Proper configuration and skilled personnel are critical for maximizing Wazuh’s potential.

Analysis:

Wazuh is transforming how mid-market and enterprise organizations approach cybersecurity. Its open-source nature eliminates vendor lock-in, while its MITRE ATT&CK integration ensures robust threat detection. However, self-management requires expertise—outsourcing may be necessary for teams lacking in-house SOC capabilities.

Prediction:

As cyber threats evolve, Wazuh will likely expand its AI-driven detection features, bridging the gap between open-source and premium SIEM solutions. Organizations adopting Wazuh now will gain a competitive edge in threat visibility and cost efficiency.

IT/Security Reporter URL:

Reported By: Charlescrampton Cybersecurity – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 Telegram