Skip to content

ArapKBett/Cysec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ CyberVault Unified Security Platform v2.1

CyberVault Logo Security Platform Python C++

Enterprise Cybersecurity Platform - Python Backend + Native C/C++ Performance

πŸš€ Live Demo | πŸ“– Local Setup | πŸ› Issues


🌟 Unified Platform Features

πŸ”’ Dual-Layer Encryption System

  • Native C Implementation: High-performance AES-256-CBC with PBKDF2 (10,000 iterations)
  • Python Advanced Crypto: Quantum-resistant encryption algorithms
  • Multiple interfaces: REST API, Web UI, and direct binary access
  • Enterprise key management with secure derivation and storage
  • Real-time validation and comprehensive error handling

🌐 Multi-Mode Network Analysis

  • Native C++ Sniffer: Real-time packet capture and analysis
  • Python Advanced Scanner: Comprehensive network reconnaissance
  • Threat Intelligence: Integration with VirusTotal, Shodan, GreyNoise
  • Vulnerability Assessment: Automated security testing
  • OSINT Capabilities: Open-source intelligence gathering

πŸ›‘οΈ Enterprise Security Suite

  • Advanced Scanning: Port scanning, service detection, OS fingerprinting
  • Malware Analysis: Static and dynamic analysis capabilities
  • Incident Response: Security event correlation and response
  • Compliance Monitoring: SOC2, GDPR, HIPAA compliance tracking
  • Real-time Dashboards: Professional SOC-inspired interfaces

πŸš€ Performance & Architecture

  • Hybrid Backend: Python Flask + Native C/C++ binaries
  • Microservices Ready: Containerized deployment support
  • Cloud-Native: Optimized for Render, AWS, GCP, Azure
  • High Availability: Load balancing and failover capabilities
  • API-First Design: RESTful APIs with comprehensive documentation

πŸš€ Quick Start

🌐 Online Access (Instant)

Live Platform: cybervault.onrender.com

  • βœ… No installation required
  • βœ… Full functionality available
  • βœ… Secure cloud environment

πŸ’» Local Development

System Requirements

java -version    # Java 17+
node --version   # Node.js 18+
gcc --version    # GCC compiler
g++ --version    # G++ compiler

# Install dependencies (Ubuntu/Debian)
sudo apt install openjdk-17-jdk maven nodejs npm gcc g++ libssl-dev libpcap-dev

# macOS with Homebrew
brew install openjdk@17 maven node libpcap

# Windows (use WSL2 or install via Chocolatey)
choco install openjdk17 maven nodejs gcc

πŸ”§ Setup Steps

# 1. Clone repository
git clone https://github.com/arapbett/cybervault.git
cd cybervault

# 2. Compile native security components
gcc -O3 -o backend/c/encrypt backend/c/encrypt.c -lssl -lcrypto
g++ -O3 -o backend/cpp/sniffer backend/cpp/sniffer.cpp -lpcap
chmod +x backend/c/encrypt backend/cpp/sniffer

# 3. Start backend (Terminal 1)
cd backend/java
mvn spring-boot:run
# Backend: http://localhost:8080

# 4. Start frontend (Terminal 2)
cd frontend
npm install && npm start
# Frontend: http://localhost:3000

🐳 Docker Deployment

# Quick Docker setup
docker build -t cybervault:latest .
docker run -p 8080:8080 --cap-add=NET_RAW cybervault:latest

# With docker-compose
docker-compose up -d

πŸ“– Usage Guide

πŸ”’ File Encryption (Multiple Methods)

Method 1: Visual File Browser (Recommended)

  1. Click πŸ” ENCRYPT tab
  2. Click πŸ“ button next to "Source File Path"
  3. Navigate through directories and select your file
  4. Click πŸ“‚ for output location selection
  5. Enter encryption password (8-31 characters)
  6. Click INITIATE ENCRYPTION

Method 2: File Upload

  1. Click πŸ“€ upload button
  2. Drag & drop or select file from your computer
  3. File automatically staged for encryption
  4. Set output path and password
  5. Encrypt

Method 3: Quick Path Selection

  1. Use quick-path buttons (Documents, Downloads, Temp)
  2. Or type custom paths manually
  3. Set encryption password
  4. Process encryption

🌐 Network Security Scanning

  1. Click 🌐 NETWORK tab
  2. Select interface (auto-detect recommended)
  3. Choose scan duration (1-60 seconds)
  4. Click START NETWORK SCAN
  5. View comprehensive network analysis:
    • Packet statistics (TCP/UDP/ICMP)
    • Top source/destination IPs
    • Active ports and protocols
    • Network interface status

πŸ”“ File Decryption

  1. Click πŸ”“ DECRYPT tab
  2. Select encrypted file (.enc) using file browser
  3. Choose output location
  4. Enter correct decryption password
  5. Click INITIATE DECRYPTION

πŸ› οΈ API Documentation

Base Endpoints

# Backend API
http://localhost:8080/api/v1/cyber/

# File Browser
GET /files/browse?path=/tmp
GET /files/common-paths

# Security Operations
POST /encrypt
POST /decrypt
GET /network/scan?device=auto&duration=10
GET /status

Example Usage

# File encryption
curl -X POST http://localhost:8080/api/v1/cyber/encrypt \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "input=/tmp/file.txt&output=/tmp/file.enc&key=password123"

# Network scanning
curl "http://localhost:8080/api/v1/cyber/network/scan?device=auto&duration=10"

# File browsing
curl "http://localhost:8080/api/v1/cyber/files/browse?path=/home"

πŸ—οΈ Architecture & Performance

System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   React UI      β”‚    β”‚  Spring Boot    β”‚    β”‚  Native Bins    β”‚
β”‚   Frontend      │◄──►│   Backend       │◄──►│  C/C++ Security β”‚
β”‚   (Port 3000)   β”‚    β”‚   (Port 8080)   β”‚    β”‚  Components     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
        β”‚                        β”‚                        β”‚
        β–Ό                        β–Ό                        β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Docker Container (Alpine Linux)                    β”‚
β”‚         Production-Ready Security Environment                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Technology Stack

  • Frontend: React 18 + Tailwind CSS + Custom Cyber Themes
  • Backend: Spring Boot 3 + Spring Security 6 + Jakarta Validation
  • Security Core: C (OpenSSL 3.0) + C++ (libpcap) + Security Hardening
  • Deployment: Docker + Alpine Linux + Multi-stage Optimization
  • Performance: < 30s startup, ~50MB/s encryption, < 100ms API response

πŸ” Enterprise Security Features

πŸ›‘οΈ Encryption Security

  • AES-256-CBC: Military-grade encryption standard
  • PBKDF2: 10,000 iterations key strengthening
  • Random Salt/IV: Unique per encryption operation
  • Secure Memory: Automatic clearing of sensitive data
  • Input Validation: Comprehensive security checks

🌐 Network Security

  • Deep Packet Inspection: Raw socket access
  • Protocol Classification: TCP/UDP/ICMP analysis
  • Real-time Monitoring: Live traffic statistics
  • Multi-interface: Complete network coverage
  • Security Scanning: Port and vulnerability detection

🏰 Platform Security

  • Input Sanitization: XSS & injection prevention
  • Path Traversal Protection: Directory security
  • Rate Limiting: DDoS protection ready
  • Container Security: Non-root execution
  • API Authentication: Security token ready

πŸš€ Deployment Options

☁️ Cloud Platforms

  • βœ… Render (Current: cybervault.onrender.com)
  • βœ… AWS ECS/Fargate - Enterprise container deployment
  • βœ… Google Cloud Run - Serverless container platform
  • βœ… Azure Container Instances - Microsoft cloud
  • βœ… Heroku - Simple PaaS deployment

🏠 Self-Hosted

  • βœ… Docker Compose - Local orchestration
  • βœ… Kubernetes - Enterprise orchestration
  • βœ… VPS/Dedicated - Full control deployment
  • βœ… Local Development - Development environment

🀝 Contributing

Development Process

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Compile and test local binaries
  4. Test all security features
  5. Commit changes (git commit -m 'Add amazing feature')
  6. Push to branch (git push origin feature/amazing-feature)
  7. Open Pull Request with security review

Code Standards

  • Security First: OWASP compliance required
  • Testing: 70% minimum coverage
  • Documentation: Comprehensive API docs
  • Performance: Benchmark all changes

πŸ“ License & Legal

MIT License

This project is open source under the MIT License - see LICENSE file.

⚠️ Security Disclaimer

Authorized Use Only:

  • βœ… Security research and education
  • βœ… Authorized penetration testing
  • βœ… CTF competitions and training
  • βœ… Defensive security operations
  • βœ… Personal file encryption

Prohibited Uses:

  • ❌ Unauthorized system access
  • ❌ Illegal surveillance or monitoring
  • ❌ Violation of privacy laws
  • ❌ Malicious network activities

πŸ‘¨β€πŸ’» Author & Support

Arap Bett - Security Architect & Platform Developer


πŸ™ Acknowledgments

  • OpenSSL Foundation - Cryptographic security libraries
  • libpcap Team - Network packet analysis framework
  • Spring Framework - Enterprise Java platform
  • React Community - Modern web interface framework
  • Alpine Linux - Secure container base system

πŸ›‘οΈ Securing the Digital Frontier with Industrial-Grade Cybersecurity πŸ›‘οΈ

Security Performance Platform

⭐ Star Repository | πŸš€ Live Platform | πŸ“– Full Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors