← Back to all lessons

01 / Foundations / 20 min READ + PRACTICE

Build an ethical practice lab.

Define what you may test, design an isolated practice environment, and learn to record evidence.

Practice boundaryUse your own devices, your isolated practice VM or 127.0.0.1. Get explicit authorization for any other system.

Start with a boundary

Security testing is a controlled experiment. Write down the owner, allowed hosts, allowed actions, test window, and a stop condition before touching a target. This course uses your own virtual machines and 127.0.0.1. A domain you can browse is not automatically a system you may test.

Use two environments

Keep an attacker workstation (Kali) and a deliberately vulnerable practice application in separate virtual machines. Put the practice VM on a host-only or internal network. Use NAT temporarily for system updates, then disconnect the practice service from the internet. Snapshot both machines before each exercise.

Record what happened

Create a lab journal with a date, objective, target IP or localhost port, commands, expected result, observed result and cleanup. Redact secrets and use fabricated accounts. A good finding is reproducible without guessing what was done.

HANDS-ON EXERCISE

Try it in your lab

Draw your VM network diagram and write a one-page scope document permitting only your own loopback services. Note how to stop the lab server.

CHECKPOINT

Make sure it clicks

Explain why a publicly reachable service is not the same thing as an authorized practice target.

TRY WITH OPENCODE

A prompt you can adapt

Help me turn this local-only security lab plan into a checklist. Keep all hosts on 127.0.0.1 or my host-only VM subnet and add a cleanup step.
How to set up OpenCode ↗
Your progress stays in this browser only.