Skip to content

Continuous pentesting

Updated November 18, 20262 min read

Continuous pentesting tests your systems for exploitable weaknesses on a recurring cycle or after every release, instead of once a year. It catches new exposure and regressions between tests, but it does not replace a scoped manual pentest or the retest of a fix. Choose the mix by how often you release, how large your scope is and how much risk you carry.

Continuous pentesting means testing your systems for exploitable weaknesses on a recurring cycle, often weekly or after every release, instead of once a year. Findings arrive as they turn up, not in one report at the end.

What it means

An annual pentest is a project: an agreed scope, a fixed number of days and a report on your systems as they were on those days. NIST SP 800-115 says an assessment provides “a snapshot of security at a given point in time”, and the UK’s NCSC notes that a year or more between pentests is not unusual. What you deploy the week after the test waits for the next one.

Continuous pentesting turns the project into a programme. The runs are largely automated, and how much human testing sits on top differs per provider. It is strong in breadth and speed: a new host on the internet, an old flaw back in a release, a component with a newly published vulnerability.

A scoped manual test is strong in depth. According to the OWASP Web Security Testing Guide, a vulnerability scanner cannot detect business logic flaws. PCI DSS calls penetration testing “a highly manual process” in which the tester often chains several exploits together.

Why it matters

Continuous testing does not replace two things. The first is the periodic pentest that standards ask for. PCI DSS v4.0.1 requires internal and external penetration tests at least once every 12 months and after any significant change. The second is the retest. PCI DSS requires a repeat test to verify corrections, and NIST SP 800-115 notes that only a repeat of the original test can verify a fix. A finding that disappears from the next automated run is not proof of a fix.

Ask your auditor whether automated results count as the penetration test your standard requires before you drop the annual one.

Then choose by release frequency, scope and risk. If you deploy every week, an annual test sees one version in 52. Many internet-facing hosts and APIs favour continuous coverage, while one critical application favours depth. Payment data or a regulated sector sets a minimum that continuous testing adds to but does not replace.

Example

A software company deploys several times a week. Its continuous testing flags an exposed debug endpoint two days after a release. Once a year, and before it rebuilds its permission model, it orders a scoped manual test. That test finds users of one customer account approving invoices in another, a case of broken access control no automated run had reported. After the fix, the testers repeat the test case and close the finding in the pentest report.

Sources

Frequently asked questions

What is the difference between continuous pentesting and a vulnerability scan?

A vulnerability scan looks for known weaknesses such as missing patches and reports them. Continuous pentesting also tries to exploit and combine what it finds, and repeats that on a cycle. How far a service goes beyond scanning differs per provider, so ask for sample findings before you buy.

Does continuous pentesting replace the annual pentest?

Not on its own. It covers the months between tests, but PCI DSS still requires a penetration test at least once every 12 months and after significant changes, and business logic flaws still need a human tester.

How often should you run a pentest?

PCI DSS sets a minimum of once every 12 months and after any significant change, and DORA requires most financial entities to test the systems that support critical or important functions every year. If you release every week, add continuous testing so a change does not wait a year to be tested.

Does continuous pentesting include retests?

Ask, because it is not the same thing. A retest repeats the original test case against the fix and records the result. A finding that simply stops appearing in later runs has not been verified as fixed.

Related articles

Press / to search · Esc