Skip to content

first-yoba/python-log-threat-hunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Security Log Threat Hunter (Python)

A Python-first tool that parses authentication logs (e.g., SSH auth.log) to detect suspicious activity such as brute-force login attempts and high-failure IPs, then generates a structured JSON threat report.

This repo is intentionally built like a practical security automation project: clear modules, reusable detectors, and reproducible output.


What it does

  • Reads an auth log file (sample included)
  • Detects:
    • Failed login attempts per IP
    • Successful logins per IP
    • Brute-force behavior using a time-window heuristic (optional)
  • Outputs a JSON report containing:
    • Totals and window-based counts
    • Detected threats above a configurable threshold

Project structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages