Vantage
A home SOC. Wazuh, Suricata and Sysmon watch a lab I attack from Kali, with VirusTotal enrichment.
- Wazuh
- Suricata
- Sysmon
- Kali Linux
- VirusTotal API
- MITRE ATT&CK
Summary
A home SOC on one 16 GB laptop: a Wazuh SIEM, host agents on Linux and Windows, and a Suricata network IDS. I attack it from Kali to find out what gets caught and what doesn’t.
The problem
I wanted to see what a SOC analyst actually sees during an attack, not just read about it. The only way to know what a detection stack catches is to attack it and look.
Setup
Everything runs as VMs on one laptop, behind VMware NAT (a private lab subnet, not reachable from outside).
laptop · 16 GB RAM · VMware NAT · 192.168.198.0/24
kali .131 ubuntu .128
hydra, python http.server ────▶ wazuh agent
suricata on ens33
│
│ events
▼
windows 10 VM wazuh manager .129
wazuh agent + sysmon ─────────▶ ubuntu server, static IP
dashboard, VirusTotal lookups
one agent VM runs at a time (RAM)
- Wazuh is the SIEM: the manager collects everything the agents send, runs the rules and raises the alerts.
- Suricata watches the Ubuntu VM’s network interface and its
eve.jsongoes into Wazuh, so network and host alerts land in one dashboard. - Sysmon on Windows records how something happened: process trees, network connections per process, file hashes.
- VirusTotal: when file integrity monitoring sees a file change, Wazuh looks up its hash on VirusTotal and alerts if it’s known-malicious.
The incident: SSH brute force, Kali → Ubuntu
What I ran: Hydra from Kali against SSH on the Ubuntu VM, aimed at a test user with a deliberately weak password, with a wordlist of about 25 entries.
What fired in Wazuh (host side):
5760sshd authentication failed (MITRE T1110.001)5503PAM login failed2502“User missed the password more than one time” (level 10, the brute-force correlation alert)5758“Maximum authentication attempts exceeded” (level 8)- then
Accepted password for soctest from 192.168.198.131. The attack worked.
What Suricata did (network side): it logged 16 SSH flows and even picked out the attack tool from its client string (libssh_0.11.1; a person’s client shows as OpenSSH). It raised zero alerts. SSH is encrypted, so a network IDS can’t count failed passwords.
Only the host sensor caught this attack. That’s why I run both.
What broke and how I fixed it
- Alerts stopped arriving after months idle. The manager’s DHCP address had changed from
192.168.241.131to192.168.198.129, so every agent was still sending to the old one. I gave the manager a static IP through netplan and re-pointed each agent’s<server><address>. - The standard IDS test was dead. testmynids.org no longer resolves. I hosted the same
uid=0(root)payload from a Python web server on Kali and fetched it from Ubuntu. Suricata firedGPL ATTACK_RESPONSE id check returned root(sig 2100498), which reached the Wazuh dashboard as rule 86601 in under a second. - My first brute force was invisible to Suricata. I had run Hydra from Ubuntu against itself by accident. That traffic stays on the loopback interface and never touches
ens33, so I reran it from Kali. - Smaller ones. A duplicate
eve.jsonentry in the agent’sossec.confcaused warning 1958; I removed it. After the laptop slept, the VMware NAT service hung; restarting it fixed that.
Lessons
- One sensor isn’t enough. Suricata watched the whole brute force and said nothing; the host logs caught it. Network and host detection cover each other’s blind spots.
- Check what your sensor can actually see. With VMware NAT and no promiscuous mode, Suricata only sees traffic to and from its own VM. I first claimed it saw all traffic between VMs, and that was wrong. Map coverage before trusting it.
- Plan around RAM, and use static IPs from day one. 16 GB set the limits for the whole lab: one agent VM at a time, and no TheHive or MISP. DHCP drift cost me a debugging session I didn’t need.