Cyber Sanrakshak is an advanced Context-Aware Firewall designed to enhance network security by leveraging machine learning and feature engineering. It provides administrators with a robust system to define, monitor, and enforce security rules based on domain, application, host, or IP-based attributes. The solution focuses on anomaly detection, enabling proactive threat prevention and a detailed log-based analysis for network behavior monitoring.
Cyber Sanrakshak was developed as part of the Smart India Hackathon 2024 to address challenges in network security management. The project provides a cross-platform firewall solution that integrates an admin dashboard, backend services, and a firewall agent for comprehensive monitoring and control.
- Domain-based filtering for enhanced content control.
- Application-level monitoring and restriction.
- Host and IP address-based rule enforcement.
- Machine learning model to detect and prevent malicious behavior in real-time.
- Proactive analysis based on client logs and system activity.
- User-friendly interface for managing firewall rules and reviewing logs.
- Dynamic visualization of network activity and security events.
- A desktop-based firewall monitoring tool to observe and control system activities.
- Top-Level Architecture:
- Backend service for handling rule definitions and real-time monitoring.
- Socket connections for real-time updates between firewall agent and server.
- Frontend: Next.js
- Backend: Node.js
- Database: MongoDB
- Machine Learning: Python-based anomaly detection
- The admin dashboard and monitoring tools are designed to work seamlessly across multiple devices.
To get a detailed walkthrough of the project, you can view the presentation slides:

-
Clone both repositories:
-
Install dependencies:
cd firewall-frontend npm install cd ../firewall-backend npm install
-
Start services:
- Run the backend:
node server.js
- Start the frontend:
npm start
- Run the backend:
-
Access the dashboard at
http://localhost:3000.
- Login: Access the admin dashboard with valid credentials.
- Rule Management: Add, modify, or delete firewall rules via the user-friendly interface.
- Monitoring: View real-time logs and statistics of network activity.
- Anomaly Detection: Automatically detect and handle suspicious activities using ML-powered insights.
- Palash Chitnavis
- Ayush Sah IMT
- Ankesh Gupta
- Mahesh Suryawanshi
- Ayush Vishwakarma
- Ayesha
This project was inspired by research and practical implementations in the field of anomaly detection and web application firewalls:
- Web Application Firewall Using Machine Learning and Feature Engineering
- Anomaly Detection Using Machine Learning Techniques
By developing Cyber Sanrakshak, our goal is to provide a secure, scalable, and efficient solution for modern network security challenges.
Made with Love 🧡
©2024 Cyber Sanrakshak Team. All rights reserved.