Skip to main content

Trying Wazuh

Updated 5 min readMarkdown

After using the free version of Splunk and other SIEM tools, I wanted to dive deeper into them. Wazuh was the next logical step. Using a guide, Google, and my own intuition I was able to set up a Ubuntu Server VM, install Wazuh, and push everything to a Wazuh Dashboard.

The goal was not just to install another tool. I wanted to create an environment where I can generate, collect, search, and investigate security telemetry: the same workflow that supports day-to-day SOC analysis.

Wazuh is an open-source security platform that can centralize endpoint visibility and security monitoring. An all-in-one deployment runs its core components on a single system, which makes it a practical choice for a starter lab.wazuh+1

Lab objectives

I focused on building a stable Wazuh server that I can expand later with Windows and Linux endpoints.

My objectives were to:

  • Build an Ubuntu Server virtual machine in VirtualBox

  • Configure the VM with sufficient resources for a Wazuh all-in-one deployment

  • Enable SSH for easier remote administration

  • Install and access the Wazuh dashboard

  • Configure archive logging to retain more than only alert-triggering events

  • Take a snapshot so I can return to a clean, working baseline

Environment and resources

Component Configuration
Hypervisor VirtualBox
Server operating system Ubuntu Server 24.04
SIEM / XDR platform Wazuh all-in-one deployment
Server resources 2 vCPUs, 8 GB RAM, 100 GB disk
Network configuration Bridged
Administrative access SSH
Web access Wazuh Dashboard over HTTPS

Wazuh supports deployment as a virtual machine and can be managed either through the VM console or remotely through SSH. Its dashboard is accessed through the Wazuh server’s HTTPS address.wazuh

What I built

I began by creating an Ubuntu Server VM in VirtualBox. I allocated two virtual CPUs, 8 GB of memory, and 100 GB of disk space to give the Wazuh services room to run while leaving capacity for future endpoint logging.

After installing Ubuntu, I enabled OpenSSH Server. This let me administer the server from my host machine rather than relying on the virtual-machine console. I then updated the operating system before deploying Wazuh.

Once the Wazuh installation completed, I accessed the dashboard through my browser using the server’s IP address over HTTPS. Seeing the dashboard successfully load marked the point where the server moved from a virtual machine into a usable security-monitoring platform.

The most important configuration

One of the most useful parts of this build was enabling Wazuh archives.

Alerts are valuable because they identify events that matched a rule or detection condition. However, a SOC analyst also needs visibility into activity that may not trigger an alert immediately. For example, a successful login could be relevant to an investigation even if it is not inherently suspicious.

To preserve more telemetry, I enabled archive logging in Wazuh and configured Filebeat to ingest archive data. I then created an index pattern for:

text

wazuh-archives-*

This gives me a separate data source in the Wazuh dashboard where I can search and review archived events. Wazuh stores its configuration in /var/ossec/etc/ossec.conf, and changes to manager settings require restarting the Wazuh manager service.wazuh

This was an important takeaway for me: effective investigations require more than reviewing alerts. Analysts need context, timelines, and supporting events to understand what occurred before and after suspicious activity.

Challenges and lessons learned

This project reinforced several practical lessons:

  • Resource planning matters. A SIEM platform needs adequate CPU, memory, and disk capacity, especially once agents begin forwarding logs. At first I did not have enough space allocated towards the VM so my first 2 installations failed. After realizing my error I went back into VirtualBox and allocated more space.

  • Network configuration matters. I needed to confirm the VM’s IP address and ensure I could reach the dashboard and SSH service from my host machine. At first my VM was setup in NAT mode. This allows access to the internet but does not give the VM its own accessible IP address. After switching the network type to Bridged I was able to access the Wazuh Dashboard because the Ubuntu Server Log now had a live (and pingable) IP.

  • Logging strategy matters. Alert-only visibility is limiting; raw or archived telemetry provides the investigative context needed to validate activity.

  • Snapshots save time. I created a snapshot after confirming the installation and archive configuration worked. This gives me a reliable rollback point before I make future changes.

  • Documentation is part of the work. Recording configurations, commands, network details, and troubleshooting steps makes it easier to rebuild and explain the environment later.

What’s next

The Wazuh server is now the foundation of my homelab. My next steps are to add Windows and Linux endpoints, deploy Wazuh agents, generate common endpoint activity, and investigate the resulting logs.

I plan to practice identifying events such as:

  • Successful and failed authentication attempts

  • New process creation

  • PowerShell activity

  • Account and privilege changes

  • SSH activity on Linux systems

  • Potentially suspicious behavior that requires analyst validation

My goal is to use this lab to develop repeatable SOC analyst skills: reviewing telemetry, building timelines, distinguishing normal from suspicious behavior, and documenting findings clearly.

Building this environment is only the first step, but it gives me a hands-on platform to turn cybersecurity concepts into practical investigation experience.

No comments yet. Be the first to comment.