Downloads · 30 days
0
chari-00/insider_threats
insider_threats is a machine learning model from chari-00. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A comprehensive real-time cyber threat detection dashboard that monitors user behavior to identify insider threats and anomalous activities using advanced machine learning techniques.
Downloads · 30 days
0
Access
Public
Updated Nov 11, 2025
Repo size
911 KB
Likes
1
Public
Click a slice to open those files.
.csv1.2 MB · 49%
From the Hugging Face model README
A comprehensive real-time cyber threat detection dashboard that monitors user behavior to identify insider threats and anomalous activities using advanced machine learning techniques.
The Insider Threats Detection System is an enterprise-grade security solution that provides real-time monitoring and analysis of user activities to detect potential insider threats. The system combines traditional rule-based detection with cutting-edge machine learning algorithms to identify anomalous behavior patterns that may indicate malicious insider activities.
Clone the repository
git clone https://github.com/yourusername/insider-threats.git
cd insider-threats
Install dependencies
pip install -r requirements.txt
Run the application
python app_live.py
Access the dashboard
Open your browser and navigate to: http://localhost:8050
Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install dependencies
pip install -r requirements.txt
Verify installation
python -c "import dash, tensorflow, pandas; print('✅ All packages installed successfully!')"
python app_live.py
Start Simulation: Click "Start Simulation" to begin live monitoring
Configure Parameters:
Monitor Results: View real-time metrics, charts, and user risk assessments
insider-threats/
├── app_live.py # Main dashboard application
├── requirements.txt # Python dependencies
├── README.md # Project documentation
├── .gitignore # Git ignore rules
├── assets/
│ └── style.css # Dashboard styling
├── data/
│ ├── raw/ # Raw LANL authentication logs
│ ├── processed/ # Processed features and baselines
│ └── synthetic/ # Generated synthetic data
├── models/ # Trained ML models
└── src/ # Source code
├── __init__.py
├── adaptive_ml_detector.py # Traditional ML detection
├── anomaly_detector.py # Anomaly detection models
├── config.py # Configuration settings
├── data_generator.py # Synthetic data generation
├── data_loader.py # Data loading utilities
├── enhanced_adaptive_ml_detector.py # Enhanced ML detection
├── explainer.py # SHAP model explanations
├── feature_engineering.py # Feature extraction
├── graph_analyzer.py # Graph-based analysis
├── live_simulator.py # Live simulation engine
├── lstm_autoencoder.py # LSTM temporal detection
├── user_blocking_system.py # User blocking logic
└── vae_anomaly_detector.py # VAE-based detection
src/config.py)# Risk thresholds
RISK_THRESHOLDS = {
'low': (0, 40),
'medium': (40, 70),
'high': (70, 100)
}
# Model parameters
ISOLATION_FOREST_PARAMS = {
'n_estimators': 100,
'contamination': 0.1,
'random_state': 42
}
# Dashboard settings
DASHBOARD_PORT = 8050
DASHBOARD_DEBUG = True
# Install development dependencies
pip install -r requirements-dev.txt
# Run tests
python -m pytest tests/
# Run linting
flake8 src/
⚠️ Disclaimer: This system is designed for educational and research purposes. Always ensure compliance with privacy laws and organizational policies when deploying in production environments.