AI-Powered Log Analysis for Secure Offline Environments
Project Quorum is a self-contained forensic analysis platform designed for air-gapped and offline environments. It provides AI-driven threat detection, deep forensic capabilities, and log analysis without requiring internet connectivity.
- Offline AI Analysis: Embedded machine learning (Isolation Forest, One-Class SVM) for anomaly detection.
- Multi-Format Support: Parse Windows EVTX and Linux Syslog entries natively.
- MITRE ATT&CK Integration: Automatic mapping of detected threats to the MITRE ATT&CK framework.
- Secure Updates (SOUP): Cryptographically-signed offline update mechanism (RSA-2048 & SHA-256).
- Cross-Platform Support: Compatible with Windows, macOS, and Linux.
- Modern User Interface: Fast, responsive frontend built with React, TypeScript, and Vite.
- Versatile Backend: Full-featured Command-Line Interface (CLI) and a FastAPI-based REST API.
This repository is structured as a monorepo containing both the frontend and backend applications.
- Framework: React 18 + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS / PostCSS
- Desktop Packaging: Tauri (available via
src-tauri)
- Core: Python 3.9+
- API Framework: FastAPI
- Database: DuckDB (Optimized for fast, analytical queries)
- Machine Learning: Scikit-Learn
- Log Parsing:
python-evtx
- Python: v3.9 or higher
- Node.js: v18 or higher (for the frontend)
- Hardware: Minimum 8 GB RAM (16 GB recommended), 10 GB free disk space
git clone [https://github.com/yourusername/quorum.git](https://github.com/yourusername/quorum.git)
cd quorumNavigate to the backend directory and set up the Python environment:
cd backend
python -m venv venv
# Activate virtual environment
# On Windows: venv\Scripts\activate
# On Linux/macOS: source venv/bin/activate
# Install dependencies
pip install -r requirements.txt --break-system-packages
# Initialize Quorum Database & Environment
python main.py initStarting the Backend Server:
# Start FastAPI server (Development)
python -m api.main
# Or run via CLI interface
python main.py interactiveAPI Documentation will be available at: http://localhost:8000/docs
Open a new terminal, navigate to the frontend directory, and start the Vite dev server:
cd frontend
# Install dependencies
npm install
# Start the development server
npm run devThe frontend will typically run at: http://localhost:5173
The backend comes with a powerful CLI for offline administrative tasks. Run these from the /backend directory:
Ingest Logs
python main.py ingest file /path/to/logfile.evtx
python main.py ingest directory /path/to/logs --recursiveRun Analysis
python main.py analyze run --algorithm isolation_forest
python main.py analyze anomalies --severity CRITICALGenerate Reports
python main.py report generate --type pdf --graphs- Air-Gapped Operation: Quorum is designed to make zero network calls in offline mode. All dependencies are bundled, and model training/inference happens locally.
- SOUP Security: The Secure Offline Update Protocol ensures integrity using public key verification and tamper detection before applying any model or MITRE data updates.
This platform was developed as a student project for academic purposes.
- Author: Ankit Vishwakarma
- Institution: Shree L. R. Tiwari Degree College
- Department: Computer Science
- Academic Year: 2025-26
This project is intended for Academic/Educational Use.
Acknowledgments: MITRE ATT&CK Framework, scikit-learn community, DuckDB team, FastAPI framework, and python-evtx library.