PrepCity

Ethical hacking and the law

Open the lab

By the last page, this is the design you will have built.

Lesson · 14 pages · about 14 min

Ethical hacking and the law

The same request can be a finding in a report or a crime. See what turns one into the other: written permission from the right person, a scope fence, a test window and a minimal proof; what US, UK and EU law say; hat colours against real outcomes; and how to report a bug safely. Educational, not legal advice.

What it is
Ethical hacking is attacking a system with its owner’s written permission, inside agreed limits, to find weaknesses so they can be fixed.
What it is for
The bytes of a test and of a crime are identical; permission, scope and how you report are what keep the work legal and useful.
Use it when
Before any security testing: a pentest, a bug bounty, a red team, or poking at something that looks broken on a site you use.
Not when
Never as a reason to test systems you have no written permission for. This lesson is education, not legal advice.

Words you’ll learn

  • Ethical hacking
  • Permission
  • API
  • IDOR
  • In doubt
  • Request
  • Client
  • Fence
  • CDN
  • Payment provider

Page by page