All projects

Sentinel NIDS

A network intrusion detection system that combines behaviour rules with machine learning.

Year
2026
My role
Information Security semester project
Status
Prototype completed
Main tools
Python, Scapy, scikit-learn (Isolation Forest)

What it does

Sentinel processes PCAP and PCAPNG network captures, flags port scans, suspected brute-force attempts and unusual traffic, and shows each alert with the evidence behind it.

It is a detector, not a blocker: it explains what it saw, from which source to which destination and why, so an analyst can investigate.

How it works

  1. CaptureTraffic comes from a stored capture or, optionally, live from a local interface with Scapy.
  2. WindowPackets are grouped by source and destination into 10-second windows with counts of flows, ports and packets.
  3. DetectBehaviour rules catch scans and repeated access attempts, and an Isolation Forest flags windows that look abnormal.
  4. ExplainAlerts are stored in SQLite and shown on a FastAPI dashboard with the features that triggered them.

What I did

Built with