Ethical Hacking Fundamentals

What makes hacking legal, useful and professional

Ethical hacking uses the same techniques as attackers, with one big difference: permission. This module covers the rules that make it legal and safe, the different kinds of security testing, the phases every test follows, and what to do when you find something.

Beginner · 5 steps

First ruleWritten permission, every time
Kinds of testingVulnerability scan, pen test, red team, bug bounty
Knowledge levelsBlack, grey and white box
MethodologiesPTES, OWASP WSTG, NIST SP 800-115
Disclosure standardISO/IEC 29147
Common certificationsOSCP, PNPT, GPEN, CEH

Step by step

  1. Permission makes it ethical Authorisation and scope

    The only technical difference between an attacker and an ethical hacker is often nothing; the legal difference is permission. Before any testing, the owner signs an authorisation that names the systems, dates, allowed techniques and an emergency contact. Laws such as the US Computer Fraud and Abuse Act and the UK Computer Misuse Act make unauthorised access a crime, whatever the intent.

  2. Choose the right kind of test Not every assessment is a pen test

    A vulnerability scan is automated and broad. A penetration test is a time-boxed, human-led attempt to prove real impact. A red team exercise imitates a real adversary to test detection and response, often over weeks. Bug bounties invite outside researchers to report issues under published rules. How much the tester is told up front ranges from nothing (black box) to full source code (white box).

  3. The phases of a test Recon to report

    Every professional test follows the same broad phases: reconnaissance (learn about the target), discovery and scanning (find what's exposed), vulnerability analysis (decide what might be weak), exploitation (prove it, safely), post-exploitation (show the impact without causing harm), and reporting.

  4. Know when to stop Rules while testing

    Halfway through, the tester finds a backup file with what looks like real customer records. A professional stops there: they note the location, don't download more than needed to prove it, and tell the client at once instead of waiting for the report. They also never follow a link into a third-party service that wasn't in scope.

  5. Report and disclose responsibly The finding belongs to the owner

    Results go only to the client, in a report with impact and fixes. If you ever stumble on a flaw in a system you're not contracted to test, use coordinated disclosure: contact the owner through their security.txt, bug bounty or security email, give them time to fix it, and never demand payment.

Best practices

More in Penetration Testing.