Skip to content
dukebismayaPublic

About

A hybrid IDS, listens to the invisible data flowing through the computer's network card, organizes that data, looks for known bad behavior, and uses machine learning to spot weird, unknown behavior.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

🛡️ PySentry

Animated PySentry Intro

A hybrid Intrusion Detection System (IDS).

PySentry listens to the invisible data flowing through your computer's network card, parses network flows, looks for known bad behavior (signatures), and uses machine learning (IsolationForest) to spot weird, unknown anomalous behavior in real time.


🟢 Features

  • Real-Time Packet Sniffing: Powered by scapy.
  • Signature Detection: Checks against strict hardcoded rules to catch known attacks (SYN Floods & Port Scans).
  • AI Anomaly Detection: Uses scikit-learn to establish baseline network metrics and automatically alert on sudden spikes.
  • Operations Dashboard: A Streamlit interface for live interactive monitoring.
  • Instant Report Generation: One-click generation of formatted threat reports that copy directly to your clipboard or download as PNGs.

💻 Quick Start

1. Installation

Install the necessary packages via the updated requirements file:

pip install -r requirements.txt

2. Start the Engine

Run the primary detection engine. (Note: Packet sniffing usually requires Administrator/root privileges!)

python main.py

3. Open the Monitor (Dashboard)

In a secondary terminal, spin up the Hacker Dashboard:

streamlit run dashboard.py

Generated Report

About

A hybrid IDS, listens to the invisible data flowing through the computer's network card, organizes that data, looks for known bad behavior, and uses machine learning to spot weird, unknown behavior.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages