Scope, authorization, and the point of the work

Ethical hacking is defined by permission and purpose. This lesson is the gate for everything else on the site.

Lesson 1 of 18 · 11 min read · practice only with authorization

Diagram

From request to a test you may run

Follow the path. One example at a time.

Step 1 of 4

Request

An owner asks for a test of named systems.

Illustration: Request
# Request
# An owner asks for a test of named systems.

The example on the open step is one illustration, or the fix you can paste into an application you own.

What this page is made of

3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.

  1. Written scope

    What fails
    Verbal approval is forgotten or disputed later.
    Who is affected
    The tester, legally, and the owner’s users.
    What you would notice
    Tests started from an email that says “go ahead”.
    What you change
    Get a signed scope that covers five things. Assets, dates, people, techniques that are in, and techniques that are out. Silence means out.
  2. Who can authorize

    What fails
    Only someone with authority over the systems can grant permission.
    Who is affected
    Third parties, such as hosting or SaaS providers.
    What you would notice
    A client approving a test of their cloud provider’s infrastructure.
    What you change
    Check provider policies and get each owner’s permission.
  3. Stopping

    What fails
    Unexpected data or instability needs a pause, not curiosity.
    Who is affected
    Customers whose data appears.
    What you would notice
    A test that kept going after finding personal data.
    What you change
    Stop, record minimal evidence, and call the contact.

What the job is

An ethical hacker tries to find ways a system can fail, with the owner's permission, so the owner can fix them before someone else uses those failures. The techniques overlap with crime. The difference is not a personality type or a hat color in a diagram. It is a written scope, a reason that serves the owner, and a stop when the scope ends.

HackBlue exists to teach that discipline. The lesson library names a lot of failure classes and tools. None of those pages authorize you to touch a system. If you cannot point at the sentence that allows the test, you are not doing the thing this site is about.

The documents that matter

A useful scope names the assets, the time window, the people allowed to test, the techniques that are in or out, and the emergency contact. Production data, availability tests, social engineering against staff, and physical access are separate decisions. Leaving them implicit means they are out.

Bug bounty programs publish this as a policy: in-scope domains, out-of-scope behavior, and how to report. A class lab publishes it as the range you were given. A job publishes it as a statement of work. Read it before you read a tool page. When the policy and your curiosity disagree, the policy wins.

Harm you can cause by accident

Testing is not free of impact. A noisy scan can trip monitoring and wake an on-call engineer. A login test can lock a real person out. A file-handling bug, poked carelessly, can change or expose data you were only meant to prove existed. Availability tests against a service you do not own are an outage, not a lesson.

Plan the test so a mistake is reversible: snapshots in a lab, rate limits against anything shared, and a channel to the owner that works at the hour you are working. If you find something serious, stop expanding it. Write down what you already know and tell the owner.

  • Stay inside the named assets.
  • Do not take more data than you need to show the issue.
  • Do not keep access after the engagement.
  • Do not publish findings the agreement treats as confidential.

Law is not a footnote

Unauthorized access is a crime in most places, including when you planned to tell the owner afterward, and including when the system was easy to reach. Employment does not automatically extend to a customer's tenants, a coworker's accounts, or a previous employer's network. Crossing a border, in the network sense or the legal one, can change which statute applies.

This page is not legal advice. If you do this as a job, learn the rules where you and the system are, and use a contract. The lesson Ethical Hacking and the Law is the older write-up in the library. Read it after this one, then read the policy for the specific range you will use.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

A scope lists staging.api.example.test. You notice api.example.test is the same code. May you test it?

Sibling techniques

Pages at the same depth, plus a lab and a glossary card for this one.

  1. MapSetting up a hacking lab: isolated networks, snapshots, and targets you ownBuild a practice lab on one machine: a hypervisor, a host-only network, a vulnerable-by-design target, a monitoring VM, and snapshots so every mistake can be undone.
  1. 01Lab environments you are allowed to breakA lab is an isolated place where failure is expected.
  2. 02Introduction to ethical hacking: permission, method, and the reportEthical hacking is security testing that an owner asked for in writing.

Practice

  1. LabTerminal mission: Where a /26 endsThe authorization lists a /26, a short range, and one hostname. Check a colleague’s target file against it and find the two addresses that sit just past the boundary.