Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Quantum Fingerprint Intrusion Detection System (QF-IDS)

Detect β€’ Divert β€’ Defend β€’ Secure

An AI-powered Quantum Intrusion Detection System that combines Machine Learning, BB84 Quantum Key Distribution, and Real-Time Threat Monitoring to secure next-generation communication networks.


Python FastAPI React Firebase Machine Learning Quantum Computing


πŸ“Œ Overview

Quantum Fingerprint Intrusion Detection System (QF-IDS) is a next-generation cybersecurity platform designed to detect, analyze, and respond to attacks on communication channels using a combination of Artificial Intelligence and Quantum Security concepts.

The system continuously monitors multiple communication channels, identifies anomalies using an Isolation Forest Machine Learning model, simulates BB84 Quantum Key Distribution (QKD), detects eavesdropping through Quantum Bit Error Rate (QBER) analysis, and automatically diverts attackers into a quantum-randomized honeypot while generating real-time security alerts.


✨ Key Features

  • πŸ” Quantum Fingerprint-based Intrusion Detection
  • πŸ€– AI-powered Anomaly Detection using Isolation Forest
  • βš›οΈ BB84 Quantum Key Distribution Simulation
  • πŸ“Š Live Security Operations Dashboard
  • πŸ‘₯ Multi-Tenant Customer Portal
  • πŸ”΄ Dedicated Attacker Console
  • 🍯 Quantum Honeypot Diversion
  • 🚨 Real-Time Incident Monitoring
  • ☁️ Firebase Cloud Integration
  • πŸ“ˆ Live Threat Analytics
  • πŸ”„ Automatic Response Engine
  • πŸ›‘οΈ Adaptive Security Monitoring


πŸ› οΈ Technology Stack

Category Technologies
Frontend React, Vite, HTML5, CSS3, JavaScript
Backend Python, FastAPI
Machine Learning Scikit-learn, Isolation Forest, NumPy
Database Firebase Firestore
Quantum Security BB84 Quantum Key Distribution, QBER Analysis
Tools Git, GitHub, VS Code

πŸš€ Getting Started

Step 1 β€” Clone the Repository

git clone https://github.com/dhanikgk/Quantum-Fingerprint-Intrusion-Detection.git

Move into the project folder.

cd Quantum-Fingerprint-Intrusion-Detection

βš™οΈ Backend Setup

Open a new terminal.

cd backend

Install all required Python packages.

pip install -r requirements.txt

Start the backend server.

python run.py

The backend will start on:

http://localhost:8000

The backend is responsible for:

  • API Services
  • Machine Learning Detection
  • Quantum BB84 Simulation
  • Firebase Communication
  • Incident Management
  • WebSocket Communication

🎨 Frontend Setup

Open another terminal.

cd frontend

Install dependencies.

npm install

Start the development server.

npm run dev

Open your browser.

http://localhost:5173

This launches the Defender Dashboard where security analysts can monitor communication channels, incidents, and threat detection in real time.


πŸ‘₯ Customer Portal

The Customer Portal is served directly by the backend.

After starting the backend, open:

http://localhost:8000/portal

The Customer Portal provides:

  • Secure Customer Login
  • Purchased Channel Monitoring
  • Security Summary
  • Live Status Dashboard
  • Plan Information

πŸ”΄ Attacker Console

To simulate cyber attacks, open:

http://localhost:8000/attacker

The Attacker Console allows you to:

  • Launch Simulated Attacks
  • Test Detection Accuracy
  • Trigger Quantum Honeypot Diversion
  • Observe Attacker Lifecycle
  • Verify Automatic Blocking

🎯 How to Use the System

Once the backend and frontend are running, follow these steps to experience the complete Quantum Fingerprint Intrusion Detection workflow.

Step 1 β€” Open the Defender Dashboard

Visit:

http://localhost:5173

The dashboard provides a real-time view of all monitored communication channels, threat levels, anomaly scores, active incidents, and system health.


Step 2 β€” Open the Customer Portal

Visit:

http://localhost:8000/portal

The Customer Portal allows users to:

  • Login securely
  • View purchased communication channels
  • Monitor channel security
  • Check live protection status
  • View plan information

