Strobesstrobes
Platform
Solutions
Resources
Customers
Company
Pricing
Book a Demo
Strobesstrobes

Strobes connects every exposure signal to autonomous action, so security teams fix what matters, prove what works, and stop chasing noise.

Book a DemoTalk to an expert
ISO 27001SOC 2CREST
  • Platform
  • Platform Overview
  • Agentic Exposure Management
  • AI Agents
  • Integrations
  • API & Developers
  • Workflows & Automation
  • Analytics & Reporting
  • Solutions
  • Exposure Assessment (EAP)
  • Attack Surface Management
  • Application Security Posture
  • Risk-Based Vulnerability Management
  • Adversarial Exposure Validation (AEV)
  • AI Pentesting
  • Pentesting as a Service
  • CTEM Framework
  • By Industry
  • Financial Institutions
  • Technology
  • Retail
  • Healthcare
  • Manufacturing
  • By Roles
  • CISOs
  • Security Directors
  • Cloud Security Leaders
  • App Sec Leaders
  • Resources
  • Blog
  • Customer Stories
  • eBooks
  • Datasheets
  • Videos & Demos
  • Exposure Management Academy
  • CTEM Maturity Assessment
  • Pentest Health Check
  • Security Tool ROI Calculator
  • Company
  • About Strobes
  • Meet the Team
  • Trust & Security
  • Contact Us
  • Careers
  • Become a Partner
  • Technology Partner
  • Partner Deal Registration
  • Press Release

Weekly insight for security leaders

CTEM research, agentic AI trends, and what's actually moving the needle.

© 2026 Strobes Security Inc. All rights reserved.

Privacy PolicyTerms of ServiceCookie PolicyAccessibilitySitemap
Back to Blog
The 5 Phases of Penetration Testing Explained
Penetration Testing

The 5 Phases of Penetration Testing Explained

Likhil ChekuriJune 29, 20246 min read

Table of Contents

  • What are the five phases of penetration testing?
  • What happens during reconnaissance?
  • What happens during scanning and enumeration?
  • What happens during exploitation?
  • What happens during post-exploitation?
  • What happens during reporting?
  • Frequently asked questions
  • Sources and references

Authors

L
Likhil Chekuri

Share

Table of Contents

  • What are the five phases of penetration testing?
  • What happens during reconnaissance?
  • What happens during scanning and enumeration?
  • What happens during exploitation?
  • What happens during post-exploitation?
  • What happens during reporting?
  • Frequently asked questions
  • Sources and references

Authors

L
Likhil Chekuri

Share

TL;DR
  • ✓A penetration test moves through five phases: reconnaissance, scanning, exploitation, post-exploitation, and reporting.
  • ✓Reconnaissance and scanning are about mapping the target; tools like nmap, Amass, and Burp Suite do the heavy lifting.
  • ✓Exploitation is where the tester actually breaks in, and post-exploitation measures how far that access reaches.
  • ✓Reporting turns raw findings into prioritized, proven, fixable issues mapped to CVSS and business impact.
  • ✓Frameworks like PTES and the OWASP WSTG formalize these phases so engagements stay repeatable and defensible.

Every credible penetration test follows the same arc: reconnaissance, scanning, exploitation, post-exploitation, and reporting. These five phases come straight out of formal methodologies like the Penetration Testing Execution Standard (PTES), and they exist so that two testers attacking the same target arrive at consistent, defensible results instead of random pokes at a login page.

This post walks through each phase, what the tester is actually doing, and the real tools they reach for. Whether you're scoping your first engagement or reviewing a report, knowing the phases tells you what good work looks like.

What are the five phases of penetration testing?

The five phases are reconnaissance, scanning, exploitation, post-exploitation, and reporting. They run roughly in order, though good testers loop back, fresh access in post-exploitation often kicks off new recon against internal systems.

Think of it as a funnel. Recon and scanning widen the picture of what exists, exploitation narrows down to what's actually breakable, and post-exploitation plus reporting measure and communicate the damage. This structure mirrors the broader penetration testing methodology that Strobes follows on every engagement.

The five phases of penetration testing
1
Reconnaissance
OSINT and footprinting to map the target.
2
Scanning
Enumerate hosts, ports, services, and versions.
3
Exploitation
Break in using confirmed, working exploits.
4
Post-exploitation
Escalate, pivot, and measure blast radius.
5
Reporting
Prioritized findings with proof and fixes.

What happens during reconnaissance?

Reconnaissance is intelligence gathering: the tester maps the target's footprint before touching it aggressively. Passive recon uses OSINT (WHOIS records, certificate transparency logs, LinkedIn, Google dorks) to find subdomains, email formats, and exposed assets without sending a single packet that looks hostile.

Active recon goes a step further, using tools like Amass and subfinder for subdomain enumeration and theHarvester for emails and hosts. The output is a target map: what's exposed, who works there, and where the soft spots probably are. Strong recon is what separates a thorough test from a shallow one, and it's the foundation of attack surface discovery.

