Security operations

Does ISO 27001 Require Penetration Testing? The Honest Answer

ISO 27001 never names a penetration test, yet most auditors still ask for one. Here is why that gap exists, which controls a test supports, and how to plan testing that survives an audit.

Cysoro Security TeamPublished · 10 min read
TESTED, NOT ASSUMED A.8.8 • A.8.29Find it. Fix it. Prove it. ✓RETESTED SECURITY OPERATIONS Penetrationtesting Does ISO 27001 require it? Not by name — but auditors expect the evidence.
Quick answer

No. ISO/IEC 27001:2022 never names penetration testing as a required control, and it sets no testing frequency or method. In practice, though, most certification auditors expect a penetration test as evidence that you find technical vulnerabilities, test security in development, and check that your controls actually work.

Key takeaways

  • ISO 27001 does not name penetration testing, set a frequency, or require an external tester.
  • Controls A.8.8 and A.8.29 are the usual reason auditors ask for a test, and ISO/IEC 27002 names penetration testing as a way to meet them.
  • Plan on testing at least once per audit period and after significant change, then fix the findings and keep the retest record.

If you are preparing for ISO 27001 certification, you have probably heard two opposite claims: that penetration testing is mandatory, and that the standard never mentions it. Both claims are partly right, and the gap between them is where most teams get confused.

Does ISO 27001 require penetration testing?

No, not by name. No clause of ISO/IEC 27001:2022 and no Annex A control says you must run a penetration test, sets how often to run one, or names a testing method.

That is the honest starting point, and it matters. Any page that says the standard mandates an annual penetration test is overstating what the text says. The standard is risk-based: it tells you what your information security management system (ISMS) must achieve, and leaves you to choose the methods that fit your risks.

ISO describes the standard as the best-known standard for information security management systems, and says it helps organizations of any size establish, implement, maintain, and continually improve an ISMS. It does not prescribe a test. You can read that framing on the ISO page for ISO/IEC 27001:2022.

So why do auditors keep asking for a test report? Because the standard does require things that are hard to prove without one. The next sections trace that chain, so you can decide what to test, how often, and what to keep as evidence.

What the standard actually requires

ISO/IEC 27001:2022 has two parts that matter here: clauses 4 to 10, which describe how you run your ISMS, and Annex A, a reference set of 93 controls.

Clause 6.1.2 requires a risk assessment process. You identify information security risks, analyze their consequences and likelihood, and decide which risks need treatment. Clause 6.1.3 then requires you to compare your chosen controls against Annex A and record the result in a Statement of Applicability (SoA).

The SoA is the document your auditor works from. It lists the controls you selected, whether each one is implemented, and your justification for including or excluding any Annex A control. If you mark a control as applicable and implemented, the auditor will look for evidence that it actually operates.

Clause 9.1 adds another link in the chain. It requires you to decide what to monitor and measure, including whether your controls are effective, using methods that give comparable and reproducible results. A penetration test is one of the clearest ways to produce that kind of evidence for technical controls.

Clause 9.2 requires an internal audit program, and clause 9.3 requires management review. Neither clause names a penetration test either. Together, though, they mean your test results should reach management, feed your risk treatment plan, and be checked again later.

Which Annex A controls point to penetration testing?

Three controls do most of the work: A.8.8 on technical vulnerabilities, A.8.29 on security testing in development, and A.8.34 on protecting systems during audit testing.

How a penetration test becomes audit evidence 1Risk assessmentclause 6.1.2what could go wrong? 2Statement ofApplicabilityclause 6.1.3 3Controls A.8.8and A.8.29applicable, in scope 4Penetration testindependent, scoped,documented 5Fix and retestfindings tracked toclosure in the ISMS The test is not the control. The closed loop — finding, treatment, retest — is what the auditor grades.
From risk assessment to audit evidence: the chain that makes a penetration test expected. Illustration by Cysoro.

A.8.8: Management of technical vulnerabilities

This is the main control. It requires you to obtain information about technical vulnerabilities in the systems you use, evaluate your exposure to them, and take appropriate measures.

ISO/IEC 27002:2022, the implementation guidance for Annex A, lists penetration testing and vulnerability assessment among the ways to identify technical vulnerabilities. It expects the work to be planned and documented, and carried out by competent, authorized people.

A scanner and a patch log show that you look for known weaknesses. They do not show whether an attacker could chain weaknesses together, bypass an access control, or move from a standard account to an administrator. That is the gap a penetration test fills, as Packetlabs explains in its ISO 27001 testing guide.

A.8.29: Security testing in development and acceptance

This control requires you to define and carry out security testing throughout the development life cycle and before a new or changed system is accepted. Its guidance names code review, vulnerability scanning, and penetration testing as methods.

If you build or regularly change software, this control usually applies to you. It does not require a full penetration test before every release. It requires a defined testing process, scaled to how critical the system is, with penetration testing used where the risk justifies it.

A.8.34: Protection of information systems during audit testing

This control is easy to miss, but it shapes how you run a test. It requires audit testing and other assurance work on operational systems to be planned and agreed with management, so testing does not disrupt the business.

