Cybersecurity Lab Environment
brew bundle
prek installRequires Docker. Each lab pairs a deliberately vulnerable target with a shared Kali desktop on an isolated Docker network. One lab runs at a time, and each shuts itself down after 2 hours.
| Lab | Target | Start | Stop |
|---|---|---|---|
| Juice Shop | Insecure online shop (web app) | just juice-shop-up |
just juice-shop-down |
| DVWA | One page per vulnerability class (PHP) | just dvwa-up |
just dvwa-down |
| crAPI | Vulnerable API application (microservices) | just crapi-up |
just crapi-down |
| DVGA | Vulnerable GraphQL API (Python) | just dvga-up |
just dvga-down |
| WebGoat | Guided lessons with WebWolf helper (Java) | just webgoat-up |
just webgoat-down |
After starting a lab, open the Kali desktop at http://127.0.0.1:6080/vnc.html (password kalilab). Each lab's README covers its usage.
| Command | Purpose |
|---|---|
just gitleaks |
Scan git history for secrets |
just zizmor |
Audit GitHub Actions workflows |
just check-digests |
Check every container image is digest-pinned |
prek run -a |
Run the pre-commit hooks manually |
All three checks run on commit via prek and in CI via .github/workflows/security.yml.
Hosted alternatives that need no local setup.
- PortSwigger Web Security Academy: free, browser-based labs. The best place to start for bug bounty.
- TryHackMe: the most beginner-friendly, with guided rooms and a browser-based attack machine.
- Hack The Box: harder standalone machines, plus HTB Academy (structured courses) and Pro Labs (full corporate networks with AD).
- OffSec Proving Grounds: good practice if you're aiming for the OSCP.
- PentesterLab: web-focused, with good write-ups of real vulnerability classes.
- picoCTF: free, beginner CTF from Carnegie Mellon, open all year.
- OverTheWire: wargames played over SSH. Bandit is the classic way to learn the Linux command line.
- pwn.college: free courses from Arizona State on binary exploitation and systems security.
- Hacker101 CTF: HackerOne's free CTF. Solving challenges can earn private bug bounty invites.
- Root Me: a large catalogue of challenges across web, crypto, forensics and networking.
- CTFtime: calendar and rankings for live CTF events.
- Google CTF: includes a yearly Beginner's Quest track.
- Intigriti monthly challenges and YesWeHack Dojo: free XSS and web puzzles from bug bounty platforms.
- BugBountyHunter.com: realistic web apps built around real bug bounty findings.
- HackingHub: short labs tied to specific vulnerability classes and tools.
- ROP Emporium: a progression of return-oriented programming challenges.
- Exploit Education (Phoenix, Nebula): downloadable VMs for memory corruption and Linux privilege escalation.
- pwnable.kr and pwnable.tw: classic pwn challenges, from easy to very hard.
- Microcorruption: embedded exploitation in a browser-based debugger.
- crackmes.one: community reverse-engineering challenges.
- CryptoHack: interactive crypto challenges.
- Cryptopals: the classic set of crypto-breaking exercises.
- VulnHub: vulnerable VMs you download and run yourself.
- HackMyVM: free downloadable vulnerable VMs, similar to VulnHub.
- Vulnlab: AD and multi-machine chains.
- flAWS and flAWS2: free AWS misconfiguration challenges.
- Pwned Labs: cloud pentesting labs for AWS, Azure and GCP.
- LetsDefend and CyberDefenders: simulated SOC alerts and investigation challenges.
- Blue Team Labs Online: incident response and forensics challenges.
- Splunk Boss of the SOC (BOTS) datasets: real-world-style log data you can search.
- TryHackMe SOC Level 1: guided path for SOC analyst skills.
- malware-traffic-analysis.net: packet captures with exercises, good for Wireshark practice.