Home
VAPT Web Application PentestAPI PentestMobile App PentestInfrastructure PentestAI & LLM PentestOT / ICS PentestIoT PentestPenetration TestingAll VAPT services
Red Team Red Team EngagementAdversary SimulationAssumed BreachPurple TeamingSocial Engineering
Sectors Banking & Financial ServicesGovernment & Public SectorHealthcareOil, Gas & EnergyAviation & LogisticsRetail & E-commerceManufacturing & IndustryTelecommunicationsTechnology & SaaS
CompanyResourcesBlogFree Consultation

How a penetration test is run: the phases from kickoff to handover

A penetration test moves through three phases: reconnaissance, active testing, and reporting. Knowing what happens in each lets you prepare your team and use the results.

Joel Aviad OssiJoel Aviad OssiRed Team Lead, RedTeam Security
7 min read
An isometric diagram showing three connected workstations representing the planning, testing, and reporting phases of a security engagement, joined by horizontal flow arrows on a dark gradient background.

Key takeaways

  • Every penetration test runs through three phases: planning, active testing, and reporting. Each phase produces a deliverable the next depends on.
  • Active testing cannot begin until scope and rules of engagement are signed by both parties and an authorisation letter is in place.
  • The report phase includes a retest: the tester verifies fixes against the same test cases used to discover each original vulnerability.
  • What you prepare before a test, including test accounts and a named emergency contact, determines how much of the attack surface can be reached.
  • A finding without reproducible steps is not a finding: the report must show the request, the response, and the steps a third party could follow to confirm it.

Three phases that every penetration test follows

A penetration test has a beginning, a middle, and an end. Each stage produces something the next depends on. Planning produces an agreed scope and rules of engagement. Active testing produces findings. Reporting turns those findings into a document the client can act on.

NIST SP 800-115, the technical guide to information security testing, divides a test into planning, discovery, attack, and reporting. The commercial convention compresses discovery and attack into a single active-testing window, but the logic is the same: agree what will be tested before touching it, test it, then document what was found. A penetration test that skips any of these stages is incomplete.

The phases are not equal in calendar time. Active testing typically occupies the largest share of a scoped engagement, with planning and reporting splitting the rest. The ratio shifts with scope: a large internal infrastructure engagement needs more preparation; a small web application test needs more reporting.

The three phases of a penetration test, and what the tester is doing inside each.

Planning: scope, rules of engagement, and what to have ready

Active testing cannot begin until two documents are signed: a scope definition and an authorisation letter. The scope definition names every system in and out of bounds. The authorisation letter, signed by someone with authority over those systems, is what distinguishes a penetration test from an unauthorised intrusion attempt. Without it, the tester has no legal ground to stand on.

The kickoff call works through five items that cannot be left to email: the scope boundary confirmed in full, the rules of engagement (testing hours, rate limits, what counts as an emergency stop), test accounts covering each access tier, the name and phone number of the person reachable during testing, and the method for raising an urgent finding. How to scope a penetration test, and what to leave out covers the scope conversation in full. What to have ready before a penetration test starts covers the documentation side.

A kickoff call that takes longer than expected is usually a planning problem rather than a testing problem. Ambiguity about scope, missing test accounts, and an authorisation letter that names systems too broadly are the causes. Resolve them before the testing window opens.

What a kickoff call must establish before active testing begins.
ItemWhat is agreedWho provides it
Scope boundaryIP ranges, hostnames and cloud accounts in and out of scopeClient
Rules of engagementTesting hours, escalation path, emergency stop procedureBoth parties
Test accountsCredentials covering each access tier to be testedClient
Point of contactName and direct phone number reachable during testingClient
Authorisation letterSigned document naming the systems and the testerClient

Reconnaissance: mapping the attack surface before the first probe

Reconnaissance is the first active phase of a test. It divides into passive and active work. Passive reconnaissance gathers information without sending a packet to the target: certificate transparency logs, DNS records, public code repositories, job postings that name internal technology, and registration data. It is legal, invisible to the target, and often produces the most useful findings.

Active reconnaissance begins when the tester sends traffic to the target systems: port scans, service fingerprinting, directory enumeration, login-page discovery. The OWASP Web Security Testing Guide organises this phase into information-gathering tests, each with specific tools and expected outputs. A tester who skips reconnaissance and jumps directly to exploitation is working from an incomplete map.

Reconnaissance is not read-only from the client's perspective. If the scope includes social engineering or phishing simulation, reconnaissance also covers employee enumeration and email address harvesting. The rules of engagement should state explicitly whether this channel is in scope, because the boundary between passive reconnaissance and an unauthorised data-collection exercise is narrower than it appears.

Active testing: from the first probe to the confirmed finding

Active testing is the phase most people picture when they hear the word penetration test. The tester probes for weaknesses identified in reconnaissance, confirms each vulnerability with evidence, and attempts to chain them into a path toward the objective. NIST SP 800-115 describes this as the attack phase: attempting to gain access, escalate privilege, and move laterally within the defined boundary.

A finding is not confirmed until the tester can produce a reproducible case: a request, a response, and a description of what the response proves. A port that accepts a connection is not a finding; a service running an end-of-life version with a known exploit chain is. The MITRE ATT&CK framework maps the techniques a tester may use in this phase to adversary behaviour, which is useful when the report needs to map findings to detection logic.

Some tests include an objective beyond finding vulnerabilities: reaching an internal system from an external foothold, reading a named file, or accessing a production database. These objectives shape which paths the tester pursues. From public application to internal network: the external foothold chain walks one such chain in full. When the tester reaches the objective during the testing window, it is documented as a finding with the full path, not as a yes-or-no result.

The client's security team should be reachable during active testing. A tester who discovers a critical vulnerability mid-test may need to pause and report it immediately. Rate limits, alerting thresholds and production traffic can all be affected by an unmanaged test. The emergency stop procedure agreed at kickoff is for exactly this situation.

Reporting: from tester's notes to the delivered document

The report phase turns notes and screenshots into a document that two audiences can use: the security team, who needs reproducible steps and evidence; and the leadership team, who needs a risk summary and a remediation plan. What a penetration test report has to contain describes both sections in detail.

Each finding carries a severity rating, a description of the vulnerability, the steps to reproduce it, the evidence (request, response, screenshot), the business impact, and the remediation recommendation. Severity ratings use a standard scale, commonly CVSS, so findings can be prioritised against one another. A finding without evidence is not a finding: the tester's notes are not the deliverable.

The report is delivered as a draft first, with a window for the client to raise factual questions. A finding that names the wrong system, cites the wrong version, or reproduces incorrectly should be corrected before the final version is signed off. The final report is what the penetration testing engagement produces, and it may be presented to auditors, regulators, or procurement teams.

The four layers of a delivered penetration test report, ordered by the audience that reads each.

Retest and sign-off: verifying fixes and closing the engagement

A retest is a second round of testing scoped to the findings from the original. The tester repeats the exact test cases used to discover each vulnerability and records whether the fix is effective. A finding is closed when the tester cannot reproduce it. A finding is not closed when the original payload is blocked but an equivalent one succeeds: the fix has to address the class of vulnerability, not the specific instance in the report.

Not every finding reaches a retest. Critical and high severity findings should be fixed and verified before the engagement closes. Medium severity findings are usually bundled into a planned remediation sprint. Low severity findings and informational notes may be accepted as risk, documented and left open. How to compare penetration testing proposals describes how to ask a provider what their retest policy covers before you sign.

Sign-off is the client's confirmation that the engagement is complete and the findings are accepted. It does not mean every vulnerability is fixed; it means the deliverables are correct, the findings are understood, and the client holds a record of the test. That record is what a regulator or auditor will ask to see when they ask whether penetration testing has been conducted.

Penetration testing phases and UAE regulatory evidence

In a regulated environment, the evidence a regulator asks for goes beyond the report. It includes the scope document, the rules of engagement, the test accounts, and the retest record. The four UAE regulatory regimes that name security testing each have a view on what a complete engagement looks like.

