PurpleLab is an efficient and readily deployable lab solution, providing a swift setup for cybersecurity professionals to test detection rules and undertake va
PurpleLab is an efficient and readily deployable lab solution, providing a swift setup for cybersecurity professionals to test detection rules and undertake va
Table of Contents
What is PurpleLab?
Installation
Requirements
Installation Steps
Accounts Setup
ELK Configuration
VM Logs Configuration
Usage
Home Page
Hunting Page
MITRE ATT&CK Page
Malware Page
Sharing Page
Sigma Page
Rule Lifecycle Page
Health Page
Admin Page
Splunk App
Cortex Analyzer
API Documentation
What is PurpleLab ?
PurpleLab is a cybersecurity laboratory that enables security professionals to easily deploy an entire testing environment for creating and validating detection rules, simulating realistic attack scenarios, and training security analysts.
️ Architecture Components
The lab includes:
** Web Interface** - Complete frontend for controlling all features
** VirtualBox Environment** - Ready-to-use Windows server 2019 with sysmon and opensearch collector
⚙️ Flask Backend - Robust API and application logic
️ PostgreSQL Database - Secure data storage
** Opensearch Server** - Advanced log analysis and search capabilities
(⬆️ back to top)
Installation procedure
⚠️ Important: For a completely clean installation, follow ALL chapters of the installation procedure from requirements to accounts configuration.
⚠️ Security Notice: This lab has not been hardened and runs with basic credentials. Do not connect it to production networks or secure it with proper PKI and authentication systems.
Requirements
Minimum Hardware Resources:
Storage: 200GB available space
CPU: 8 cores minimum
RAM: 13GB minimum
Software Requirements:
Clean installation of Ubuntu Server 22.04 - Download Here
⚠️ Note: Ubuntu Server 23.10 may cause issues with Python library installation.
⚠️ Hardware Virtualization Setup:
VMware Workstation:
Go to VM settings → Processors → Virtualization engine
Enable "Virtualize Intel VT-x/EPT or AMD-V/RVI"
VirtualBox:
Select VM → Right-click → Settings → System → Processor