Module 0 · Rules of engagement · Lesson 2 of 16

The six rules of ethical hacking

Why permission is the only thing that separates a penetration test from a crime, and the six rules every tester follows.

In this lesson · about 15 minutes

  • Explain what makes a hacking activity legal
  • Name the six rules of engagement
  • Say which targets you may practise on in this course

The tools in this course are the same ones criminals use. The only thing that separates a penetration test from a crime is permission. That is why this module comes first, and why every later lab repeats its rules.

Throughout the course you work for one fictional client, Tana Roasters, a coffee exporter that has hired you to test its network. Each module is one stage of that engagement.

Whiteboard · watch and try

Who can say yes?

Press Play. The tutor walks through three situations and shows where permission comes from.

5 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

The six rules

  1. Written permission, every time. Signed authorization from someone who actually owns the systems. A verbal yes is not enough.
  2. Stay inside the scope. The scope lists exact addresses, domains, dates and allowed techniques. If a host is not on the list, you do not touch it.
  3. Do no harm. No denial of service, no deleting data, nothing that could disrupt the business unless it was explicitly agreed. If something breaks, stop and call the client.
  4. Protect what you see. Passwords, customer records and internal documents stay confidential. Collect the minimum needed to prove a finding.
  5. Report everything honestly, including your own mistakes during testing.
  6. Disclose responsibly. A flaw found outside an engagement is reported privately to the owner, never published first.

Check your understanding0 of 3 correct

Question 1

1.Who can authorize a penetration test of a company's servers?

Question 2

2.During an authorized test a client's web server stops responding. What do you do?

Question 3

3.Which of these is clearly allowed for a learner?

Quiz score: 0 of 3

Tip: answer every quiz question correctly first.

For authorized, lab-based learning only. Tana Roasters and every person, address and password in this course are fictional. Every terminal is simulated. "Kali Linux" is a trademark of OffSec; this course is not affiliated with or endorsed by OffSec.