In practice, that means written authorization, an agreed scope, testing windows, permitted and prohibited techniques, named contacts, and a way to stop the test fast if something goes wrong. It also means removing temporary accounts and access when the test ends.

Two other controls appear in the same conversation. A.5.35 requires an independent review of information security at planned intervals, which supports using a tester who did not build the controls. A.8.9 on configuration management is often evidenced by the drift and misconfigurations a test uncovers.

Penetration test vs vulnerability scan: what is the difference?

A vulnerability scan lists known weaknesses. A penetration test tries to exploit them, safely and with permission, to prove what an attacker could actually do.

Both belong in a vulnerability management process, and neither replaces the other. Scans give you broad, repeatable coverage between tests. A penetration test gives you depth: validated impact, attack paths, and proof that a fix worked.

Vulnerability scanPenetration test
How it worksAutomated checks against known vulnerabilities across many hostsManual testing of a defined scope, chaining weaknesses into attack paths
What it findsMissing patches, end-of-life software, weak TLS, exposed servicesThose issues, plus access-control flaws, business logic, and cloud identity abuse
What it provesThat known weaknesses were found and listedThat controls hold, or fail, when someone tries to get around them
Typical cadenceMonthly or quarterly, and after large changesAt least once per audit period, and after significant change
Best evidence forA.8.8 between tests; A.8.9 configuration driftA.8.8 in depth; A.5.35 independence; A.8.29 for applications
Main weaknessFalse positives and no proof of exploitabilityNarrower coverage and higher cost per system

A scan export with hundreds of rows and no owner reads as an unmanaged backlog, not as management of technical vulnerabilities. An auditor wants to see the rows triaged, owned, and closed — and a penetration test is often the document that forces that discipline.

For a quick check of one part of your public surface, you can run our free security headers checker on your own site. It is a spot check, not a penetration test, but it shows the kind of configuration finding a scan would also flag.

How often should you test?

The standard sets no interval, so the honest answer is that your risk assessment and your audit calendar set the interval, not a clause.

Annual testing, aligned with the certification cycle, is the pattern most auditors expect. The certification cycle runs for three years: an initial audit in two stages, surveillance audits in years one and two, and a recertification audit in year three. Redline's guide to the ISO 27001 cycle sets out the same timing, with a fresh test inside each surveillance period.

Finish testing six to eight weeks before an audit when you can. That leaves time to fix findings and retest them before the auditor arrives. A test finished two weeks before the audit often means the retest lands after the auditor has left.

Test again after a significant change, even if your annual test was recent. Triggers include a new product or major release, a cloud migration, a new identity platform, a network redesign, a merger or acquisition, and any serious security incident.

Higher-risk systems may need more frequent testing. A public-facing application that handles sensitive customer data is a different case from an internal tool with a handful of users. Document the reasoning in your risk assessment, so the frequency looks like a decision, not a habit.

What should you put in scope?

Scope the test to your ISMS scope, not to the whole company. Your auditor will match the test scope against the systems your SoA and risk register name.

What to put in scope External perimeterInternet-facing servers, web apps, APIs, VPN portals,staging servers and forgotten subdomains. Internal networkStart from a phishing foothold: lateral movement,privilege escalation and segmentation that holds. Applications in the SoAAuthenticated testing, every user role, and morethan one tenant for multi-tenant products. Cloud and identityWhat one credential, service account or over-permissiverole can reach in AWS, Azure or Google Cloud.
Scope to the ISMS boundary, using the same asset names your SoA uses. Illustration by Cysoro.
  • External perimeter: everything the ISMS exposes to the internet, including staging servers, VPN portals, and subdomains that never made the asset register.
  • Internal network: start from the foothold a phishing email would give an attacker, then test lateral movement, privilege escalation, and network segmentation.
  • Applications named in the SoA: authenticated testing from every role, and from more than one tenant for multi-tenant products. This is also your A.8.29 evidence.
  • Cloud tenants: if production runs in the cloud, identity is the perimeter. Test what one credential or over-permissive role can reach.
  • Remote access and identity: VPN, virtual desktops, and the identity platform that authenticates everyone. If an account can reach in-scope systems, it is in scope.

Use the same asset names in the test scope that you use in the SoA and risk register. Mismatched names slow the audit down and invite questions about whether the test covered the right systems.

Test production inside agreed windows where the rules of engagement allow it. Staging is acceptable evidence only when it genuinely mirrors production, including its data protections and access controls.

Phishing is a common starting point for an internal test, because it mirrors how attackers actually gain a foothold. Our guide to what spear phishing is explains how a single targeted message can open that door.

What does an auditor look for in your test evidence?

An auditor is not grading the test itself. They are checking that it was real, that it covered the right things, and that your ISMS acted on it.

Start with the basics: a testing window and a scope statement that match the ISMS scope and the surveillance period, plus the methodology used and who did the testing. NIST SP 800-115, the Technical Guide to Information Security Testing and Assessment, is a common reference for how a test should be planned, run, and reported, and the OWASP Web Security Testing Guide is the usual reference for web applications.

Each finding should carry evidence and a severity rating, with enough detail to reproduce it: what was tested, what happened, and what the impact was. Findings mapped to the Annex A control they affect are much easier for an auditor to file than a generic list of issues.

Then comes the part most teams miss: the risk treatment trail. Every finding should appear in the risk register or treatment plan with an owner and a decision — fix, accept, or transfer — plus a date. A report nobody fed back into the ISMS is the classic nonconformity.

Finally, keep the retest record. A retest that confirms the fixes work closes the loop and shows continual improvement under clause 10. Put the executive summary in front of management review, and minute that it was discussed.

Do not hand the auditor a raw report with live credentialsCheck the report for passwords, tokens, and internal details before you share it, and agree with your tester what the auditor version contains.

How to plan a test that passes audit scrutiny

Plan backwards from your audit date, and write the plan down before anyone starts testing. A short written plan beats a long verbal agreement.

Plan a test in five steps 1Scope it to the ISMSlist systems, roles and exclusions in the same words as your SoA 2Authorize it in writingrules of engagement, testing windows, contacts and a stop procedure 3Test with a named methodNIST SP 800-115 for the engagement, OWASP for web applications 4Fix with owners and datesevery finding in the risk register, with a decision and a deadline 5Retest and file the evidencekeep the report, the treatment trail and the retest together
Five steps, in order, from scoping to filed evidence. Illustration by Cysoro.
  1. Write the scope first. List the systems, applications, and roles in scope, plus what is excluded and why. Get management sign-off before testing starts.
  2. Agree the rules of engagement. Cover authorization, testing windows, permitted and prohibited techniques, emergency contacts, and how to stop the test.
  3. Pick a methodology and stick to it. Ask the tester to name the method in the report, so the auditor can follow the coverage and the reasoning.
  4. Choose the tester for independence. Internal testers need no responsibility for the controls under test. External testers make that independence easy to show.
  5. Book the retest when you book the test. Fixes without a retest are claims, not evidence. Agree the retest window up front.

Common mistakes are easy to avoid once you know them. Do not test only the systems that are easy to test, do not accept a report with no evidence for its findings, and do not file the report without updating the risk register. Each of those gaps shows up quickly in an audit.

If you are also working through the wider controls, our small business cybersecurity checklist covers backups, updates, access control, and device security alongside testing.

For a quick public-facing check before you commission a full test, run our free SSL checker on your site. It will not replace a penetration test, but it catches expired certificates and weak TLS settings that a tester would flag anyway.

The bottom line

ISO 27001 does not require a penetration test, but it does require you to manage technical vulnerabilities, test security in development, and prove your controls work. For most organizations, a penetration test is the most direct way to prove all three.

Test the systems in your ISMS scope at least once per audit period and after significant change, fix what the test finds, and keep the retest record. Then check your baseline with the Cysoro security baseline to see where your controls stand before the auditor does.

Frequently asked questions

Does ISO 27001 require penetration testing?

No, not by name. ISO/IEC 27001:2022 contains no clause or Annex A control that says you must run a penetration test, and it sets no frequency or method. Most auditors still expect one as evidence for controls A.8.8 and A.8.29, because a test shows your controls work in practice.

Does ISO 27001 require an annual penetration test?

No. The standard uses the phrase planned intervals for reviews and risk assessments, but it never fixes an annual testing interval. Annual testing, timed to each surveillance audit, is the common pattern auditors expect, and you should also test after significant change.

Can our own team do the penetration test?

Yes, if the testers are competent, authorized, and independent of the controls they are testing. The standard requires independence for reviews, not an external firm. Most small teams still hire an outside tester because independence is then simple to prove to an auditor.

Is a vulnerability scan enough for ISO 27001?

A scan is useful evidence, but it is rarely enough on its own. Scans find known weaknesses across many systems, while a penetration test proves whether weaknesses can be exploited and chained together. Auditors treat a scan export and a test report as different kinds of evidence.

What is the difference between ISO 27001 and SOC 2 penetration testing?

The test itself is similar, but the timing and the audience differ. ISO 27001 evidence should fall inside the current surveillance period, while SOC 2 evidence should fall inside the Type II observation window. One well-timed test can often serve both if you plan the dates first.

What happens if the penetration test finds serious problems before an audit?

Open findings are not automatically a failed audit, but ignored findings are a problem. Record each finding in your risk register, assign an owner and a date, fix what you can, and keep the retest record. An auditor wants to see that loop close, not a clean report.

Do small businesses need penetration testing for ISO 27001?

It depends on your risk assessment and your scope. A small business with internet-facing systems or customer data will usually need some form of testing. A very small scope with limited technology may justify a narrower test, but you must document that reasoning in your Statement of Applicability.

Sources

  1. ISO — ISO/IEC 27001:2022, Information security management systems
  2. Packetlabs — ISO 27001 Penetration Testing Requirements
  3. Redline Cybersecurity — ISO 27001 Penetration Testing Requirements, Explained
  4. Astra — ISO 27001 Penetration Testing Requirements Complete Guide
  5. ISO 27001 Pentest — ISO 27001 penetration testing: what is actually required
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against ISO/IEC 27001:2022, the ISO/IEC 27002:2022 guidance described in the sources, and NIST SP 800-115.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free