Skip to content

savetree-1/SecureWatch-Intrusion-Detection-Prevention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ SecureWatch

Typing SVG


๐ŸŽฏ Project Overview

A cutting-edge, AI-powered security monitoring system designed to detect and prevent intrusions with real-time analytics and machine learning capabilities.

๐Ÿš€ Key Features



๐Ÿ“ Real-time File Monitoring
Track creation, modification, deletion & movement


๐ŸŒ Network Surveillance
Monitor suspicious network connections


โšก Process Monitoring
Detect resource abuse & unknown processes


๐Ÿง  Machine Learning
Isolation Forest anomaly detection


๐Ÿ”ง Extensible Design
Easy customization & integration


๐Ÿ”” Smart Alerts
Instant notifications & logging

๐Ÿ“Š Technology Stack



Technology Purpose Version
Python Core Language 3.8+
NumPy Numerical Computing 1.24.2
Scikit-learn Machine Learning 1.2.2
Psutil System Monitoring 5.9.5

๐Ÿ› ๏ธ Installation

Quick Setup Guide

# 1๏ธโƒฃ Clone the repository
git clone https://github.com/savetree-1/SecureWatch-Intrusion-Detection-Prevention.git
cd SecureWatch-Intrusion-Detection-Prevention

# 2๏ธโƒฃ Install dependencies
pip install -r requirements.txt

# 3๏ธโƒฃ Run the system
python idps.py --paths ./monitored_folder

๐ŸŽฎ Usage

Command Line Interface

Typing SVG
# Basic usage - monitors default directory
python idps.py

# Monitor specific directories
python idps.py --paths /home/user/documents /var/log

# Short form
python idps.py -p ./important_files ./sensitive_data

๐Ÿ“ˆ Real-time Monitoring Dashboard

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           IDPS MONITORING ACTIVE        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐Ÿ“ File Events:     127 events logged   โ”‚
โ”‚ ๐ŸŒ Network Conn:    45 connections      โ”‚
โ”‚ โšก Process Monitor:  12 alerts          โ”‚
โ”‚ ๐Ÿง  ML Model:        Trained & Active    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“ Log Files Generated

File Description Location
๐Ÿ“„ file_log.txt File system changes ./logs/
๐ŸŒ network_connections_log.txt Network activity ./logs/
โšก processes_log.txt System processes ./logs/
๐Ÿšจ anomaly_log.txt ML detection alerts ./logs/

โš™๏ธ Customization & Extensibility

The system is designed with modularity in mind. Customize monitoring intervals, detection thresholds, and logging options by editing variables in:

  • idps.py - Main configuration and file monitoring
  • monitor.py - Network and process monitoring settings
  • detector.py - ML model parameters and thresholds

๐Ÿ”ฎ Future Enhancements


Advanced ML
Neural networks & deep learning

Smart Alerts
Email, SMS, Slack integration

Analytics Dashboard
Real-time charts & graphs

Multi-Host
Network-wide protection

๐Ÿ“Š GitHub Analytics


๐Ÿค Connect With Me

โญ Show Your Support

If this project helped you, please consider giving it a star!


Developed with โค๏ธ by Ankush Rawat

Typing SVG

About

SecureWatch is a modern, modular intrusion detection and prevention system (IDPS) that provides comprehensive real-time monitoring of your system's security posture. Built with Python and powered by machine learning, it offers intelligent threat detection through continuous surveillance of file systems, network connections, and system processes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages