What is a pentest? Types, process and costs
A pentest is a controlled hacking attempt on your own systems. Learn which types exist, how it works, what it costs and what to look for.

A pentest (penetration test) is a controlled attack on your own systems, carried out by ethical hackers with your permission. The goal: find and fix vulnerabilities before a real attacker exploits them.
In short
What: an ethical hacker tries to break in like an attacker, within limits you agree on in advance.
Types: black, grey or white box, and by target, such as a web application or API.
Process: intake and scope, reconnaissance, testing, report, and remediation with a retest.
Costs: mainly depend on the scope and the number of testing days.
When: at least once a year and after major changes. Customers, ISO 27001 and NIS2 increasingly ask for it.
Below you can read exactly how it works, what it costs and how to choose a good provider.
What is a pentest?
A pentest, short for penetration test, is a security test in which an ethical hacker tries, with permission, to break into a website, application, network or other system. The tester uses the same techniques as a real attacker. You receive a report with every vulnerability found, how serious it is and how to fix it.
The difference with an automated scan: a pentester thinks. They chain small weaknesses into a real attack and test logic no scanner understands. Can customer A see customer B's invoices by changing a number in the URL? You only find mistakes like that with human work.
Hacking without permission is a criminal offence (in the Netherlands: computervredebreuk, article 138ab of the Criminal Code). That is why, before a pentest, you agree in writing what may be tested, when and by whom.
Types of pentests
Pentests differ in two ways: how much the tester knows in advance, and what is being tested.
Black, grey or white box
| Type | What the tester gets | When to choose it |
|---|---|---|
| Black box | Nothing, only the name or address of the target | You want to see what an outsider without prior knowledge can do |
| Grey box | One or more user accounts and limited documentation | The most common choice: realistic and thorough, because most attacks happen through a (stolen) account |
| White box | Full access, including source code and architecture | You want to find as much as possible per testing day, for example before an important release |
What is tested?
| Target | Examples | What the tester looks at |
|---|---|---|
| Web application | Customer portal, web shop, SaaS platform | Login, permissions, input, sessions (OWASP Top 10) |
| API | Partner integrations, app back end | Access to other people's data, authorisation per endpoint |
AssistSec tests web applications and APIs. Other targets, such as internal networks, cloud environments or mobile apps, are outside the services we offer.
How does a pentest work?
A good pentest follows five steps. Testing a single web application usually takes a few days; a large environment takes a few weeks.
Intake and scope. You agree on what will be tested, in which period, with which accounts and who the contacts are. Also record what must not be tested. This goes into a written assignment, so the test is legal.
Reconnaissance. The tester maps what an attacker can see: subdomains, endpoints, software in use and roles.
Testing. Using tools and manual work, the tester looks for vulnerabilities and proves them without causing damage. If they find something critical, you hear about it immediately, not just in the report.
Report. You get a summary for management and, for each finding, its severity (usually as a CVSS score), the evidence and concrete steps to fix it.
Remediation and retest. Your team fixes the issues and the tester checks whether the fixes work. Only after the retest do you know for sure the hole is closed.
How much does a pentest cost?
The price mainly depends on the number of testing days needed. You determine that number together with the provider, based on:
Scope: the number of applications, user roles and API endpoints.
Complexity: a web shop with one role is tested faster than a SaaS platform with ten roles and integrations.
Type of test: black, grey or white box.
What is included: retest, debrief and a report you can show to customers or an auditor.
Tip when comparing quotes: compare the number of testing days and what is included, not just the total price. A suspiciously cheap "pentest" is often just an automated scan.
Want to know where you stand first? Start with our free digital exposure check.
Pentest or vulnerability scan?
Two terms that are often used interchangeably, but mean different things:
| Vulnerability scan | Pentest | |
|---|---|---|
| What | Automated scan for known vulnerabilities | Manual test of agreed systems |
| Who | A tool | One or more ethical hackers |
| Finds logic flaws | No | Yes |
| Suitable for | Basic hygiene, continuously | Almost every organisation with its own applications |
They complement each other: a scan for basic hygiene, a pentest for what a scanner cannot see. Also read continuous penetration testing explained.
Red teaming goes one step further: a realistic attack on the whole organisation, including phishing and physical access. It is meant for organisations with their own security team and is outside what AssistSec does.
What to look for when choosing a pentest provider
Use this checklist when comparing quotes:
Certified testers. Ask for hands-on certifications such as OSCP or OSWE, where you have to actually hack during the exam.
Manual work, not just tools. Ask what share of the testing days is manual work.
A sample report. Is it understandable for your management and useful for your developers?
Retest included. Without a retest you don't know whether your fixes work.
Evidence for every finding. With a severity score (CVSS) and concrete remediation steps.
Immediate notice of critical issues. Not weeks later in the report.
Clear agreements. A written scope, a non-disclosure agreement and agreements on where your data is kept.
Frequently asked questions about pentesting
What is the difference between a pentest and a penetration test?
There is none. Pentest is short for penetration test. Both mean a controlled hacking attempt on your own systems, with permission.
How long does a pentest take?
A few days for a single web application, a few weeks for a large environment. Then come the report, your remediation work and the retest.
Is a pentest mandatory?
Not for everyone. If your organisation falls under the Dutch Cybersecurity Act (NIS2), you do have to show that your security works, and a pentest is the usual way to do that. ISO 27001, customers and insurers also increasingly ask for one.
Can a pentest damage my systems?
The risk is small. You agree in advance what is and isn't allowed, and test on an acceptance environment where possible. A good tester stops immediately if a system becomes unstable.
How often should you have a pentest done?
At least once a year, and after every major change, such as a new application, a migration or a new integration.
What is in a pentest report?
A summary for management and, for each vulnerability, its severity, the evidence, the possible impact and the steps to fix it.
Have your application tested by experienced pentesters
AssistSec combines experienced pentesters (OSCP, OSWE) with AI agents. That lets us test more broadly and faster, and every finding is checked by a human. You get a clear report with evidence, priorities and a retest.
More from the blog
View all blogs- News
AI Pentesting: Why organisations choose assistsec
Discover why more companies are choosing AI pentesting with AssistSec. We combine autonomous AI agents with the expertise of senior penetration testers to deliver comprehensive AI-powered penetration tests.
Nov 21, 2026 - Inside AssistSec
ISO 27001: what is it and what does it cost?
ISO 27001 is the standard for information security. Learn what it contains, how certification works, what it costs and how it relates to NIS2.
Nov 2, 2026 - Inside AssistSec
Ethical hacker: what does an ethical hacker do?
An ethical hacker breaks in with permission to find security holes. Learn what they do, whether it is legal and how to hire one.
Nov 2, 2026
Interested in a pentest?
Discover how AssistSec's AI agents give your organisation faster and more thorough insight into vulnerabilities.
Contact us



