Resources

Does ISO 27001 require penetration testing? What control 8.8 asks for

ISO/IEC 27001:2022 sets no blanket requirement for a penetration test and no fixed testing interval. What control 8.8 asks for, when a pentest becomes required anyway, and what records to prepare for an auditor.

On this page · 7 sections
  1. What control 8.8 asks for: ISO 27001 vulnerability management
  2. What ISO 27001 does not say about penetration testing
  3. Control 8.29: if you build or commission software
  4. When a pentest is required anyway
  5. What records to show an ISO 27001 auditor for 8.8
  6. Is a vulnerability scan enough for ISO 27001, or do you need a pentest?
  7. Sources

Our view

Buy a penetration test because your risks, a customer or your own policy call for one, not because someone told you the standard does. For control 8.8, what an auditor follows is the record: you learned about a weakness, decided what to do and did it.

IntruForce

ISO/IEC 27001:2022 sets no blanket requirement for a penetration test and no fixed testing interval. Whether you need one depends on your risk assessment, the controls you chose and the obligations that apply to you: your own documents, a customer contract or another regulation can make a pentest required.

A penetration test (pentest) is an attempt by specialists to break into agreed systems, the way an attacker would. Control 8.8, «Management of technical vulnerabilities», asks for something broader: find out about the technical weaknesses in the systems you use, judge how exposed you are to them, and act.

What control 8.8 asks for: ISO 27001 vulnerability management

Control 8.8 sits in Annex A of the standard, among the technological controls. In substance it asks for three things:

  • Get information about technical vulnerabilities in the information systems you use. That means knowing which systems and software you have, and following the sources that report weaknesses in them.
  • Evaluate your exposure to those vulnerabilities: which of them affect you, and how much.
  • Take appropriate measures to address the exposure. If a risk remains, document the decision against your risk-acceptance criteria and get the risk owner's approval.

The control does not name a tool, a test type or a schedule. A vulnerability scan (an automated check of your systems against known weaknesses), a pentest and a vendor's security bulletin are all ways to get the information. Which ones you use, and how often, is your decision. It should follow from your risk assessment and the requirements that apply to you.

Can you leave 8.8 out?

Annex A is a reference list. A note to clause 6.1.3 says it «contains a list of possible information security controls», and sends you to it so that no necessary control is overlooked. You compare the controls you chose with that list and record the result in the Statement of Applicability: the document that lists the necessary controls, why you included them and whether they are implemented, and justifies each Annex A control you exclude. Necessary controls can also come from sources other than Annex A.

A control can be excluded, but the exclusion needs a justified determination that the control is not necessary within your scope; writing down a reason is not enough on its own. A business that depends on software has technical vulnerabilities to manage, so plan to keep 8.8 and to explain how you manage them, including the parts your suppliers handle.

What ISO 27001 does not say about penetration testing

  • It does not name penetration testing. The words do not appear in the clause titles or in any of the 93 control titles of Annex A.
  • It sets no fixed interval for scans or pentests. It does require planned risk assessments (clause 8.2), internal audits (9.2) and management reviews (9.3); these are separate activities, not technical tests of your servers. Under clause 9.1 you decide what to monitor and measure, how, when and by whom, and keep the results as evidence.
  • It does not say who must test. No accredited provider, no named certification of the tester.
  • ISO/IEC 27002:2022 is guidance. It is the companion document that explains how each control can be implemented. Its guidance for 8.8 mentions vulnerability scanning tools and penetration tests by authorized people among the ways to identify vulnerabilities. ISO describes 27002 as best practice recommendations that «cannot be certified to».

How often does ISO 27001 require a pentest or a vulnerability scan?

It sets no fixed interval. An annual pentest or a quarterly scan can be a schedule you choose, and other frameworks do set such intervals. ISO/IEC 27001 leaves the interval to you. Once you write an interval into your own documents, it becomes something the auditor checks.

Control 8.29: if you build or commission software

Control 8.29, «Security testing in development and acceptance», asks you to define security testing in your development process and carry it out. It is relevant when you develop software or accept systems built for you. The ISO/IEC 27002:2022 guidance lists code review, vulnerability scanning and penetration tests as options. Here too the standard leaves the method to you. For an application your customers log in to, a pentest before release can be a suitable way to do this testing, and a customer may ask to see the result.

When a pentest is required anyway

  • Your own documents say so. If your risk treatment plan (the list of what you do about each risk), your policy or your Statement of Applicability commits to a pentest every year, the auditor checks that it took place. An audit compares what you do with what you wrote, and also checks that it meets the standard and that it works.
  • A customer contract says so. Clause 4.2 asks you to identify the relevant requirements of interested parties (customers, regulators, partners) and decide which of them your management system addresses. An annual pentest in a contract is one of those requirements.
  • PCI DSS covers your environment. Where requirements 11.4.2 and 11.4.3 apply to it, they call for internal and external penetration tests at least once every 12 months and after significant infrastructure or application changes. Check the scope against PCI DSS v4.0.1.
  • Financial-sector rules apply to you. Rules such as the EU's DORA regulation set their own testing duties, so check what they ask of your company. How often to test, and what changes between tests, is covered in annual pentest vs continuous perimeter monitoring.
  • Spain's ENS applies to your systems. For systems subject to the National Security Framework (ENS) in category ALTA, Annex II, measure op.mon.3, reinforcement R6, includes penetration tests, run periodically and after incidents that reveal new or underestimated vulnerabilities.
  • Your risk assessment points to it. If an internet-facing application holds customer data and nobody has tried to break into it, a pentest may be the measure you choose to answer that risk.

If none of these applies, the standard does not oblige you to buy one. You still have to show that you know your vulnerabilities and act on them.

What records to show an ISO 27001 auditor for 8.8

To show how your vulnerability-management process works, prepare the following records. This is a practical checklist, not a set of documents that control 8.8 prescribes, and your auditor may ask for more or less.

  • Who is responsible: named roles for watching for vulnerabilities, assessing them and fixing them.
  • What you have: an inventory of systems and software with versions and an owner for each.
  • Where the information comes from: vendor bulletins, vulnerability databases, scan results, pentest reports.
  • How you assess: the severity of each vulnerability and what it means for the system it affects.
  • What you did and by when: records of fixes, with the deadline you set for each severity and the date the fix was made.
  • What you decided not to fix, and why: a recorded acceptance of the risk by someone with the authority to accept it.
  • A trail: a log that lets the auditor follow one vulnerability from the day you learned of it to the day it was closed.

A finding that was detected, assigned, fixed and checked again shows the process at work; a long report nobody acted on does not. A scan or a pentest also describes one moment, and new weaknesses keep being published, so a process that looks once a year leaves long gaps. We compare the two rhythms in annual pentest vs continuous perimeter monitoring.

Is a vulnerability scan enough for ISO 27001, or do you need a pentest?

They answer different questions. A scan tells you which known weaknesses may exist on your systems, and can be repeated as often as you need. A pentest shows what an attacker could reach through them, within an agreed scope and dates. The longer comparison is in vulnerability scan vs penetration test.

  • For the routine part of 8.8, repeated scanning with someone reviewing the results can be the base: it supplies the information and shows whether a finding is still detected. Assigning and closing the fixes stays with your own workflow.
  • For systems where a break-in would hurt most, or where a customer or framework asks, add a pentest and write its interval into your documents.
  • In both cases, keep the record of what was found and what you did about it. The record is the evidence, not the tool.

What an external check covers

For the internet-facing part of vulnerability management, you first need to know which of your systems can be reached from the internet, including the ones missing from your inventory. That part can be looked at from outside, without installing anything.


Sources

Get started

Know your risks before attackers find them.

Discover your external assets, identify security weaknesses and check for exposed corporate credentials with a free SeguriScan pilot. Get access to the platform, findings and reports to understand what needs attention.

  • Nothing to install
  • No access to your internal network
  • No active testing without your approval

We’ll contact you by email to discuss the pilot and agree on the next steps. No obligation to proceed. What’s included in the pilot →

By submitting this form, you acknowledge that IntruForce will process your personal data to respond to your request. See our Privacy Policy for details.