Blog · B.01 · Cornerstone Guide

What is penetration testing? A practitioner's guide

Penetration testing is an authorised, simulated cyberattack on your systems, run by security professionals to find and safely exploit vulnerabilities before real attackers do. It is the difference between a list of things that might be wrong and proof of what an attacker could actually do — and how to stop it.

Penetration TestingEthical HackingVAPTDefinitionPTES
Definition: Authorised · Simulated Attack · Human-led · Finds + Exploits Vulnerabilities · Proves Real Impact · Remediation-focused Report Definition: Authorised · Simulated Attack · Human-led · Finds + Exploits Vulnerabilities · Proves Real Impact · Remediation-focused Report
// TL;DR

Penetration testing (a "pentest") is an authorised, simulated cyberattack performed by skilled testers to find and safely exploit vulnerabilities in a system, network or application — before a real attacker does. It differs from a vulnerability scan in one decisive way: a scanner lists potential weaknesses, while a penetration tester proves which are exploitable, chains them together, and demonstrates real business impact. Most engagements follow the seven phases of the PTES, and the deliverable is a prioritised, remediation-focused report. Organisations run pentests to reduce risk, satisfy frameworks such as SOC 2, PCI DSS and ISO 27001, and pass customer due diligence.

// 01 What is penetration testing?

Penetration testing is an authorised, simulated cyberattack against a system, network or application, carried out to find and safely exploit security vulnerabilities so they can be fixed before a real attacker exploits them. It is also known as pen testing, pentesting, or ethical hacking. The defining word is authorised: a tester uses the same techniques as a genuine adversary, but with the written permission of the system owner and within an agreed scope. That single distinction is what separates a penetration test from a crime.

The goal is not to produce a longer list of problems. It is to answer a sharper question than any tool can: given these systems, what could a determined attacker actually achieve? A tester validates each weakness by attempting to exploit it, combines low-severity issues into high-impact attack chains, and probes the business logic that automated tools cannot understand — then reports the real, demonstrated risk and how to remove it.

// Definition
Penetration Test

An authorised, human-led simulation of a real attack, scoped to a defined set of targets, that discovers vulnerabilities, exploits them to prove impact, and delivers prioritised remediation guidance. Distinct from a vulnerability scan (automated, unvalidated) and from a real attack (unauthorised, harmful).

// 02 Why do organisations run penetration tests?

Two forces drive almost every engagement: risk reduction and compliance — and the best programmes treat compliance as a by-product of genuinely reducing risk, not the other way round.

// 03 Penetration test vs vulnerability scan vs red team

These three terms are routinely confused, and the confusion costs buyers money — a scan sold as a pentest is the most common overcharge in the market. Here is the honest distinction.

ActivityHow it's doneAnswersDepth
Vulnerability scanAutomated toolWhat might be wrong?Broad, shallow
Penetration testHuman-led, tool-assistedWhat can actually be exploited?Deep, validated
Red teamHuman-led, adversarial, stealthyWould we detect and respond to a real attack?Deep + detection

A vulnerability assessment is the systematic identification and ranking of weaknesses — often what people mean by "scanning" plus human triage. A red team goes further than a pentest by testing your detection and response, not just your vulnerabilities, usually against a broad, goal-based scope. If your auditor rejected a scan, this is why: it was never the same thing.

// 04 How does a penetration test work? The seven phases

A professional engagement is a structured process, not ad-hoc hacking. Most firms, including ours, base their methodology on the Penetration Testing Execution Standard (PTES), aligned with NIST SP 800-115 and the OWASP testing guides.

01

Pre-engagement

Scoping, authorisation and rules of engagement. Nothing is tested until targets and boundaries are agreed in writing.

02

Intelligence gathering

Reconnaissance — mapping the attack surface, technologies, exposed services and information leakage.

03

Threat modelling

Identifying the assets worth attacking and the most likely paths an adversary would take.

04

Vulnerability analysis

Discovering weaknesses through testing and validation — not just running a scanner, but confirming what is real.

05

Exploitation

Safely exploiting confirmed vulnerabilities to prove impact — access gained, data reachable, controls bypassed.

06

Post-exploitation

Determining how far the compromise reaches — privilege escalation, lateral movement, and the business impact.

07

Reporting

The deliverable: prioritised findings, evidence, business risk, and clear remediation guidance. Often followed by a retest.

The report is where the value lands. A good one is readable by both an engineer and an executive, ranks findings by real risk rather than raw scanner severity, and gives fixes specific enough to action. We cover this in how to read a penetration test report.

// 05 What are the types of penetration testing?

"Penetration testing" is an umbrella. Engagements are described on three independent axes — what is tested, how much the tester knows, and where they start — and a real test combines all three.

AxisOptions
By targetWeb app, API, mobile, network, cloud, wireless, social engineering, OT/ICS
By knowledgeBlack box (none), grey box (partial — usually best value), white box (full, incl. source)
By perspectiveExternal (from the internet) · internal (from inside the network)

So "a grey-box external web application test" fully describes an engagement across all three axes. For the full breakdown, see the types of penetration testing, and use our requirements finder to see which your framework demands.

// 06 Who needs a penetration test — and how often?

If you run internet-facing systems, hold sensitive or regulated data, or a framework or customer requires it, you need one. Timing follows a simple rule: test at least annually, and after any significant change — a major release, new infrastructure, or a migration. Regulated entities often test more frequently: PCI DSS requires testing at least annually and after significant change, while some regional regulators expect twice-yearly cycles. We cover the cadence in how often you should run a penetration test, and if this is your first, start with your first penetration test.

// 07 Frequently asked questions

What is penetration testing in simple terms?

An authorised, simulated cyberattack by security professionals that finds and safely exploits vulnerabilities before real attackers can. Unlike an automated scan, it proves which weaknesses are actually exploitable and shows the real impact, then tells you how to fix them.

Penetration testing vs vulnerability scanning?

A scan is automated and lists potential weaknesses without confirming them. A pentest is human-led: it validates each finding by exploiting it, chains weaknesses together, tests business logic, and demonstrates real impact. A scan says what might be wrong; a pentest says what an attacker could actually do.

Is penetration testing legal?

Yes, when authorised. A legitimate pentest is always done with the written permission of the system owner, within an agreed scope. Testing systems you don't own or have permission to test is illegal.

What are the phases of a penetration test?

Seven, based on PTES: pre-engagement, intelligence gathering, threat modelling, vulnerability analysis, exploitation, post-exploitation, and reporting. The prioritised, remediation-focused report is the deliverable.

Who needs a penetration test?

Any organisation with internet-facing systems, sensitive data, or a framework requirement (SOC 2, PCI DSS, ISO 27001, or regulators like the CBB, SAMA, NCA). It's also standard before a launch, during funding, or when a customer requires evidence of testing.

// 08 References & standards

UG

Usama Gul

Founder & Penetration Testing Lead, CyberFortify

Leads offensive security engagements across the GCC, mapping every test to PTES, OWASP and NIST, and helps first-time buyers understand exactly what a penetration test is and is not.

Ready for a real test?

Tell us your assets and compliance drivers and we'll scope the right engagement — human-led, mapped to PTES and OWASP, with a report your engineers and your auditor can both use.

Scope your pentest → Check requirements →