Ethical hacking is the practice of attacking systems with the owner's explicit permission in order to find weaknesses before criminals do. The techniques are the same ones used in real intrusions — reconnaissance, exploitation, privilege escalation — but the purpose, the rules and the output are entirely different. An ethical hacker finishes the job by handing over evidence and a remediation plan, not by walking away with data.

This introduction explains what ethical hacking covers, how it differs from criminal activity, what a typical engagement looks like and which skills the work demands.

Permission is the dividing line

The one factor that separates ethical hacking from a crime is written authorisation. Before any testing starts, the client and the tester agree a scope and a set of rules of engagement. These documents normally define:

  • Targets in scope — specific domains, IP ranges, applications, cloud accounts or physical sites.
  • Targets out of scope — production databases that must not be touched, third-party services the client does not own, or fragile legacy systems.
  • Permitted techniques — for example whether social engineering, denial-of-service testing or physical entry are allowed.
  • Testing windows and emergency contacts in case something unexpected happens.
  • Data handling — how evidence, credentials and any sensitive records found during testing are stored and destroyed.

Cloud and hosting providers often publish their own testing policies, so a well-run engagement also confirms that the client is entitled to authorise tests against the infrastructure it rents. Without this paperwork, even well-intentioned probing can breach computer misuse laws in most jurisdictions.

Hat colours, briefly

The industry still uses an old shorthand. Black-hat attackers break in for profit or disruption. White-hat hackers work under contract and disclose everything they find to the owner. Grey-hat describes people who probe systems without permission but claim good intentions — a position that offers no legal protection. Professional ethical hacking is white-hat work by definition.

What ethical hackers actually test

"Ethical hacking" is an umbrella term. In practice it is delivered as several distinct assessment types, each with its own methodology:

AssessmentTypical targetsCommon reference
Web application testingCustomer portals, SaaS platforms, APIsOWASP WSTG, OWASP Top 10
Mobile application testingiOS and Android apps and their back endsOWASP MASVS and MASTG
Network testingInternet-facing hosts, internal networks, Active DirectoryNIST SP 800-115, PTES
Cloud configuration reviewIdentity policies, storage, network controlsCIS Benchmarks, provider guidance
Social engineeringStaff, help desks, physical accessAgreed scenarios and pretexts
Red team exerciseThe whole organisation, including detection and responseMITRE ATT&CK

How an engagement unfolds

Most professional tests follow a recognisable sequence, whether the methodology is called PTES, NIST SP 800-115 or something built in-house:

  1. Planning and scoping. Objectives, constraints and success criteria are agreed. A test designed to satisfy an auditor looks different from one designed to see whether an attacker could reach payment data.
  2. Reconnaissance. The tester maps the target: subdomains, exposed services, technology stacks and staff information that could support phishing.
  3. Scanning and analysis. Automated tools and manual checks identify candidate weaknesses such as outdated software, misconfigurations and weak authentication.
  4. Exploitation. The tester tries to prove that a weakness is real and to measure its impact, always within the agreed limits.
  5. Post-exploitation. From an initial foothold, the tester checks how far an attacker could go: escalating privileges, reaching sensitive data, pivoting to other networks.
  6. Reporting and retesting. Findings are documented with evidence, risk ratings and specific fixes, then verified once the client has remediated them.

We break these phases down further in the six stages of the ethical hacking lifecycle.

Why organisations invest in it

Automated scanners are good at spotting known vulnerable versions and missing patches. They are poor at understanding context. A scanner will not notice that a customer can change an account number in a request and read someone else's invoices, or that three low-severity issues chain together into full domain compromise. Human testers find these problems because they think like adversaries.

The practical benefits include:

  • Evidence-based prioritisation, so engineering effort goes to the weaknesses that are genuinely exploitable.
  • Assurance for customers, insurers and auditors. Frameworks such as PCI DSS v4.0 and ISO/IEC 27001:2022 expect regular technical testing.
  • Validation of security investments — confirming that firewall rules, endpoint agents and multi-factor authentication behave as intended.
  • A safer place to fail. Discovering a flaw during a controlled test costs far less than discovering it during an incident.

Skills an ethical hacker needs

Strong testers combine breadth with depth. The foundation is solid knowledge of networking (TCP/IP, DNS, routing), operating systems (Linux and Windows internals, Active Directory) and how web applications handle sessions, input and authorisation. Practical skills sit on top:

  • Scripting in Python, Bash or PowerShell to automate repetitive tasks and adapt public exploits safely.
  • Fluency with core tools such as Nmap, Burp Suite, Metasploit and BloodHound — and an understanding of what they do under the hood.
  • Clear technical writing. A finding the responsible developer cannot understand has little value.
  • Judgement: knowing when to stop, when to escalate a critical finding immediately and how to avoid disrupting production systems.

Industry certifications help structure learning. Our Ethical Hacking and Penetration Testing course maps to the exam objectives of CEH and CompTIA PenTest+ and builds the hands-on lab experience that practical exams such as OSCP demand.

Common misconceptions

"A vulnerability scan is the same thing"

Scanning is one input to an ethical hacking engagement, not a substitute for it. A scan lists possibilities; a test confirms which ones matter.

"Testing once is enough"

Every release, configuration change and new integration alters the attack surface. Testing should follow significant changes and recur on a predictable schedule.

"Ethical hackers will break production"

Professional testers plan around fragile systems, avoid destructive payloads and coordinate testing windows. Outages during well-run engagements are rare, and the rules of engagement define exactly what happens if one occurs.

Getting started

If you are commissioning a test, begin with a clear question: what would hurt the business most if an attacker achieved it? Scope the engagement around that answer. If you want to become an ethical hacker, invest in fundamentals first, practise in legal lab environments and never test a system you do not have written permission to touch.

Written by

Elytrix Labs Offensive Security Team

Field notes from the Elytrix Labs consultants, analysts and instructors who run our engagements and teach our courses. Every article is reviewed by a practising specialist before publication.

Meet the team behind Elytrix Labs

Get the monthly security briefing

One concise email a month with new threats, practical defences and upcoming courses. No spam — unsubscribe anytime.

Subscribe to the security briefing