The scenario is fictional. Linux commands are verified against synthetic data; Windows details follow the book as written and are not tested live.
"Can you check the logs?" Where do you actually look first — /var/log/auth.log? journalctl? The Windows Security channel? Across this series we've leaned on these logs constantly, but "the log" isn't one thing. Auth events live in auth.log, kernel events in kern.log, login history in a separate binary trail (wtmp/btmp), systemd services in journald, Windows Kerberos events (4624, 4769) in the Security channel — and at the collector, there's a whole separate store called ForwardedEvents.
This case starts with an investigator who doesn't have that map, and briefly loses evidence that was never actually gone.
What you'll learn
- A map of where Linux/Windows logs actually get written, and why
- Why a deleted local log can still have a forwarded copy surviving elsewhere
- Why the Golden Ticket "missing 4768" signal from episode 9 only becomes visible once forwarded logs are centralized
- Common false negatives: UDP syslog drops, volatile journald, clock drift
The incident
After compromising web03 (a public Linux web server) and pivoting through the domain, the attacker ends up with a Golden Ticket — the same chain this series has been following. Two responders check different logs.
| Responder | Checked | Result |
|---|---|---|
| A |
cat /var/log/auth.log on web03 |
Nothing — deleted by the attacker |
| B | Local Security log on the DC | 4769 present, matching 4768 appears missing |
Both conclude "evidence destroyed." Half right — and looking in the wrong place.
The Linux log map — auth.log is just one entry point
Authentication (auth.log, or secure on RHEL) isn't the whole picture. Kernel events go to kern.log; login history goes to wtmp/btmp/lastlog (binary — use last/lastb/lastlog, not cat); package changes go to dpkg/yum logs; systemd services go through journald. These are parallel, independent trails.
Responder A's mistake: treating "auth.log is gone" as "no evidence exists."
How logs get written — facility and severity
syslog tags every message with a facility (what kind) and severity (how important). Auth events carry the auth/authpriv facility, and rsyslog's rules (/etc/rsyslog.conf, /etc/rsyslog.d/*.conf) decide that facility writes to auth.log. The path isn't fixed — it's a configured outcome.
Why a deleted log can still survive — forwarding
web03's rsyslog was already forwarding to an aggregation host (logcol01) before the incident. Deleting the local auth.log doesn't touch the forwarded copy, since forwarding happens near-real-time and the attacker typically can't reach the collector.
The Windows side — Security, Sysmon, and ForwardedEvents
Windows events are written per-channel (Security, Sysmon, PowerShell). Windows Event Forwarding (WEF) adds a separate mechanism: forwarded events land in a distinct channel at the collector called ForwardedEvents. Responder B checked the DC's local Security log but never looked at the collector's ForwardedEvents — that's the real gap.
Golden Ticket's signal only appears once logs are centralized
The "4769 with no matching 4768" signal from episode 9 can't be seen from a single host — both events are recorded by the DC, and Silver Ticket detection requires cross-referencing a member server's 4624 against the DC's 4768/4769. Without a map of what lives where, and without centralizing it, the absence itself is invisible.
Guarding against false negatives
| Cause | Symptom | Check |
|---|---|---|
journald set to volatile (/run) |
Logs vanish after reboot |
Storage=persistent in journald.conf |
| syslog forwarding over UDP | Silent drops under load | TCP/TLS or RELP |
| Clock drift between hosts | Correlated events look mismatched | UTC + NTP everywhere |
| Forwarding itself has stopped | "No evidence" vs "not delivered" | Monitor last-received time per source |
"Missing" and "not delivered" look identical. You need both the map and a health check on collection to tell them apart.
Summary
- Logs are distributed, not singular, on both Linux and Windows
- Where a log lands is a configuration outcome (facility/severity, channel setup), not a fixed path
- Local copies get deleted; forwarded copies survive
- Absence-based detection (Golden/Silver Ticket) only works once logs are centralized
- Distinguish "missing" from "not delivered" using both the map and collection health monitoring
The series moves to a new topic next.
Adapted from Chapters 14 ("Linux Log Infrastructure") and 16 ("Windows Log Infrastructure") of my book Server Defense from an Attacker's Perspective (40 chapters, Japanese).
Top comments (0)