01 / Foundations / 25 min READ + PRACTICE
Navigate Kali and its tools.
Learn shell navigation, permissions, packages, process inspection and basic diagnostics before using security tools.
Know the workstation
Use pwd, ls -la and cd to navigate; file and less to inspect contents; man to read tool documentation. Commands inherit the current user’s permissions, so keep ordinary work unprivileged and use sudo only for administration.
Inspect your own services
ip addr reports interfaces; ss -ltn lists local TCP listeners; ps aux shows processes; curl -I http://127.0.0.1:8000 checks a local HTTP response. Read the output and write down which process opened which port.
ip addr
ss -ltn
python3 -m http.server 8000 --bind 127.0.0.1
# In a second terminal:
curl -I http://127.0.0.1:8000/ Tool discipline
Kali bundles many utilities; installation does not imply permission to use them on third-party systems. Read tool help and document your intended target before running it. Manage packages with apt and Python dependencies in a virtual environment.
Try it in your lab
Start and stop your own loopback HTTP server. Identify its port with ss and note what a browser request prints in the server terminal.
Make sure it clicks
Why does 127.0.0.1 keep this first server on the same machine?
A prompt you can adapt
Create a short worksheet that asks me to interpret ip addr, ss -ltn and curl -I output for my local lab.How to set up OpenCode ↗