ISO 27001 Penetration Testing Requirements: What the Standard Actually Requires

ISO 27001 is the most widely adopted information security management standard globally, with over 70,000 certified organizations. Yet there is persistent confusion about what it actually mandates for penetration testing. Security teams preparing for ISO 27001 certification or audits frequently over-build or under-build their testing programs because the requirements are spread across the standard in non-obvious ways.

This guide covers what ISO 27001:2022 specifically requires for security testing, which Annex A controls create the testing obligation, what auditors look for as evidence, and how to structure a testing program that satisfies the standard without over-investing.

How ISO 27001 Structures Security Testing Requirements

ISO 27001 does not contain a single "penetration testing" clause. The requirement emerges from the intersection of several controls and the risk management framework at the core of the standard. The relevant requirements come from three sources:

ISO 27001 references ISO 27002 for the control set. Organizations select controls from Annex A based on their risk assessment and document which controls they have implemented (and which they have excluded) in the Statement of Applicability (SoA).

The Key Controls: Annex A 8.8 and 8.29

Annex A 8.8 — Management of technical vulnerabilities

Control 8.8 requires organizations to:

This control creates the obligation for vulnerability scanning as a continuous process. Auditors expect to see:

Vulnerability scanning is mandatory under 8.8. Penetration testing is the recommended mechanism for evaluating exposure — but the control as written focuses on the management process, not the specific testing methodology.

Annex A 8.29 — Security testing in development and acceptance

Control 8.29 requires that security testing be defined and implemented for the development lifecycle. Specifically:

For web application security, 8.29 drives DAST/SAST requirements, security code review, and pre-production security assessment. Organizations running internal development of web-facing applications or APIs cannot exclude this control from their SoA without significant justification.

Additional controls that imply testing

Control Title Testing implication
8.20 Networks security Requires network security verification — port scanning, firewall rule testing
8.22 Segregation of networks Requires testing that segmentation is enforced — network penetration between zones
8.25 Secure development lifecycle Security requirements in design, testing in each development phase
8.26 Application security requirements Security functional requirements must be verified — implies acceptance testing
5.36 Compliance with policies and standards Requires verification that security controls are operating effectively

Does ISO 27001 Require Annual Penetration Testing?

The short answer: not explicitly, but in practice, yes — for most organizations.

ISO 27001 does not specify frequency for penetration testing. The frequency requirement flows from the risk assessment: if web applications are in scope, the risk register identifies web application attacks as a relevant threat, and the organization has selected 8.8 and 8.29 as applicable controls, then periodic penetration testing is the expected mechanism for demonstrating those controls are effective.

Auditors from major certification bodies (BSI, Bureau Veritas, SGS, TÜV) have generally aligned on expecting:

Organizations that conduct only annual penetration testing without ongoing vulnerability scanning will typically receive a nonconformity under 8.8, because annual testing does not constitute "timely" vulnerability management for actively-exploited CVEs.

What Auditors Look For as Evidence

ISO 27001 auditors verify implementation through document review and interviews. For security testing, expect auditors to request:

Policy and procedure evidence

Operational evidence

Common audit findings that lead to nonconformities

Mapping a Testing Program to ISO 27001

A testing program structured to satisfy ISO 27001 typically has three components:

1. Continuous vulnerability scanning (satisfies 8.8)

Automated vulnerability scanning of in-scope systems on a regular cadence — monthly at minimum, weekly for internet-facing systems. The scans should:

2. Annual penetration test (satisfies 8.8 evaluation requirement + Clause 9.1)

Annual penetration testing by qualified testers (internal red team or third-party). The scope should include:

The penetration test report serves as primary evidence for Clause 9.1 (evaluating ISMS effectiveness). A report that finds no vulnerabilities is not inherently suspicious — but auditors may probe the testing methodology if all-clear reports are presented repeatedly.

3. Change-triggered testing (satisfies 8.29)

Security testing integrated into the release process for web applications:

This does not require full penetration testing for every release. Automated DAST scanning with manual review of high-risk changes is typically sufficient to satisfy 8.29.

Evidence Retention and Documentation

ISO 27001 Clause 7.5 requires documented information to be retained as evidence of ISMS operation. For security testing, this means:

Document Retention Notes
Penetration test reports Minimum 3 years (two audit cycles) Full report including methodology, findings, and recommendations
Vulnerability scan results Minimum 1 year of scan history Raw scan output or exported reports with timestamps
Remediation records Per finding, until finding is closed plus 1 year Ticket references, re-scan evidence, or risk acceptance sign-off
Scope documentation Current plus previous version What systems were in scope and what was explicitly excluded

ISO 27001 vs. Other Frameworks: Testing Frequency Comparison

Framework Explicit Pentest Requirement Scan Frequency
ISO 27001:2022 Implied — risk-driven Risk-driven (annual pentest typical)
SOC 2 Type II Not required (optional) Quarterly scans common for CC7.1
PCI DSS v4.0 Annual + after significant changes (Req 11.4) Quarterly external, monthly internal
HIPAA Not explicit — "reasonable and appropriate" safeguards Risk-based, but annual is typical
NIS2 Directive Not specified — member state implementation varies Risk-based

Practical Notes for ISO 27001 Certification Preparation

Start early. Auditors expect to see a testing program that has been operating, not one that was stood up weeks before the audit. Six months of vulnerability scan history is a reasonable minimum to demonstrate process maturity.

Document scope decisions. If you exclude certain systems from penetration testing scope, document why. "Out of scope: legacy ERP system — isolated network, no internet connectivity, compensating controls in place [link]" is acceptable. Unexplained scope gaps invite follow-up questions.

Track findings to closure. The single most common finding in ISO 27001 surveillance audits is pentest findings that were identified but not remediated or formally risk-accepted. Build a remediation tracking process before you conduct the pentest, not after.

Use automated scanning to fill the gap between annual pentests. Monthly DAST scanning of web applications provides continuous evidence of 8.8 implementation between annual penetration tests. This evidence trail is what turns a vulnerability management policy into a demonstrated, operating control.

Building a vulnerability management program for ISO 27001 certification? Ironimo provides automated DAST scanning with documented results, remediation tracking evidence, and scan history — the paper trail auditors look for under Annex A 8.8.

Start free scan
← Back to Blog