Module lessons (1/4)
Breach Forensics in Nginx & Auth Logs
Isolate SQLi/traversal requests from attacker IP 203.0.113.42 in Nginx logs and extract SSH brute-force attempts from auth.log.
What you'll learn in this lesson
- Correlate attacker timelines across HTTP reverse-proxy logs (
/var/log/nginx/access.log) and SSH authentication logs (/var/log/auth.log). - Extract structured incident evidence into dedicated read-only triage artifacts using
grep, pipelines, and redirection (>/>>). - Recognize SQL injection, path traversal, and SSH brute-force signatures sharing a single source IP (
203.0.113.42).
Overview
When an intrusion alert fires, forensic responders never modify original log files. Instead, they filter and correlate HTTP edge telemetry alongside OS authentication records into dedicated read-only evidence files (0600) for timeline reconstruction and firewall blocking.
In the server snapshot attached below (sec-web-breach), a single actor probed the web app with SQL injection (UNION SELECT) and directory traversal (../../etc/passwd) while simultaneously brute-forcing SSH from 203.0.113.42.
Sections covered in this lesson
- 11. Correlating Web Proxy Logs with Host Auth Logs
- 22. Interactive Explorer: Audit Log Forensics
- 33. Progressive Labs: Warm-Up → Attack → Defend → Harden
- 44. Checkpoints & Code Review
Unlock "Breach Forensics in Nginx & Auth Logs" and the full Application & Web Security curriculum
Isolate SQLi/traversal requests from attacker IP 203.0.113.42 in Nginx logs and extract SSH brute-force attempts from auth.log.
Unlock all 6 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.
- Instant access to all advanced modules in Application & Web Security plus 17 more courses
- Hands-on browser exercises with automated test suites and solutions
- 14-day money-back guarantee processed via Paddle.com
14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.