Information Gathering
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.
curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh && sudo bash ./wazuh-install.sh -a
sudo /var/ossec/bin/wazuh-control status
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.
| Command | Purpose |
|---|---|
curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh && sudo bash ./wazuh-install.sh -a | Install the all-in-one Wazuh platform on a supported Linux host |
sudo /var/ossec/bin/wazuh-control status | Check Wazuh manager process status |
WAZUH_MANAGER="10.0.0.2" apt-get install wazuh-agent | Install 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-logtest | Test a log line against Wazuh decoders and rules |
sudo /var/ossec/bin/agent_control -l | List agents and their last keep-alive state |
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.Collect endpoint and workload events, decode them on the manager, evaluate rules and search resulting alerts through the indexer and dashboard.
Detect suspicious endpoint activity with rules, decoders, agent telemetry and MITRE ATT&CK mappings.
Use CVE feeds to identify vulnerabilities relevant to monitored endpoints and review the findings through the platform.
Monitor selected files and directories with syscheck so authorized teams can investigate unexpected integrity changes.
Assess endpoint configuration through SCA and map relevant results to compliance contexts such as PCI DSS, HIPAA and GDPR.
Monitor AWS, Azure and GCP workloads together with Docker and Kubernetes environments in an approved security architecture.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Learn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.
OSINT · IntermediateLearn to use Amass for comprehensive attack surface mapping including DNS enumeration, subdomain discovery, integration with APIs, and visualizations.
OSINT · BeginnerMaster DNS enumeration techniques from basic queries to advanced zone transfers, subdomain brute forcing, and DNS security assessment using Kali Linux tools.
OSINT · IntermediateMaster advanced WHOIS-based OSINT techniques including reverse lookups, historical data analysis, email harvesting, and combining WHOIS with other intelligence sources.
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.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.