Hacker track · 2026-10
Auth Log Hunter: Spot Brute-Force Patterns with a Script
Intermediate0 enrolled · 0 submitted
Want in? Run /enroll in Discord to claim this tier before the build window closes.
The brief
Write a small detection script that analyzes SSH or web login logs and flags suspicious behavior.
Core scope:
- Use sample logs you generate yourself (a simple generator mixing normal and attack traffic) or public sample datasets with permissive licenses.
- Detect at least three patterns, e.g. many failures from one IP, password spraying across many usernames, and a success right after a burst of failures.
- Output a readable report (terminal table or Markdown) with counts, timestamps, and a severity guess.
Python, Go, Bash or anything else is fine. The goal is useful, explainable detections, not a SIEM. Note any false positives you found and how you tuned thresholds.
Deliverables
- The script in a public repo with a README and usage examples
- The log generator (or links and licenses for the datasets used) so results are reproducible
- A sample report showing flagged activity
- A short tuning note: thresholds chosen, one false positive, and how you handled it
Resources
- MITRE ATT&CK: Brute Force (T1110) technique page
- OpenSSH auth log format examples (
/var/log/auth.log) and nginx/Apache access log formats - Sigma rules repository, for detection-logic inspiration
- Python
reandcollectionsdocs, or your preferred language's log-parsing libraries