CBUAE's cybersecurity regulation for financial institutions requires regular penetration testing and expects the results to be presented to governance functions. Banks and payment service providers operating in Dubai and Abu Dhabi are subject to this requirement. The planning phase documentation, specifically a signed scope and authorisation letter, is part of the evidence trail a CBUAE reviewer will ask to see.

DESC, the Dubai Electronic Security Centre, requires penetration testing for Dubai government entities and their technology suppliers. NESA's UAE Information Assurance Standard applies at the federal level and names penetration testing as a required control for critical information infrastructure. ADHICS, the Abu Dhabi Healthcare Information and Cyber Security standard, applies the same requirement to healthcare entities operating under the Abu Dhabi Department of Health.

A client in Dubai or Abu Dhabi presenting penetration test evidence to an auditor should be ready to show the full engagement record: scope document, rules of engagement, the final report with finding severity ratings, and the retest record. A report without a retest record is an incomplete engagement under most UAE regulatory frameworks, and an engagement without a signed authorisation letter may not be accepted as evidence at all.

Frequently asked questions

What are the phases of a penetration test?

A penetration test runs through three phases: planning, active testing, and reporting. Planning establishes scope and rules of engagement. Active testing covers reconnaissance and exploitation. Reporting produces the findings document and concludes with a retest to verify that fixes are effective.

What is reconnaissance in a penetration test?

Reconnaissance is the information-gathering phase before active exploitation begins. Passive reconnaissance uses public sources: DNS records, certificate logs, public repositories. Active reconnaissance sends traffic to the target: port scans, service fingerprinting, directory enumeration. Together they produce the attack-surface map the rest of the test is built on.

What is a retest in a penetration test?

A retest is a second round of testing focused on the findings from the original engagement. The tester repeats each test case and records whether the fix is effective. A finding is closed when the original vulnerability can no longer be reproduced using the same technique, not simply when the specific payload is blocked.

What happens on the first day of a penetration test?

The first day is usually a kickoff call: the tester and the client confirm scope, agree rules of engagement, exchange test accounts and contact details, and establish an emergency stop procedure. Active testing typically begins the following day once these items are confirmed in writing.

How does a penetration test differ from an automated vulnerability scan?

An automated vulnerability scan runs a fixed set of checks against known signatures and produces a list of potential issues. A penetration test combines automated tools with manual analysis to chain vulnerabilities into a realistic attack path and confirm each finding with evidence. The difference is covered in [penetration test or vulnerability scan: what you are paying for](/blog/penetration-test-vs-vulnerability-scan).

Can a penetration test disrupt live services?

Active testing generates traffic to target systems and can trigger rate limits or alerts. The rules of engagement agreed at kickoff should state whether production systems are in scope and what rate limits apply. Many clients run tests against a staging environment to avoid production disruption, then retest the production system for a smaller subset of confirmed findings.

What should an authorisation letter for a penetration test contain?

The authorisation letter should name the systems under test, the testing window, the name of the tester or firm authorised to conduct it, and a signature from someone with authority over those systems. It is the document that separates a sanctioned test from an unauthorised access attempt under UAE and international law.

How do I know when a penetration test is complete?

An engagement is complete when the tester has delivered the final report, the client has confirmed it is factually correct, and the retest has been conducted and documented. Sign-off is a written acknowledgement from the client that the deliverables are accepted and the engagement is closed.

How long does a penetration test take?

Duration depends on scope. A single web application test typically runs for one to two weeks of active testing, with planning and reporting adding time around it. A large internal infrastructure engagement may require two to four weeks of active testing. The contract should state the expected duration of each phase.

The engagements this applies to

Joel Aviad Ossi, Red Team Lead at RedTeam Security
Joel Aviad OssiRed Team Lead, RedTeam Security

Joel Aviad Ossi is Red Team Lead at RedTeam Security, the Dubai-licensed trading brand of WebSec FZCO. He scopes and runs objective-based engagements across the UAE.

Let's talk about your security

Tell us the objective you want tested. We will come back with a scope, a timeline and a quote, under NDA from the first conversation.

Email [email protected]
IFZA Business Park, Building A2
Nadd Hessa, Dubai Silicon Oasis
Dubai, United Arab Emirates