
Lab4PurpleSec is a modular Purple Team homelab combining a vulnerable Active Directory environment (GOAD), a Docker-based web DMZ, pfSense + Suricata, and a Wazuh SIEM. It provides a realistic, open-source training environment for web exploitation, pivoting, Active Directory attacks, and Blue Team detection.

Lab4PurpleSec is a segmented cybersecurity homelab for hands-on Red Team and Blue Team practice, combining network and web penetration testing, Active Directory attacks, and defensive monitoring (SIEM, IDS/IPS). It is aimed at students and cybersecurity enthusiasts who prefer to build the environment from scratch rather than use pre-built VMs. The goal is to understand each component by installing and configuring it manually, in a reproducible yet customizable way.
The following table provides an overview of the documented cybersecurity scenarios.
| Scenario | Status | Link |
|---|---|---|
| Scenario 1 - Web application exploitation (WAN → DMZ) | Documented | Scenario 1 |
| Scenario 2 - Active Directory attacks on GOAD (Kerberoasting & AS-REP Roasting) | Documented | Scenario 2 |
See also SCENARIOS/00-lab-overview.md for the lab topology and the scenario index.
Lab4PurpleSec includes the following features:
Lab4PurpleSec is an evolving cybersecurity homelab designed for Red Team and Blue Team training in a near-enterprise environment, integrating network/web pentesting, Active Directory, detection, SIEM, and IDS/IPS.
Project intended for students and cybersecurity enthusiasts!
Lab4PurpleSec is designed to be flexible and can be deployed according to your needs and available resources. You don't need to run all VMs simultaneously - scenarios are designed to be executed step-by-step.
Note: These prerequisites are for a reference configuration. You can customize them to fit your needs. Of course, the RAM is the most important resource to consider (for virtualisation, CPU/GPU power is not as important as RAM).
Important Notes:
Vagrantfile to match your hardware (reduce RAM/CPU per VM if needed)For detailed hardware and software requirements, see docs/SETUP/prereqs.md.
docs/SETUP/prereqs.md for complete listLab4PurpleSec does not provide pre-built virtual machines (OVA/OVF). Installation is done entirely "from scratch" by following the detailed guides provided. This approach:
Lab4PurpleSec is an environment dedicated to application and system vulnerability exploitation, hosting intentionally vulnerable machines (Metasploitable2/3), OWASP web applications in an isolated DMZ zone, as well as a vulnerable Active Directory environment (GOAD MINILAB). The overall topology is shown in the following diagram.

GOAD-MINILAB replicates a simplified Active Directory environment with a domain controller and a Windows client workstation (multiple if needed), allowing simulation of various types of Active Directory-oriented attacks.

This section presents the organization of the Lab4PurpleSec repository and describes the role of each directory and main file. This structure enables clear navigation between installation guides, configurations, tests, and project resources.