Skip to content

prasiddhapal/SentinelShield-Famous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ SentinelShield-WAF

Advanced Web Application Firewall (WAF) & Intrusion Detection System (IDS)

Real-time cyber threat detection, attack monitoring, GeoIP intelligence, and automated defense system built using Python & Flask.

Python Flask SQLite Status Security


πŸš€ Features

πŸ” Advanced Threat Detection

SentinelShield actively monitors incoming HTTP traffic and detects:

  • πŸ’‰ SQL Injection (SQLi)
  • ⚑ Cross-Site Scripting (XSS)
  • πŸ“‚ Local File Inclusion (LFI)
  • πŸ›£οΈ Directory Traversal
  • πŸ’» Command Injection (RCE)
  • 🌐 Server-Side Request Forgery (SSRF)
  • 🧩 XML External Entity (XXE)
  • πŸ“¦ Insecure Deserialization
  • 🚫 Brute Force & Abuse Attempts

🧠 Intelligent Security Engine

βœ… Dynamic Risk Scoring

Every request receives a threat score between 0–100 based on:

  • payload behavior
  • attack severity
  • request frequency
  • malicious indicators

🚨 Automated IP Banning

Attackers exceeding the security threshold are:

  • automatically blocked
  • permanently blacklisted
  • tracked in the reputation database

⚑ Rate Limiting

Prevents:

  • brute-force attacks
  • request flooding
  • automated abuse

🌍 Threat Intelligence Dashboard

The interactive dashboard provides:

  • πŸ“‘ Real-time attack monitoring
  • 🌎 GeoIP threat visualization
  • πŸ“Š Attack distribution analytics
  • 🧾 Live request logs
  • πŸ›‘οΈ OWASP attack simulator
  • 🚫 Threat actor management
  • πŸ“ˆ Security scoring metrics

πŸ“Έ Dashboard Screenshots

Main Dashboard

image

GeoIP Threat Intelligence

image

Live Attack Monitoring

image

πŸ—οΈ Tech Stack

Technology Purpose
Python 3 Core backend programming language
Flask Web framework for routing and middleware
SQLite3 Persistent attack logging & IP reputation database
Regex (re) Signature-based attack detection engine
Threading Non-blocking asynchronous background processing
HTML / CSS / JavaScript Interactive real-time dashboard frontend
Chart.js Security analytics & visualization
FPDF PDF security report generation
python-docx DOCX forensic report generation
GeoIP API (ip-api.com) Threat intelligence & attacker geolocation

πŸ”Œ API Integration

🌍 GeoIP Threat Intelligence API

SentinelShield integrates with:

http://ip-api.com/json/{ip}

to resolve attacker IP addresses into:

  • 🌐 Country
  • πŸ™οΈ City
  • πŸ›°οΈ ISP Information
  • πŸ“ Latitude & Longitude
  • 🧭 Timezone

This enables real-time geographic threat intelligence visualization directly inside the dashboard.


βš™οΈ Installation

1️⃣ Clone Repository

git clone https://github.com/prasiddhapal/SentinelShield-Famous.git
cd SentinelShield-Famous

2️⃣ Install Dependencies

pip install Flask requests fpdf python-docx

3️⃣ Start Server

python app.py

🌐 Access Application

Open browser:

http://localhost:5000

πŸ“‚ Project Structure

SentinelShield-WAF/
β”‚
β”œβ”€β”€ static/
β”œβ”€β”€ templates/
β”œβ”€β”€ screenshots/
β”œβ”€β”€ app.py
β”œβ”€β”€ README.md
β”œβ”€β”€ .gitignore
β”œβ”€β”€ requirements.txt
└── SentinelShield_Practical_document.docx

πŸ”’ Security Notice

This project is developed for:

  • cybersecurity learning
  • ethical security testing
  • defensive security research
  • educational demonstrations

⚠️ Do not use against systems without authorization.


πŸ‘¨β€πŸ’» Developer

Prasiddha Pal

  • πŸ›‘οΈ Web Security
  • 🌐 Threat Intelligence
  • βš™οΈ Backend Development
  • πŸ“Š Security Analytics

⭐ Future Improvements

  • πŸ€– AI-powered anomaly detection
  • 🧠 Machine learning threat analysis
  • 🐳 Docker deployment
  • πŸ“‘ SIEM integration
  • πŸ”” Real-time alert notifications
  • πŸ‘₯ Multi-user authentication
  • πŸ”Œ REST API support

πŸ“œ License

This project is licensed for educational and portfolio purposes.

About

Advanced Intrusion Detection & Web Protection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors