GO KALI FREE

Wazuh

Information Gathering

Intermediatelow risk

Wazuh is a free, open-source security platform combining SIEM and XDR capabilities for endpoints and cloud workloads. Its architecture uses a universal endpoint agent plus the Wazuh server, OpenSearch-based Wazuh indexer and OpenSearch Dashboards-based Wazuh dashboard, with Filebeat sending alerts from the server to the indexer. Kali Linux has no Wazuh package: install only the agent through the official Wazuh APT repository on Kali, and run the manager, indexer and dashboard on a supported 64-bit Linux host such as Ubuntu 22.04 or 24.04.

Installation

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

Basic Syntax

sudo /var/ossec/bin/wazuh-control status

Quick Facts

Full Name
Wazuh
License
GNU GPL v2 server and Apache License 2.0 indexer/dashboard
Category
Open-Source SIEM and XDR
Architecture
Agent, server, indexer and dashboard
First Released
2015
Latest Stable
Wazuh 4.14.10
Dashboard Port
443/TCP
Kali Package
None — use the official repository for the agent

Tool Overview

Wazuh is a free open-source security platform that combines extended detection and response with security information and event management. It was forked from OSSEC in 2015 and has developed into a platform for endpoint and cloud-workload monitoring. The Wazuh server is licensed under GNU GPL v2, while the indexer and dashboard use Apache License 2.0.

The architecture places one universal Wazuh agent on each monitored endpoint. Three central components provide the core platform: the Wazuh server runs the manager, analysis engine, rules and decoders; the OpenSearch-based Wazuh indexer stores and searches alerts; and the OpenSearch Dashboards-based Wazuh dashboard provides the web interface. Filebeat sends alert data from the server to the indexer.

Wazuh capabilities include log analysis, intrusion detection, vulnerability detection using CVE feeds, file integrity monitoring through syscheck, security configuration assessment, rootkit detection through rootcheck, malware detection, MITRE ATT&CK mapping, compliance mapping, cloud monitoring, container security and threat intelligence. Active response can invoke actions such as `firewall-drop`, `host-deny` and `restart-wazuh` when explicitly configured.

Kali Linux does not provide a Wazuh package. A Kali endpoint can run the Wazuh agent after the official Wazuh APT repository is configured, but the manager, indexer and dashboard require a supported 64-bit Linux host. For a current lab, Ubuntu 22.04 or 24.04 is a practical supported choice. Wazuh 4.14.10 is the stable release covered here; Wazuh 5.0 remains beta software.

Quick Reference Commands

Verified quick-reference commands for Wazuh
CommandPurpose
curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh && sudo bash ./wazuh-install.sh -aInstall the all-in-one Wazuh platform on a supported Linux host
sudo /var/ossec/bin/wazuh-control statusCheck Wazuh manager process status
WAZUH_MANAGER="10.0.0.2" apt-get install wazuh-agentInstall a Linux agent from the configured official repository
sudo /var/ossec/bin/agent-auth -m <manager-ip> -A <name>Enroll an authorized agent with the selected manager
sudo /var/ossec/bin/wazuh-logtestTest a log line against Wazuh decoders and rules
sudo /var/ossec/bin/agent_control -lList agents and their last keep-alive state
Wazuh QuickstartDeploying Wazuh agents on Linux endpointsArchitecture - Getting started with WazuhRelease notes

Common Commands

curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh && sudo bash ./wazuh-install.sh -aDownload the Wazuh 4.14 installation assistant and deploy the all-in-one server, indexer and dashboard configuration.
sudo bash ./wazuh-install.sh -uUninstall central Wazuh components previously deployed through the installation assistant.
sudo tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txtPrint the generated Wazuh passwords stored in the installation archive after an all-in-one deployment.
systemctl is-active wazuh-indexer wazuh-manager filebeat wazuh-dashboardCheck whether the indexer, manager, Filebeat and dashboard services are active.
sudo ss -tlnp | grep -E ":(443|1514|1515|9200|55000)"Inspect listeners for the dashboard, agent connection, enrollment, indexer API and Wazuh server API ports.
apt-get update && apt-get install gnupg apt-transport-https curlInstall the prerequisites required to configure the official Wazuh APT repository on a Debian-based endpoint.
curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpgImport the official Wazuh repository signing key into the documented keyring and set its permissions.
echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.listAdd the official Wazuh 4.x APT repository to a Debian-based endpoint.
apt-get updateRefresh package metadata after adding or disabling the Wazuh repository.
WAZUH_MANAGER="10.0.0.2" apt-get install wazuh-agentInstall the Wazuh agent and configure it to use the selected manager address.
systemctl daemon-reloadReload systemd configuration after installing the Wazuh agent package.
systemctl enable wazuh-agentEnable the Wazuh agent to start automatically during system boot.
systemctl start wazuh-agentStart the installed Wazuh agent service.
sed -i "s/^deb /#deb/" /etc/apt/sources.list.d/wazuh.list && apt-get updateDisable the Wazuh APT source after agent installation and refresh package metadata.
echo "wazuh-agent hold" | dpkg --set-selectionsPlace the Wazuh agent package on hold to prevent an unintended package update.
msiexec /i wazuh-agent-4.14.10-1.msi /q WAZUH_MANAGER="wazuh.example.org" WAZUH_AGENT_GROUP="pme"Silently install Wazuh agent 4.14.10 on Windows and assign its manager and agent group.
NET START WazuhSvcStart the Wazuh agent service on a Windows endpoint.
git clone https://github.com/wazuh/wazuh-docker.git -b v4.14.10Clone the official Wazuh Docker repository at the Wazuh 4.14.10 tag.
cd wazuh-docker/single-nodeEnter the official single-node Docker deployment directory.
sysctl -w vm.max_map_count=262144Set the documented kernel map-count value required by the single-node Docker deployment.
docker compose -f generate-indexer-certs.yml run --rm generatorGenerate indexer certificates for the official Wazuh single-node Docker deployment.
docker compose up -dStart the Wazuh single-node Docker deployment in detached mode.
sudo /var/ossec/bin/wazuh-control startStart the Wazuh manager through the manager control utility.
sudo /var/ossec/bin/wazuh-control stopStop the Wazuh manager before approved maintenance.
sudo /var/ossec/bin/wazuh-control restartRestart the Wazuh manager after an approved configuration change.
sudo /var/ossec/bin/wazuh-control statusDisplay the status of Wazuh manager processes.
sudo /var/ossec/bin/wazuh-control infoDisplay information about the installed Wazuh manager.
sudo /var/ossec/bin/manage_agents -lList agents registered with the Wazuh manager.
sudo /var/ossec/bin/agent_control -lList managed agents and their last keep-alive information.
sudo /var/ossec/bin/wazuh-logtestInteractively test a log line against the manager's decoders and rules.

Step-by-Step Guide

  1. 1Define an authorized lab or operational scope first, including the endpoints, cloud workloads, logs, enrollment sources, response actions and users permitted to access the resulting security data.
  2. 2Choose a supported 64-bit Linux host for the central manager, indexer and dashboard. Kali Linux has no Wazuh package and should be treated as a Debian-based agent endpoint rather than an officially supported central Wazuh host.
  3. 3For a quickstart deployment, size the host for the intended endpoint count and run `curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh && sudo bash ./wazuh-install.sh -a`. The documented all-in-one quickstart targets up to 100 endpoints and 90 days of indexed data.
  4. 4Retrieve the generated credentials with `sudo tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt`, open `https://<WAZUH_DASHBOARD_IP_ADDRESS>`, accept the expected self-signed-certificate warning only after verifying the intended host, and change the generated administrator password.
  5. 5Verify the central services with `systemctl is-active wazuh-indexer wazuh-manager filebeat wazuh-dashboard` and inspect required listeners with `sudo ss -tlnp | grep -E ":(443|1514|1515|9200|55000)"`. Keep the server API on 55000 and indexer API on 9200 closed to untrusted networks.
  6. 6Install one agent through the official repository, set `WAZUH_MANAGER` to the authorized manager, reload systemd, enable the service and start it. Use `sudo /var/ossec/bin/agent_control -l` and the dashboard to verify enrollment and keep-alive state before adding more endpoints.
  7. 7Test detection content with `sudo /var/ossec/bin/wazuh-logtest`. Keep default rules beneath `/var/ossec/ruleset/rules/` unchanged, place rule overrides in `/var/ossec/etc/rules/local_rules.xml`, and place local decoder content in `/var/ossec/etc/decoders/local_decoder.xml`.
  8. 8Review alerts in the dashboard and `/var/ossec/logs/alerts/alerts.json`, compare them with archived events when archives are enabled, tune only validated rules, and configure active response such as `firewall-drop` only inside the authorized lab scope with a tested recovery path.

Warnings

Use Cases

Centralized Log Analysis

Collect endpoint and workload events, decode them on the manager, evaluate rules and search resulting alerts through the indexer and dashboard.

Intrusion Detection

Detect suspicious endpoint activity with rules, decoders, agent telemetry and MITRE ATT&CK mappings.

Vulnerability Detection

Use CVE feeds to identify vulnerabilities relevant to monitored endpoints and review the findings through the platform.

File Integrity Monitoring

Monitor selected files and directories with syscheck so authorized teams can investigate unexpected integrity changes.

Configuration and Compliance

Assess endpoint configuration through SCA and map relevant results to compliance contexts such as PCI DSS, HIPAA and GDPR.

Cloud and Container Security

Monitor AWS, Azure and GCP workloads together with Docker and Kubernetes environments in an approved security architecture.

Key Features

Best Practices

Common Errors

Wazuh package is not found on Kali Linux
Use a supported 64-bit Linux host for the manager, indexer and dashboard, and configure the official Wazuh repository only for the Kali agent.
Dashboard administrator login fails
Retrieve the generated password with `sudo tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt`, sign in as `admin` and change the password.
Wazuh dashboard is not ready yet
Run `systemctl is-active wazuh-indexer wazuh-manager filebeat wazuh-dashboard` and restore the inactive component before interpreting dashboard results.
Wazuh agent is not connecting
Check `agent_control -l`, inspect the selected agent with `agent_control -i <id>`, verify `/var/ossec/etc/client.keys` and confirm authorized access to 1514/TCP and 1515/TCP.
Expected custom rule does not fire
Run `sudo /var/ossec/bin/wazuh-logtest`, inspect decoder and rule stages, and place local content only in the documented local rule or decoder files.
Dashboard search returns no alerts
Check `/var/ossec/logs/alerts/alerts.json`, validate the agent and manager, then verify Filebeat, indexer health and the selected dashboard time range.
Wazuh single-node Docker deployment does not initialize correctly
Run `sysctl -w vm.max_map_count=262144`, generate certificates with the documented Docker Compose command and then run `docker compose up -d`.
All-in-one deployment is slow or unstable
Provide resources appropriate for the documented 1-25, 26-50 or 51-100-agent quickstart tier, or reduce the approved deployment scope.

People Also Ask

What is Wazuh in cybersecurity?

Wazuh is a free open-source SIEM and XDR platform for endpoint and cloud-workload monitoring. It combines agents with a server, indexer and dashboard.

Is Wazuh completely free?

Yes. The Wazuh server uses GNU GPL v2, while the indexer and dashboard use Apache License 2.0. Infrastructure and operational work still have costs.

Can I install Wazuh with apt on Kali Linux?

No. Kali Linux has no Wazuh package. Install the agent through the official Wazuh APT repository, and place the central components on a supported 64-bit Linux host.

What is the default Wazuh dashboard login?

The dashboard username is `admin`; its password is generated by the installation assistant and stored in `wazuh-passwords.txt` inside `wazuh-install-files.tar`. Change it after first access.

Which ports does a Wazuh agent need?

Agents normally use 1514/TCP for their connection and 1515/TCP for enrollment. The dashboard uses 443/TCP. Keep the server API on 55000 and indexer API on 9200 closed to untrusted networks.

Is Wazuh better than Splunk?

Wazuh is free and open source with integrated agent-based SIEM/XDR capabilities. Splunk is proprietary, and its Enterprise Security SIEM app is licensed separately on top of Splunk Enterprise.

Related Tools

Nmap

Information Gathering

Learn how to use Nmap, the free open-source network scanner: run your first port scan, discover live hosts, detect services and operating systems, and check for vulnerabilities with NSE scripts — a beginner tutorial for Kali Linux.

OpenVAS

Vulnerability Analysis

OpenVAS (Open Vulnerability Assessment System) is a full-featured vulnerability scanner providing a comprehensive architectural network engine that checks endpoints against thousands of active vulnerability feeds.

Lynis

Vulnerability Analysis

Lynis is a battle-tested security auditing tool for systems running Linux, macOS, or Unix-based operating systems. It performs an in-depth local scan to discover security weaknesses, configuration flaws, and system hardening opportunities.

Wireshark

Sniffing & Spoofing

Wireshark tutorial for beginners: capture packets, read the three panes, filter traffic and follow TCP streams — a hands-on guide to the world's foremost network protocol analyzer.

Splunk

Information Gathering

Splunk Enterprise is a proprietary data platform for searching, monitoring and analysing machine-generated data. It supports log analysis, IT operations and observability, and it provides the platform on which the separately licensed Splunk Enterprise Security premium SIEM app runs. Splunk is not packaged by Kali Linux: download the official Linux .deb, .rpm or .tgz package from splunk.com, sign in when required, and substitute the actual downloaded filename for the <version> placeholder used in this guide.

WhatWeb

Information Gathering

Learn how to use WhatWeb, the website fingerprinting tool that answers 'What is that website?' by detecting content management systems (CMS), blogging platforms, analytics packages, JavaScript libraries, web servers, embedded devices, and over 1800 other web technologies using its plugin architecture.

Related Cybersecurity Guides

OSINT · Intermediate

Reconnaissance Workflow: Complete Information Gathering Process

Learn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.

OSINT · Intermediate

Amass Guide: Open Source Attack Surface Mapping

Learn to use Amass for comprehensive attack surface mapping including DNS enumeration, subdomain discovery, integration with APIs, and visualizations.

OSINT · Beginner

DNS Enumeration Guide: Complete Domain Reconnaissance

Master DNS enumeration techniques from basic queries to advanced zone transfers, subdomain brute forcing, and DNS security assessment using Kali Linux tools.

OSINT · Intermediate

OSINT Reconnaissance Using WHOIS Data

Master advanced WHOIS-based OSINT techniques including reverse lookups, historical data analysis, email harvesting, and combining WHOIS with other intelligence sources.

Frequently Asked Questions

What is Wazuh?

Wazuh is a free, open-source security platform combining SIEM and XDR for endpoints and cloud workloads. It uses a universal agent, a Wazuh server for analysis and rules, an OpenSearch-based indexer for alert storage and search, and an OpenSearch Dashboards-based web interface. Wazuh was forked from OSSEC in 2015.

What is Wazuh used for?

Wazuh is used for centralized log analysis, intrusion detection, vulnerability detection, file integrity monitoring, security configuration assessment, rootkit and malware detection, MITRE ATT&CK mapping, compliance monitoring, threat intelligence and security monitoring across endpoints, cloud workloads and containers.

How do I install Wazuh on Kali Linux?

Kali Linux has no Wazuh package, so never use `apt install wazuh`. Run the manager, indexer and dashboard on a supported 64-bit Linux host. On Kali, configure the official Wazuh APT repository and install the agent with `WAZUH_MANAGER="10.0.0.2" apt-get install wazuh-agent`, replacing the example manager address with the authorized deployment address.

How do I install Wazuh on Ubuntu?

On a supported Ubuntu host, the all-in-one quickstart is `curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh && sudo bash ./wazuh-install.sh -a`. Ubuntu 16.04, 18.04, 20.04, 22.04 and 24.04 are listed as supported manager platforms, with Ubuntu 22.04 or 24.04 recommended for a current deployment.

Wazuh vs Splunk — what is the difference?

Wazuh is a free open-source SIEM/XDR platform built around agents, a manager, an indexer and a dashboard. Splunk is a proprietary commercial machine-data platform, while Splunk Enterprise Security is a separately licensed premium SIEM app. Choose Wazuh for an open-source endpoint-focused security platform or Splunk when the organization has selected Splunk's commercial data and app ecosystem.

Wazuh vs Graylog — which should I choose?

Wazuh combines agent-based SIEM/XDR functions such as intrusion detection, file integrity monitoring, vulnerability detection and active response. Graylog Open focuses on open-source log management using streams, pipelines and dashboards. The better fit depends on whether endpoint security controls or general log-management workflows are the primary requirement.

Wazuh vs OSSEC — how are they related?

Wazuh is the actively maintained fork created from OSSEC in 2015, and OSSEC is its ancestor. Wazuh extends the model into a broader platform with its manager, indexer, dashboard and agents, while retaining manager-side rules, decoders and endpoint monitoring concepts.

Is Wazuh free and open source?

Yes. The Wazuh server and manager use GNU GPL v2, while the indexer and dashboard use Apache License 2.0. The software is free and open source, although deployments still incur infrastructure, storage, maintenance and staffing costs.

What is the Wazuh dashboard default username and password?

The dashboard username is `admin`. The installation assistant generates the password, prints it during installation and stores it in `wazuh-passwords.txt` inside `wazuh-install-files.tar`. Retrieve it with `sudo tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt`, then change the generated administrator password.

What are the default Wazuh ports?

Documented ports include 1514/TCP for agent connections, optional disabled-by-default 1514/UDP, 1515/TCP for enrollment, 1516/TCP for the cluster daemon, disabled-by-default 514/UDP for syslog, 55000/TCP for the Wazuh server API, 9200/TCP for the indexer API, 9300-9400/TCP for the indexer cluster and 443/TCP for the dashboard. Agents normally need only 1514 and 1515; do not expose 55000 or 9200 to the outside.

What is the latest Wazuh version?

The latest stable release in this guide is Wazuh 4.14.10, released on 2026-11-05. Wazuh 4.14.9 was released on 2026-10-14, while Wazuh 5.0 remains in beta or release-candidate development and must not be presented as the stable version.

How do I use wazuh-logtest?

Run `sudo /var/ossec/bin/wazuh-logtest` on the manager, paste one representative log line and review the decoder and rule stages. Use it before deploying a local decoder or rule. Do not edit `/var/ossec/ruleset/rules/`; place rule overrides in `/var/ossec/etc/rules/local_rules.xml` and local decoders in `/var/ossec/etc/decoders/local_decoder.xml`.

Why is my Wazuh agent not connecting?

Start by checking `sudo /var/ossec/bin/agent_control -l` and `sudo /var/ossec/bin/agent_control -i <id>`. Verify the agent's manager address, service state, enrollment key in `/var/ossec/etc/client.keys`, and network access to 1514/TCP and 1515/TCP. Confirm that the manager is active before changing rules or reinstalling the endpoint.

How does Wazuh SIEM pricing work?

Wazuh software has no licence price because it is free and open source. A realistic Wazuh SIEM pricing calculation must still include the supported Linux hosts, CPU, memory, indexed storage, backups, network controls, maintenance and staff required to operate the manager, indexer, dashboard, Filebeat and agents.

Tags

#siem#xdr#wazuh#log-analysis#intrusion-detection#security-monitoring#vulnerability-detection

Output Explanation

Wazuh writes alert records to `/var/ossec/logs/alerts/alerts.json`, while `/var/ossec/logs/archives/archives.json` is the documented path for all archived events. An alert's rule identifier connects the event to the matching Wazuh rule, and its rule level communicates the rule's configured severity. Agent information identifies the monitored endpoint that produced or forwarded the event, while the timestamp records when Wazuh represented the alert. Decoder information shows how the source log was parsed, and MITRE data, when present, maps the detection to relevant MITRE ATT&CK context. Illustrative lab output, not a verbatim quotation from Wazuh documentation, might conceptually show `timestamp=<time> rule.id=5763 rule.level=10 agent=<authorized-agent> decoder=<decoder> mitre=<mapping>`. The exact JSON structure and available values depend on the event, decoder and rule. Empty dashboard results or an empty command result do not prove that no activity occurred: the agent may not be connected, the manager may not have received the event, the selected dashboard time range may be wrong, the log may not have matched a decoder or rule, Filebeat may not have shipped the alert, or the indexer may not have stored it. Validate agent status, service state, event collection, decoder output, rule matching, Filebeat and indexer health before drawing a conclusion.

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.