Skip to content

ziyous09/UEBA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ UEBA Security System

System Status Version License Python

Enterprise-grade User and Entity Behavior Analytics (UEBA) platform for real-time security monitoring with ML-powered threat detection, automated anomaly detection, and interactive security dashboards.

✨ Key Features

  • πŸ” Enterprise Authentication - Multi-user support with role-based access control
  • πŸ€– Machine Learning - AutoML optimization with 28+ trained models (Random Forest, XGBoost, Neural Networks)
  • πŸ“Š Security Dashboards - 4 pre-configured Grafana dashboards (SOC Operations, Threat Intelligence, Executive Summary, ML Analytics)
  • ⚑ Real-time Monitoring - Live threat detection and behavioral analytics
  • 🐳 Containerized - Docker-based Elasticsearch and Grafana deployment
  • πŸ”„ Auto-healing - Self-monitoring with automated issue resolution

πŸš€ Quick Start

Prerequisites

  • Python 3.13+
  • Docker and Docker Compose
  • 8GB+ RAM recommended
  • Ports 3000 (Grafana) and 9200 (Elasticsearch) available

Installation

# Clone repository
git clone https://github.com/ziyous09/UEBA.git
cd UEBA

# Install dependencies
pip install -r requirements.txt

# Start Docker services
docker-compose up -d

# Launch UEBA system
python ueba_launcher.py

Quick Deployment

# Complete system deployment with validation
python ueba_launcher.py --quick

# Default login credentials
Username: admin
Password: SecureNewPass123!

πŸ“Š Access Dashboards

After deployment, access the following services:

The system automatically deploys 4 security dashboards:

  • πŸ›‘οΈ SOC Operations Center - Real-time threat monitoring
  • 🧠 Security Analytics & ML - Machine learning insights
  • 🎯 Threat Intelligence - Attack pattern analysis
  • πŸ“‹ Executive Security Summary - High-level overview

πŸŽ›οΈ Main Menu Options

The interactive launcher provides 14 options:

Quick Actions:

  1. Quick Deploy - Complete system setup
  2. System Health Check - Diagnostic testing
  3. Fast Security Analysis - Rapid threat assessment

ML & Analytics (Authentication Required): 4. Interactive ML Analysis 5. AutoML Optimization 6. Neural Network Training 7. Advanced ML Detection 8. Generate Sample Data 9. ML Alerting System 10. View Results 11. Real-time ML Monitoring

Authentication: 12. Login/Change Password 13. User Management (Admin only) 14. Logout

πŸ” Authentication

Default Accounts

Username Password Role Access
admin SecureNewPass123! Administrator Full access + user management
testuser TestPass123! User ML features only

Security Features:

  • SHA256 password hashing
  • Role-based access control
  • Session management
  • Audit logging

🐳 Docker Management

# Start services
docker-compose up -d

# Check status
docker ps

# View logs
docker-compose logs

# Stop services
docker-compose down

# Restart services
docker-compose restart

πŸ”§ Command Line Options

# Interactive launcher
python ueba_launcher.py

# Quick deployment with health checks
python ueba_launcher.py --quick

# Auto-run specific menu option
python ueba_launcher.py --auto 2

# Development mode (no authentication)
python ueba_launcher.py --no-auth

# Background daemon mode
python ueba_launcher.py --daemon

πŸ› οΈ System Architecture

UEBA System v3.1
β”œβ”€β”€ ueba_launcher.py          # Main entry point
β”œβ”€β”€ analytics-engine/         # Core ML & security engine
β”‚   β”œβ”€β”€ auth_system.py
β”‚   β”œβ”€β”€ quick_deploy_optimized.py
β”‚   β”œβ”€β”€ automl_optimizer.py
β”‚   β”œβ”€β”€ advanced_ml_detector.py
β”‚   └── [25+ analytics modules]
β”œβ”€β”€ ml_models/                # 28 trained ML models
β”œβ”€β”€ config/                   # System configuration & user database
└── docs/                     # Documentation

πŸ€– Machine Learning Capabilities

Supported Algorithms:

  • Random Forest - Ensemble learning
  • XGBoost - Gradient boosting
  • LightGBM - Fast gradient boosting
  • SVM - Support vector machines
  • Neural Networks - CNN, LSTM, Hybrid architectures

Features:

  • Automated model training and selection
  • Real-time threat detection
  • Behavioral anomaly detection
  • Performance tracking and versioning

🚨 Troubleshooting

Port Already in Use

# Check port usage
netstat -tulpn | grep :3000

# Clean up containers
docker-compose down

Container Issues

# Check container status
docker ps -a

# Restart system
docker-compose down && docker-compose up -d

Dashboard Issues

# Recreate dashboards
cd analytics-engine
python grafana_dashboard_provisioner.py --create-all

System Health Check

# Run comprehensive diagnostics
python ueba_launcher.py --auto 2

πŸ“š Documentation

For detailed information, see:

  • USER_GUIDE.md - Comprehensive user manual
  • DOCKER_INSTALLATION_GUIDE.md - Container setup instructions
  • PROJECT_MEMORY.md - AI assistant's project history

πŸ” Security Considerations

Production Deployment Checklist:

  • Change all default passwords
  • Enable HTTPS for web interfaces
  • Configure firewall rules
  • Implement regular security updates
  • Monitor access logs
  • Set up backup procedures
  • Configure log rotation

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/name)
  3. Commit your changes (git commit -m 'Add feature')
  4. Push to branch (git push origin feature/name)
  5. Open a Pull Request

πŸ“ž Support

  • GitHub Issues: Report bugs or request features
  • Documentation: See comprehensive guides in repository
  • Security Issues: Report privately via GitHub security advisories

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ›‘οΈ UEBA v3.1 - Enterprise-Grade Security Analytics
Protecting organizations through intelligent behavior analysis and real-time threat detection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors