Push2Commit
Book a Call
All blog posts

Penetration Testing Process: Steps and How to Choose

Author: Abderrahmen Lahmedi5 min read
Silhouetted figure with a flashlight stepping across a staircase of floating glass platforms toward a lit ring

The first penetration test is mostly uncomfortable because nobody tells you what happens between "yes, let's do it" and the report. Who gets access to what? Will production go down? What do you actually receive at the end?

This guide walks through a test in the order it happens, then gives you the criteria for choosing who runs it. For what drives the price, see how much a penetration test costs. For the access model (black, gray or white box), see black box vs white box penetration testing.

The six phases of a penetration test

1. Scoping

You and the tester agree on what is in and out: which applications, APIs and environments, which user roles, and which attacks are off the table (denial of service, social engineering, third-party systems you do not own). This is also where the access model is chosen and where a test date is set around your release.

You provide: a list of endpoints or the OpenAPI/GraphQL schema, the number of roles, the environment to test and a technical contact.

2. Authorization and rules of engagement

Nothing starts without written authorization from whoever owns the systems. Cloud and hosting providers have their own rules, so confirm the tester's source IPs, the testing window and an emergency contact on both sides. A tester who skips this step is a risk to you.

3. Reconnaissance and mapping

The tester maps the attack surface: endpoints, parameters, roles, third-party integrations, forgotten hosts. In a gray or white box test this is faster because you provide accounts and documentation.

4. Testing and exploitation

This is the part people picture. The tester tries to break authentication, bypass authorization between roles, tamper with business flows and inject input where the application trusts it. Automated tools cover the known, mechanical issues. Manual work finds the flaws that depend on how your product is supposed to behave, such as one customer reading another's data.

Good testers tell you immediately if they find something critical, rather than holding it for the final report.

5. Reporting

You should receive a document for two readers: a short summary for decision-makers and detailed findings for developers, each with evidence, business impact and a concrete fix. See the structure in our black box vs white box guide. Ask for a walkthrough call after delivery; many findings make more sense when explained.

6. Remediation and retest

The report is the start of the work. Your team fixes, the tester re-checks the fixes, and each finding gets a status. Without a retest you only know what was broken, not whether it is fixed. Confirm up front whether a retest is included and how long after delivery it is available.

How long does it take?

It depends on the number of applications, roles and the access model, so we do not quote a standard duration. As a rule, a focused test of one application and its API is a matter of days of testing plus reporting time, while several applications with many roles take longer. Ask for a schedule in the proposal and plan your fixes into the sprint after the report.

Will it break production?

A well-run test should not. Safer practice is to test a staging environment with production-like data, agree on rate limits, and keep destructive checks off the list unless you have asked for them. If you must test production, tell your team and your hosting provider in advance.

How to choose a provider

Logos and certificates are a weak signal. These questions work better:

Ask A good answer A warning sign
Who will test my application? A named person, with the method they follow "Our team", and the work is a scanner export
What do you test manually? Authorization between roles, business logic, your key flows "We run a full automated scan"
Can I see a sample report? Yes, anonymised, with evidence and fixes Only a marketing brochure
Is a retest included? Yes, with a clear window Retest billed as a new engagement with no terms
What do you need from us? Scope, accounts, a contact, written authorization Starts without asking about authorization
What will you not guarantee? "No test finds everything" A promise of zero vulnerabilities
Which methodology? OWASP testing guides, adapted to your stack No stated method

Also check that the tester is independent of whoever built the application. Reviewing your own work is how blind spots survive.

Preparing your team

  • Name one technical contact who can answer questions within a day.
  • Freeze risky deployments on the target environment during the test.
  • Create test accounts for each role, with realistic but non-sensitive data.
  • Decide in advance who triages the findings and how fixes are scheduled.

FAQ

Is a vulnerability scan the same as a penetration test? No. A scan lists known issues automatically. A penetration test adds a person who chains weaknesses together and tests how your application's logic can be abused.

How often should we test? Before launch, after major changes to authentication or permissions, and at least yearly. Cheap automated checks can run on every release.

Do we need a penetration test before our first customers? If you handle personal data or payments, or an enterprise customer will ask for a security review, yes. The earlier you find authorization flaws, the cheaper they are to fix.

Next step

If you want a test scoped around your roles, endpoints and release date, talk to us about penetration testing. Send the endpoint list or schema and the number of roles, and we will tell you what the test should cover and what you need to prepare.

Our Clients

We partner with startups, scale-ups and established businesses across industries, from fintech and SaaS to AI and trading platforms. Our client portfolio reflects the trust and long-term collaboration we build by shipping production-ready products.

Copyright © 2026 P2C - All Rights Reserved.

STE PUSH TO COMMIT · VAT No. 000/M/A/1877276/G