Your home hacking lab

Deliberately vulnerable apps on your own Mac, real practice platforms, and missions against your own code. Everything here is legal because you own it or the platform invites you.

Ground rules

  • Targets listen on 127.0.0.1 only, so nothing else on your Wi-Fi can reach them.
  • Metasploitable has no internet and no published ports; you reach it from the Kali container.
  • Never port-forward these containers or run them on a server. They are vulnerable on purpose.
  • Own-code missions run against local copies and test accounts, never production or real user data.

1 Β· Install Docker Desktop

You already have it. DVWA and Metasploitable are Intel images; Docker Desktop runs them on Apple Silicon through emulation, so they start slower than Juice Shop. In Docker Desktop settings, turn on Use Rosetta for x86/amd64 emulation if it isn't already.

2 Β· Start the lab

⬇ hacklab-compose.yml

Save the file to a folder such as ~/hacklab, then:

cd ~/hacklab
docker compose -f hacklab-compose.yml up -d                  # Juice Shop + DVWA
docker compose -f hacklab-compose.yml --profile full up -d   # + Metasploitable and Kali

docker compose -f hacklab-compose.yml ps                     # what's running
docker compose -f hacklab-compose.yml down                   # stop
docker compose -f hacklab-compose.yml down -v                # stop and reset everything
Juice Shop
localhost:3000
DVWA
localhost:8081
Metasploitable
172.31.0.10, from Kali only

3 Β· Get a Kali shell (full profile)

docker compose -f hacklab-compose.yml exec kali bash
apt update && apt install -y nmap curl netcat-traditional   # first time only; kali-linux-headless adds the full toolset
ping -c 1 172.31.0.10                                        # Metasploitable should answer

Your Kali home folder lives in a Docker volume, so installed notes and scripts survive restarts (until down -v).

4 Β· Install Burp Suite Community

Download it from PortSwigger and use its built-in browser (Proxy β†’ Open browser). Browse Juice Shop or DVWA through it and every request appears in HTTP history. Chapter 5 of the study guide explains the five tabs you need.

The compose file

Log a challenge

CTF log

Nothing logged yet. Start with picoCTF's practice gym or the first Bandit levels.

Study partner prompts

Copy one into Claude when you're stuck or reviewing. Fill in the brackets and paste real output.

πŸ”’ Only on your machine

The own-code missions describe real weaknesses in Pulse, Maeve and TomiWebsites, so they're never published. Run the site locally to open them:

cd ~/Desktop/Repos/TomiWebsites
dotnet run
# then open http://localhost:<port>/Security/Lab β†’ Own code

Mission progress and the CTF log stay in this browser. Use Export to back up the log.