ISO/IEC 27001:2022 does not say "you must run a penetration test". It requires you to assess and treat information security risks, and Annex A includes controls on technical vulnerability management (8.8), secure development and security testing (8.25 to 8.29), and independent review of information security (5.35). For most organisations with internet-facing systems or in-house software, a penetration test is the most direct evidence that those controls work, and certification auditors routinely ask how you test.
The controls a pentest supports
When you include a penetration test in your ISMS, map it to the controls it evidences in your Statement of Applicability. These are the usual ones.
- 8.8 Management of technical vulnerabilities: information about vulnerabilities is obtained, exposure is evaluated and appropriate measures are taken.
- 8.29 Security testing in development and acceptance: security testing processes are defined and implemented in the development life cycle.
- 8.25 to 8.28 Secure development life cycle, application security requirements, secure system architecture and secure coding: a test checks whether these produce secure results.
- 8.20 to 8.22 Network security, security of network services and segregation of networks: an internal network test checks segmentation and exposed services.
- 5.35 Independent review of information security: an external test is one form of independent review.
- 5.7 Threat intelligence and 8.16 Monitoring activities: a test can also show whether your monitoring detected the tester.
What the auditor is actually looking for
ISO auditors do not check that a pentest exists; they check that your process works. They will look for a defined approach to technical testing, evidence it ran at the planned frequency, findings recorded as risks or nonconformities, and remediation tracked to closure.
A test report sitting in a folder with unfixed critical findings is worse than no report, because it shows a known risk that was not treated. Link every high or critical finding to your risk register or corrective action log.
How often to test for ISO 27001
The standard sets no frequency. Your risk assessment does. Most organisations settle on an annual external test of internet-facing systems, a test after major changes, and more frequent vulnerability scanning. Write the frequency into your vulnerability management or security testing procedure so the auditor can check you against your own rule.
If customers or other frameworks, such as SOC 2 or PCI DSS, already drive a testing schedule, align ISO to the same calendar so one test serves several purposes.
Presenting the test in your ISMS
Make it easy for the auditor to follow the trail from requirement to evidence.
- Reference the test in your Statement of Applicability against controls 8.8 and 8.29.
- Keep the scope document, the report and the retest report together.
- Record each significant finding in the risk register with an owner and a due date.
- Show the closure evidence, such as a retest result or a change ticket.
- Mention the test and its outcome in your management review inputs.
Deciding scope from your risk assessment
Because ISO 27001 ties everything back to risk, the scope of your penetration test should come from your risk assessment, not from a template. Start with the assets in your ISMS scope that hold the most sensitive information or are most exposed: usually your customer-facing applications, their APIs, remote access systems and cloud environments. Those are the systems where a test gives the strongest evidence for controls 8.8 and 8.29.
If your organisation develops software, also consider testing as part of the development life cycle. Control 8.29 expects security testing during development and acceptance, which can include automated security tests in your build pipeline, code review and a pre-release test on major features, with the annual penetration test as an independent check on top.
Write down why each system is in or out of the test scope. Auditors often ask why a system in the ISMS scope was not tested, and "our risk assessment rated it low, see risk ID 14" is a complete answer.
Who should do the test
ISO 27001 does not require an external tester, but independence matters for control 5.35 and for credibility with customers. An internal team can test if it is competent and independent of the systems it tests. Most small and mid-sized organisations use an external firm for the annual test and internal scanning for the routine checks in between.
Getting the test and the certification in the right order
Test before your Stage 2 audit, not after. Findings fixed before the audit show a working process; findings discovered by the auditor's questions show a gap. If you are building the ISMS now, our ISO 27001 implementation service includes the testing procedure, and VAPT services covers the test itself. Our earlier post on ISO 27001 vs SOC 2 helps if you are deciding between frameworks.
Frequently asked questions
Is a pentest mandatory for ISO 27001 certification?
Which controls does it cover?
How often should we test?
Can one pentest serve both ISO 27001 and SOC 2?
Need test evidence for your ISO audit?
We scope tests to the systems in your ISMS and write findings so they drop straight into your risk register.

