Wazuh Basics: Build a Free SIEM for Your Home Lab
Every device you own is writing logs — your laptop, your router, your Linux server. Buried in those logs are the signs of an attack: failed logins at 3 AM, a new user account you didn't create, a program running from a strange folder. The problem is that nobody reads thousands of log lines a day. That's what a SIEM does for you: Security Information and Event Management. It collects logs from everywhere, correlates them, and raises an alert when something looks wrong. And Wazuh is the best free one to learn on.
What Wazuh Actually Is
Wazuh is an open-source security platform, free forever, used by real companies and home labs alike. It has three parts: agents that run on the machines you monitor, a manager server that collects and analyses their data, and a dashboard where you see alerts. It does log analysis, intrusion detection, file integrity monitoring, vulnerability detection and even malware detection with its built-in rules.
Setting It Up in Your Lab
The easiest way to start is the official all-in-one installation — manager, indexer and dashboard on a single virtual machine. Give the VM at least 4 GB of RAM and 50 GB of disk, then run the install script from Wazuh's documentation on Ubuntu or Debian. In about 20 minutes you get a working dashboard at https://your-vm-ip.
Then install the agent on a machine you want to monitor — your laptop, another VM, or your home server. The agent package is a single download; during setup you point it at your manager's IP and give it a group name like linux-lab. Within a minute, that machine's logs start flowing into the dashboard.
Your First Alert
Wazuh ships with hundreds of detection rules. Try this experiment on your own lab machine: fail an SSH login five times in a row with a wrong password, then check the dashboard. You should see an alert for multiple failed logins, with the source IP, the count, and a severity level. Now you understand the core idea — Wazuh turns boring log lines into a story: "someone is guessing passwords on this machine."
A few alerts worth watching for in your first week:
- Authentication failures — brute-force attempts against SSH or your web apps.
- New user created — a new account appearing on a server is a classic sign of compromise.
- File integrity changes — Wazuh watches critical files like
/etc/passwdand alerts when they change. - Rootkit checks — its built-in rootcheck scans for known rootkit behaviour.
Making It Useful, Not Noisy
A fresh SIEM is noisy. Out of the box you will get alerts for routine things — system updates, scheduled jobs, your own logins from a new IP. Don't turn rules off blindly. Instead, spend a week tuning: lower the severity of alerts you understand, whitelist your own IP addresses, and raise the level for things that matter, like any successful login after 20 failures. A SIEM you trust is worth more than a SIEM that shouts.
Why This Skill Pays
Every security operations centre in the world runs a SIEM, and Wazuh is the one you can legally run at home for free. Put it on your resume, build a small lab around it, and you can walk into an interview and talk about real detections you built — not theory. Log analysis is also the skill that connects everything else on this blog: the firewall logs, the failed logins, the file changes. Wazuh just puts them in one place.
Only monitor systems you own or have written permission to monitor. Your home lab is the perfect place to learn — point Wazuh at your own machines, break things safely, and learn to spot the attack before it spots you.



Comments
Post a Comment