What happens during scanning and enumeration?

Scanning turns the recon map into a precise inventory of live hosts, open ports, services, and versions. nmap is the workhorse here: a scan like nmap -sV -sC -p- target finds open ports, fingerprints service versions, and runs default scripts. For web apps, the tester crawls the site with Burp Suite and fuzzes for hidden paths using ffuf or feroxbuster.

Vulnerability scanners like Nessus, OpenVAS, or Nuclei run here too, flagging candidate issues by matching versions against known CVEs. This is the phase that overlaps most with automated scanning, but a pentester treats the output as leads, not conclusions.

What happens during exploitation?

Exploitation is the phase where the tester actually breaks in by turning a candidate vulnerability into real access. This might mean SQL injection with sqlmap, a deserialization bug, a misconfigured S3 bucket, or simply reusing leaked credentials. Metasploit handles known exploits; custom payloads handle the rest.

The discipline here is proof without damage. A good tester demonstrates impact (pulling one record, capturing one session token) rather than dumping a production database. Every successful exploit is documented with the exact request, response, and steps to reproduce, because that's what makes the eventual penetration testing report credible.

What happens during post-exploitation?

Post-exploitation answers the question that actually matters to the business: now that I'm in, how far can I go? The tester escalates privileges, harvests credentials, and moves laterally. On a Windows network that means tools like BloodHound to map attack paths to Domain Admin and Mimikatz to pull credentials from memory.

This is where a single foothold becomes a full compromise, and it's why post-exploitation drives the real risk rating. The tester also tests persistence and measures detection: did the blue team notice? For internal environments, this maps closely to Active Directory penetration testing.

Strobes insight
Post-exploitation, not exploitation, is where a test earns its keep. A single low-severity foothold that chains to Domain Admin is a critical finding, and only post-exploitation reveals that path.

What happens during reporting?

Reporting is the deliverable you actually pay for. The tester converts everything into a prioritized list of findings, each with a severity (scored with CVSS), reproduction steps, evidence, and clear remediation guidance. A good report leads with an executive summary for leadership and a technical section your engineers can act on.

The best reports prioritize by exploitability and business impact, not just raw CVSS, so your team fixes what attackers would actually use first. Many teams now augment point-in-time reports with continuous coverage; see pentesting vs PTaaS vs automated pentesting for how delivery models compare.

Frequently asked questions

How many phases are there in penetration testing?
Most methodologies define five core phases: reconnaissance, scanning, exploitation, post-exploitation, and reporting. Some frameworks add pre-engagement and remediation as bookends, giving six or seven steps total.
What is the first phase of a penetration test?
Reconnaissance is the first technical phase, where the tester gathers intelligence on the target using OSINT and footprinting. Before that, the engagement starts with pre-engagement scoping and authorization.
What is the difference between scanning and enumeration?
Scanning finds what's live and open, like hosts and ports. Enumeration digs into those services to extract specifics, such as usernames, shares, software versions, and configuration details an attacker can use.
Why is post-exploitation important?
Post-exploitation shows real business impact by measuring how far a single foothold can spread through privilege escalation and lateral movement. It's the difference between reporting a bug and reporting a path to full compromise.
What framework defines penetration testing phases?
The Penetration Testing Execution Standard (PTES) is the most cited. NIST SP 800-115 and the OWASP WSTG also formalize testing stages, and most professional engagements blend these.

Sources and references

  • PTES Technical Guidelines
  • NIST SP 800-115
  • MITRE ATT&CK
L
Likhil Chekuri
Application Security Engineer, Strobes
Likhil Chekuri is an AppSec engineer at Strobes who has run hundreds of web, mobile, and cloud penetration tests for regulated industries.
Tags
Penetration TestingMethodologyOffensive Security

Stop chasing vulnerabilities Start reducing exposure

See how Strobes AI agents validate and fix your most critical exposures automatically.

Book a Demo
Continue Reading

Related Posts

How to Catch Blind Bugs Scanners Miss
Penetration TestingOffensive Security

How to Catch the Blind Bugs Scanners Miss

Out-of-band validation detects blind SSRF, blind SQLi, and out-of-band XXE that return no in-band response. Learn how it works and why it matters.

May 29, 202613 min
Black-Box Agentic Scanners Strengths and Their Ceiling
Penetration TestingOffensive Security

Black-Box Agentic Scanners: Strengths and Their Ceiling

Black box agentic pentesting finds real CVEs fast and proves them, but where does it hit a ceiling? An honest, category-level verdict.

May 29, 20268 min
Why AI-Generated Exploit Code Must Run in Isolation
LLM SecurityOffensive Security

Why AI-Generated Exploit Code Must Run in Isolation

Agent-written exploit code is the new RCE vector aimed at the tester. Here's why per-task isolation and egress control are non-negotiable.

May 29, 202613 min