For the complete documentation index, see /llms.txt. Markdown version of this page: /en/insights/appsec/what-decides-the-cost-of-a-pentest.md.

What decides the cost of a penetration test?

Author

Fredrik Standahl

Co-founder and CEO

[email protected]

The cost of a penetration test follows the work it takes. We explain what decides the scope and what to ask for in a quote so that you can compare providers.

6 min read

In brief: The cost of a penetration test follows the work the test takes. The number of systems, how deep the testers go and what the report will be used for decide how large the engagement becomes. This article explains what drives the scope and what to ask for in a quote so that you can compare providers.

What does a penetration test cost?

There is no fixed price for a penetration test, because two engagements are rarely alike. The cost follows the amount of work, and the work is decided by what is tested and how deep the testers go. That is why a quote comes after the scope has been agreed.

The PCI Security Standards Council, which sets the security standard for the payment card industry, says in its penetration testing guidance that an engagement may last days or weeks depending on the scope of the test and the size of the environment. It adds that a test may grow in time and complexity if the work uncovers additional scope.

We do not publish prices on our website. The sections below go through what decides the scope, so you know what you will be asked before you receive a quote.

How much do the number and kind of systems matter?

The number of systems has the largest effect on the scope. Ten IP addresses with a few open services are a smaller job than one large application with many functions. A provider will therefore ask both how many systems are to be tested and what kind of systems they are.

Count what is in: domains, IP addresses, applications, APIs and cloud environments. Write down what is left out as well. If you are unsure what your organisation exposes to the internet, it is worth mapping that first. Our article What is an external attack surface? explains how.

Does exploitation make the test larger?

Yes. A test in which the testers also try to exploit the weaknesses takes more work than a test that finds and confirms them. Exploitation has to be planned, carried out with care and documented step by step.

We deliver penetration tests in two forms, and you choose. In a discovery test we find and validate the weaknesses without exploiting them. In a full test we also try to exploit what we find, to show how far an attacker could have got. Many customers start with discovery and add exploitation where it matters most. The difference is covered in Penetration testing with or without exploitation.

What difference does internal or external make?

An external test runs from the internet against what you expose to the outside. An internal test starts inside the network and establishes how far an attacker could get from there. The internal test requires the testers to be given access to the network, which has to be agreed and set up in advance.

Many engagements combine the two. The types are described in Penetration testing: what it finds and how to prepare. Say early on if you need both, because it affects the amount of work and the preparation on your side.

Why do web applications and APIs take more work?

An application has to be tested function by function and role by role. An ordinary user, an administrator and a customer in a different account should have different access, and each role has to be tried. The scope therefore grows with the number of roles, functions and API endpoints.

The PCI guidance recommends giving the testers user accounts for the roles defined in the application, so they can establish whether a user can reach data or functions that the role should not have. Have test accounts and API documentation ready before you ask for a quote. The provider then gets an accurate picture of the application, and the quote becomes more precise.

How much information should the testers have?

The more the testers know beforehand, the more of the time goes into the testing itself. A test in which the provider receives no information is often called black-box. Part of the time is then spent finding out what you could have told them.

The PCI guidance says a pure black-box test may require more time, money and resources than a test in which the testers are given all or part of the picture. The UK National Cyber Security Centre (NCSC) points to another side of the matter in its penetration testing guidance: a lack of information can result in vulnerabilities remaining undiscovered in the time allocated for testing.

What do the retest, the report and the testing window mean?

Three more things affect the scope: whether the findings are tested again after they have been fixed, what the report will be used for, and when the test can run.

  • Retest: The PCI guidance recommends that the tester verifies the fixes with a retest. Establish whether the retest is part of the quote and how long after the main test it can be ordered.
  • Report: A report that will be shown to an auditor or a customer has to show which requirements the test covers. We map the findings to the controls in ISO 27001, SOC 2, NIS2 and DORA that ask for testing. Which requirements apply to you is covered in our article on regulations that require recurring penetration tests.
  • Testing window: The NCSC lists out-of-hours testing and critical systems that need special handling among the issues to raise when the scope is set. Mention such restrictions before the quote is written.

What should you ask for in the quote?

Ask every provider to describe the same things, so that you can compare the quotes line by line. Two quotes with different prices often cover different scopes.

The NCSC says the outcome of scoping should state the technical boundaries of the test, the timeframe and the amount of effort needed. Ask for the following in the quote:

  • which systems, applications and environments are tested, and what is excluded
  • whether the test is discovery only or includes exploitation
  • how many working days are set aside and who does the work
  • what information and access the testers expect to be given
  • the testing window and who is told along the way
  • what the report contains and whether the findings are walked through with your developers
  • whether a retest after fixes is included
  • how data from the test is stored and deleted

What the scope and the authorisation should contain is covered in Before the penetration test: scope, authorisation and ownership. More questions for the provider are set out in How to choose a penetration testing provider.

How do you get a quote from us?

You receive a quote after a conversation in which we agree the scope together. Bring an overview of the systems to be tested, the requirement the test is meant to meet and when the test can run. If any of this is unclear, we settle it in the conversation.

Fredrik Standahl leads our penetration tests, together with Christian Vik and Kenny Le. They set the scope with you, run the test and go through the findings with your developers. We write the report ourselves, retest after fixes and follow open and closed findings from test to test.

Read more about our penetration testing service, or get in touch to arrange a meeting.

Our expertise

Read more articles on application security

Article ·

How to choose a penetration testing provider

Penetration testing providers differ in who does the testing, how AI is used and what you are left with. These are the questions to ask, and how we answer them.

Subscribe to our newsletter and invitations

Sign up