Case studies
Three pieces of work with the same shape: measure what is there, fix what actually breaks systems, and leave evidence that it changed. Built and verified in a lab, so every screenshot and every configuration file here can be published without redaction.
Ubuntu Server · Lynis · nftables · fail2ban · auditd · AIDE
What most providers hand over after clicking “deploy”:
The client does not receive “it is secure now”. The client receives a change log — what changed, why, and how to roll each item back — plus both audit reports as evidence. Most compromised servers I have seen failed on two things: password authentication on SSH, and updates nobody installed. Neither is sophisticated.
MikroTik RouterOS · VLAN · policy chains · address lists · WireGuard
One subnet, the factory firewall, every device able to reach every other device. The router defends itself from the internet and does nothing about what happens inside.
An IP camera running firmware from 2019 sits in the same broadcast domain as the accountant’s workstation. Nothing in the default configuration considers that a problem.
Prometheus · Grafana · Loki · Docker Compose · Telegram alerting
It has one of two faults. Either nothing is watched at all, or everything is watched and nobody reads the alerts — which amounts to the same thing.
An alert channel that cries wolf gets muted within a week. After that the monitoring exists only on paper.
The exporter account has read rights only and is bound to the address of the monitoring host. Monitoring can observe the infrastructure; it cannot change it.
That is not paranoia. A monitoring system holds credentials to everything, which makes it a target rather than a bystander.
Equally important is what does not alert. A CPU spike that clears in two minutes is not an incident. Every rule here exists because its absence has cost someone a night.