Step 3 β€” Open the Attacker Console

Visit:

http://localhost:8000/attacker

The Attacker Console simulates an external attacker attempting to compromise the protected communication channels.

Available actions include:

  • Launch Network Attacks
  • Trigger Quantum Channel Attacks
  • Test Detection Accuracy
  • Observe Honeypot Diversion
  • Simulate Real-World Intrusion Scenarios


πŸ€– Machine Learning Detection

QF-IDS uses an Isolation Forest anomaly detection model to continuously monitor communication channels.

The model learns normal communication behavior and identifies abnormal activities such as:

  • Channel fingerprint deviations
  • Suspicious communication patterns
  • Quantum Bit Error Rate anomalies
  • Network attacks
  • Unauthorized access attempts

Detected anomalies are immediately forwarded to the response engine for further action.


βš›οΈ Quantum Security

One of the key innovations of this project is the implementation of the BB84 Quantum Key Distribution (QKD) Simulation.

The system continuously monitors the Quantum Bit Error Rate (QBER) generated during key exchange.

If an eavesdropper attempts an Intercept-Resend Attack, the QBER increases beyond the acceptable threshold, allowing the system to detect potential quantum attacks and trigger defensive responses.


🍯 Quantum Honeypot

Instead of immediately rejecting attackers, QF-IDS intelligently redirects malicious users into a quantum-randomized honeypot environment.

The honeypot:

  • Generates fake services
  • Simulates sensitive data
  • Collects attacker behavior
  • Profiles attack patterns
  • Prevents access to real infrastructure

This enables safe monitoring while protecting the production environment.


☁️ Firebase Configuration

This project uses Firebase Firestore for cloud-based data storage.

Before running the project:

  1. Create a Firebase Project.
  2. Enable Firestore Database.
  3. Generate a Service Account Key.
  4. Download the JSON credentials.
  5. Rename the file as:
firebase-service-account.json
  1. Place the file inside the project root.

Note: The Firebase Service Account credentials are intentionally excluded from this repository using .gitignore for security reasons.



πŸš€ Future Enhancements

The current version demonstrates the core capabilities of Quantum Fingerprint Intrusion Detection. Future improvements may include:

  • 🌐 Cloud Deployment (AWS / Azure / GCP)
  • πŸ“± Mobile Security Dashboard
  • πŸ€– Deep Learning-based Threat Detection
  • πŸ” Integration with Real Quantum Hardware
  • πŸ“‘ Real-Time Network Packet Monitoring
  • πŸ“§ Email & SMS Security Alerts
  • πŸ‘€ Role-Based Access Control (RBAC)
  • 🏒 Multi-Organization Deployment
  • πŸ“Š Advanced Threat Intelligence Dashboard
  • πŸ”— Blockchain-based Security Logging

πŸ“š Research References

This project is inspired by modern research in Quantum Cryptography, Machine Learning, and Network Intrusion Detection.

Key concepts implemented include:

  • BB84 Quantum Key Distribution (QKD)
  • Isolation Forest Anomaly Detection
  • Quantum Bit Error Rate (QBER) Analysis
  • Quantum Random Number Generation (QRNG)
  • Network Intrusion Detection Systems (NIDS)
  • Cyber Deception & Honeypot Technologies

🀝 Contributing

Contributions are always welcome!

If you'd like to improve this project:

  1. Fork the repository.
  2. Create a new feature branch.
  3. Commit your changes.
  4. Push your branch.
  5. Open a Pull Request.

Every contribution that improves the project is appreciated.


⭐ Support

If you found this project interesting or useful:

⭐ Star this repository

🍴 Fork the repository

πŸ› οΈ Share your suggestions

Your support motivates future development.


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

Dhanik G K

Computer Science Engineering Student

B.N.M. Institute of Technology

Bengaluru, Karnataka, India


πŸ“„ License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this project under the terms of the MIT License.


⭐ If you like this project, consider giving it a Star ⭐

Made with ❀️ by Dhanik G K

About

An AI-powered Quantum Fingerprint Intrusion Detection System combining quantum channel fingerprinting, machine learning, and real-time threat monitoring to secure next-generation communication networks.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages