Rules of engagement and the law

The part of security work above the tools is permission. This set covers what written authorisation contains, why a spoken yes is not enough, the four kinds of system you might face, and why testing anything you do not own is an offence in most countries.

4 questions 1 task Read the lesson

Questions

Each one is marked as you go, and the explanation arrives straight after, which is the part worth reading.

4 questions, marked as you go.

1 Why is verbal permission not enough to test a system?
2 Which of these is authorisation to test a system?
3 What does "out of bounds" mean in a rules of engagement document?
4 Which statement about unauthorised access is accurate?

Tasks

These need your own device. Run the command in Termux, then paste what it printed. The marking looks at what the output means, so spacing, version numbers and ordering do not matter. If you have not installed anything yet, the lesson covers the setup.

Write rules of engagement for your own lab

Before you test anything, write down the scope, the window, the limits and the contact. This writes a short rules of engagement document for your own phone and reads it back. Every line is a decision about what you are allowed to touch.

Run this in Termux On your own device. Nothing on this page executes it. The command runs in your terminal, and this box only reads what you paste back.

mkdir -p ~/lab; printf "scope: my own phone and its Termux install\nwindow: 2026-10-25, 09:00 to 17:00\nout of bounds: shared storage and every other device\ncontact: me, on this device\n" > ~/lab/roe.txt; cat ~/lab/roe.txt; echo "---"; wc -l < ~/lab/roe.txt
Marking your own work Both halves of this are checked in your browser, with no server involved, so nothing stops you from pasting output you did not run. The tasks are written so that the easiest way to pass one is to actually do it and read the result, which is the whole intention.

All sets Read the lesson