Watching Failed Admin Logins on a DNS Server the SIEM Couldn't See
Our DNS servers write admin login failures to their own daily files, which the SIEM's agent did not collect. We added scoped collection, a decoder, a level-5 failure rule and a repeated-source escalation, and wrote down what the replay test did and did not prove.

Key Architectural Takeaways
- A log source that exists but is not collected is a blind spot, not a control.
- Filter at collection: drop query logs, successful logins and stack traces before they reach the SIEM.
- A replay test against stock decoders proves the logic, not the live ruleset; say which one you ran.
The challenge
Technitium, our DNS server, records admin login failures in native daily log files. The SIEM's existing agent did not collect them. A read-only inspection of one DNS host confirmed both the missing source and the exception header format. Failed logins against a DNS admin interface are exactly the sort of event we want to see, and after the cluster lockout incident we knew how sensitive that interface is.
What we built
- Scoped collection for the DNS host groups only, with a filter that drops query logs, successful logins and stack traces, so the SIEM receives failures and nothing else.
- A decoder that extracts the source IP, port and username.
- A level-5 rule for a failure and a level-10 rule for repeated failures from one source.
- A focused playbook that configures the existing manager and agents without installing packages, enrolling hosts or touching DNS. Native configuration checks run before any Wazuh restart.
- No CrowdSec blocking and no active response. This is detection only.
What the replay test proved
We replayed real exception headers through an isolated Wazuh 4.14.7 logtest: IPv4, IPv6 and mapped-address extraction all worked, six negative cases did not match, sources were isolated from each other and a burst escalated to the higher level. 31 repository tests passed and the three affected playbooks passed syntax checks.
What it did not prove
The replay used stock decoders plus generic and custom rules, not the full live manager ruleset. We did not verify a live rollout or check-mode diff, the collector's runtime filtering and log rotation, other DNS hosts, rule-ID collisions with the live ruleset, indexing or downstream notifications. No live service was changed. The change was a draft, the operational item stayed open until a live alert was seen, and the pull request required a security review because it touches security-relevant roles.
Takeaway
For detection work, write two lists: what your test demonstrated and what it could not. The second list is the rollout plan.
Some of what's described here is a design that hasn't been fully tested yet; those parts say so in the text.