What is SIEM? How it works, and how to build a free Wazuh home lab

A hands-on security lab explained in Malayalam at Edwhere Learning

A company has 100 employees and 100 computers. Can a security engineer walk to each one and check if there's an attack? Obviously not. That problem is exactly why SIEM exists.

It starts with logs

Every system keeps logs: a record of what happened, when and by whom. Say someone keeps typing wrong passwords on my computer, non-stop, trying to log in. A real user types the right password and gets in. When it fails again and again, we get suspicious: someone is trying to break in.

You can see this yourself. On Windows, open Event Viewer and look at the Security log. Failed logins show up there: this account, at this time, tried to log in and failed.

That's exactly how we caught an attack on our own website: hundreds of login attempts with different usernames and passwords, visible in the logs. Read the full story: how we stopped a brute-force attack on our website.

The problem: 100 computers, one security team

Event Viewer works for one machine. But nobody can open Event Viewer on 100 machines every hour. That's the biggest difficulty in security monitoring.

There's only one way to solve it. Send the logs from every system to one central system at regular intervals. Index them with each system's name. Then you can sit in one place, search everything, and set alerts for patterns like "50 failed logins in a minute". The tool that does this is a SIEM: Security Information and Event Management.

  • CollectLogs from every system
  • IndexSearchable by machine
  • AlertOn suspicious patterns
  • RespondInvestigate and block

Who uses a SIEM? The SOC analyst

A SIEM is the main screen of a SOC (Security Operations Center) analyst. Their job: look at the logs, understand that an attack is happening, find where it came from (the IP address, its location, who's trying), report it properly to the next level, and decide whether to block it. SOC teams work in levels, L1, L2, L3 and then SOC manager, with more access at each level. More in the SOC analyst career path and SOC analyst jobs in Kochi.

Splunk, QRadar or Wazuh?

ToolCostBest for
SplunkCommercialWidely used by employers; worth learning for job interviews
IBM QRadarCommercialCommon in large enterprises and managed SOCs
WazuhFree, open sourceLearning at home: you can practise every feature on your own laptop

The concepts transfer. Learn on Wazuh first, then Splunk's search language is much easier to pick up.

Beginner project: a Wazuh home lab

  1. Install the Wazuh server On one computer, or in a virtual machine if you don't have a spare one. (A virtual machine is a computer running inside your computer, using software like VirtualBox.)
  2. Make a victim machine Create a second VM, Windows or Linux, and install the Wazuh agent on it so it sends its logs to the server.
  3. Attack your own victim Try simple attacks: wrong passwords again and again, a port scan with Nmap, creating a new admin user.
  4. Watch them appear Open the Wazuh dashboard and find each attack as an alert. Note what the log says: time, source IP, user.
  5. Write it up A short report with screenshots is a portfolio piece recruiters understand. See cybersecurity portfolio for freshers.

Want to build this step by step with a mentor? Our course Add a SOC project with Wazuh for your resume walks you through the whole lab.

Only attack machines you own, inside your own lab. Attacking any system without permission is a crime.

Go from home lab to SOC job

Certified SOC Analyst (CSA) training

EC-Council's CSA, where you build and monitor your own SOC on Wazuh, in a classroom in Aluva, Kochi. Official exam voucher included.

See the CSA course Our Wazuh SOC project course ›

Keep reading

Frequently asked questions

What is a SIEM in simple words?

A SIEM (Security Information and Event Management) system collects logs from every computer and server in a company into one place, indexes them, and alerts the security team when it sees signs of an attack, such as many failed logins.

Is Wazuh a SIEM?

Yes. Wazuh is a free, open-source security platform with SIEM features, which makes it ideal for learning security monitoring at home.

Should I learn Splunk or Wazuh first?

Learn the concepts on Wazuh because it's free and you can practise everything at home. Then learn Splunk, which many employers use, and mention both in interviews.

How do I build a SIEM home lab?

Install a Wazuh server on one computer or virtual machine, install the Wazuh agent on a second victim VM, run safe attacks against your own VM, such as repeated wrong passwords or an Nmap scan, and find them in the Wazuh dashboard.

Where can I see logs on Windows?

Open Event Viewer and go to Windows Logs, then Security. Failed login attempts are recorded there with the account and time.

Learn with Edwhere.

Hands-on courses in cybersecurity, IoT and programming, taught in Malayalam.