Skip to content

About

Firewall and server log analyzer with NIST-aligned incident response tracking, real-time monitoring, CLI workflows, Markdown exports, and automated security testing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

Repository files navigation

Sentinelog — Security Toolkit

A Python CLI for firewall and server log analysis, real-time monitoring, and incident response tracking.

CI Security & Lint

Features

Log Analyzer

  • Brute force detection — sliding-window threshold per (src, user)
  • Distributed brute force — many sources, one target (botnet signature)
  • Port scan detection — one source, many unique ports (recon)
  • Unusual port traffic — anything outside your allow-list
  • Off-hours logins — successful authentications outside business hours
  • Blocklist matching — CIDR-aware, per-attacker aggregation
  • Live monitoring — tail a log file, alert in real time with dedup
  • Visualizations — timeline of failed logins, port distribution chart

IR Tracker

  • Four lifecycle stages hard-coded in NIST order (Preparation → Detection/Analysis → Containment/Eradication/Recovery → Post-Incident)
  • Full CRUD — create, load, update, close incidents with JSON persistence
  • Status + severity — open/closed, low/medium/high/critical
  • Auto-populated incidents — one command turns a log analysis into a pre-filled incident
  • Evidence management — attach files (PCAPs, screenshots, IOCs) with stage tagging and copy-on-attach
  • Search & filter — free-text across name/actions/notes; structured filters by status/severity/date
  • Markdown export — human-readable incident reports + bulk export
  • Dashboard — aggregate metrics: open counts, severity distribution, mean age

Quick Start

git clone https://github.com/ayus1n9/Security-Monitor.git
cd Security-Monitor

python3 -m venv .venv
source .venv/bin/activate

# Install the package and development tools
pip install -e ".[dev]"

# Analyze a log file
sentinelog analyze --log data/sample.log --blocklist data/blocklist.txt

# Analyze AND auto-open an IR incident
sentinelog respond --log data/sample.log

# Launch the interactive IR tracker
sentinelog ir

# Watch a log file in real time
sentinelog watch --log data/sample.log --from-start

About

Firewall and server log analyzer with NIST-aligned incident response tracking, real-time monitoring, CLI workflows, Markdown exports, and automated security testing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages