Jump to a page

32 pages.

All servicesAssessments, testing, and advisory work for security and compliance programs.
PCI DSS readinessScoping, readiness, and remediation for card-payment environments
Penetration testingAuthorized testing of apps, APIs, and networks
Compliance readinessSOC 2, ISO/IEC 27001, HIPAA, and CMMC readiness
Cloud & application securityArchitecture, configuration, and identity reviews
vCISO advisorySecurity leadership without a full-time hire
Incident readinessResponse plans and tabletop exercises
Risk assessmentsWhere you stand against NIST CSF 2.0 and CIS Controls
Policies, controls & evidenceA security program you can repeat and prove
Vendor riskThird-party reviews with clear priorities
Find the right service
SOC 2 readiness
ISO/IEC 27001 readiness
HIPAA Security Rule readiness
CMMC readiness
Assurance and trust centerHow to check credentials, how engagements run, how we stay independent, and how this website handles your data.
Credentials & authorizationsHow credentials and authorizations work, and how to check them
MethodologyHow engagements are scoped, run, and reported
IndependenceHow advisory work stays separate from formal assessment
Responsible disclosureHow to report a security issue in our website or systems
About
Team
Industries
Pricing
Contact
InsightsPlain-language articles on security and compliance topics
GlossarySecurity and compliance terms, defined in plain language
Search the siteServices, readiness guides, glossary terms, and articles
Privacy notice
Terms of use
Accessibility
Privacy choices

Guide

How to scope a penetration test you can act on

A useful penetration test starts with a clear question, written authorization, and a precise scope. Here is how to set one up so the report tells your team what to fix and in what order.

Testing5 min read

By Security Inspect · Sources checked

Key takeaways

  • Start with the question the test must answer; it decides the targets, the depth of testing, and what the report emphasizes.
  • Get written authorization from someone with authority over every system in scope, including third parties that operate those systems.
  • Write down the targets, exclusions, rules of engagement, and stop conditions before any testing starts.
  • Agree on the retest up front, so the final report shows which findings are verified as fixed.

Start with the question you need answered

Before listing targets, decide what you need to learn. The question shapes which systems are tested, how deep testing goes, and what the report should emphasize.

If a requirement drives the test, read it closely. PCI DSS, for example, calls for internal and external penetration testing at least once every 12 months and after significant changes, following a defined methodology.

  • Can someone on the internet reach sensitive data through our customer-facing application?
  • Does our API stop one customer from reading another customer's data?
  • If an attacker gains a foothold on one internal laptop, how far could they move?
  • Does a customer contract or a framework require a test, and what exactly does it require?

Get written authorization from people who can give it

Testing systems without permission can break the law and your contracts, even with good intentions. Authorization must come in writing from someone with authority over each system in scope.

  • A signed authorization that names the systems, the testing team, and the testing period.
  • Approval from the owner of each target, including business units that run their own systems.
  • A check of your cloud and hosting providers' testing policies, and permission from any third party that operates a system you want tested.
  • Confirmation that test accounts, test data, and any access granted are approved for use.

Name the targets and the exclusions

A precise target list prevents both gaps and accidents. Vague scopes, such as “the website” or “the cloud environment,” lead to disagreements later about what was covered.

  • Specific URLs, API base paths and documentation, IP ranges, or cloud accounts.
  • The environment to test, and whether it matches production closely enough for the results to hold.
  • The user roles to test, with a test account for each, so authorization flaws can be found.
  • Anything explicitly out of scope, such as third-party payment pages, fragile legacy systems, or social engineering.
  • How test data, and any sensitive data encountered during testing, will be handled and deleted.

Agree on windows, rules of engagement, and stop conditions

Rules of engagement turn the scope into operating instructions. Agree on them in writing before testing starts.

  • Testing windows, including time zones and blackout periods such as a product launch.
  • Techniques that are allowed and techniques that are off-limits, for example denial-of-service attempts or password spraying against production accounts.
  • Who to notify internally, including any team or provider that watches your alerts, so real incidents aren't mistaken for testing.
  • Emergency contacts on both sides who can be reached during every testing window.
  • Stop conditions: service instability, signs that someone else has already compromised a system, or exposure of sensitive data beyond what the test needs.
  • How critical findings are reported during the test instead of waiting for the final report.

What a report you can act on contains

The report is the product. It should let leaders make decisions and let engineers reproduce and fix each issue without a follow-up meeting.

A list of scanner output with generic advice is not a penetration test report. Ask to see a redacted sample report before you sign.

  • An executive summary in plain language: overall exposure, the most important risks, and what to do first.
  • For each finding: the affected asset, clear reproduction steps, evidence, a risk rating with its reasoning, and specific remediation guidance.
  • Attack chains that show how lower-severity issues combine into a larger risk.
  • The methodology, the exact scope tested, the test dates, and anything that was planned but not tested, with the reason.

Plan the retest before testing begins

A fix isn't finished until it is verified. Agree up front on whether a retest is included, what it covers, and how long you have to remediate before it happens.

A retest confirms that the original findings were fixed without introducing new problems. The updated report should show the status of each finding, so you can share accurate results with customers or auditors.

Common scoping mistakes

Each of these is cheap to prevent during scoping and expensive to discover in the final report.

  • Testing a staging environment that differs from production in ways that matter.
  • Supplying only one user role, which hides authorization flaws.
  • Setting a testing window that is too short for the size of the scope.
  • Forgetting to tell the people who watch your alerts, which wastes effort on both sides.
  • Treating an automated vulnerability scan as a penetration test.

Where our work fits

  • Authorized penetration testing for web applications, APIs, and external or internal networks.
  • All penetration testing requires written authorization, a signed scope, rules of engagement, approved targets, testing windows, emergency contacts, and stop conditions.

Questions

Should we test staging or production?

Test the environment that answers your question. A staging environment is safer, but its results hold only if it matches production closely: the same code, configuration, identity setup and network controls. When production is in scope, testing windows, rules of engagement and stop conditions matter more, and fragile systems can be excluded or tested with extra care. For how often to test, see the guide to penetration testing types and frequency.

What's the difference between a vulnerability scan and a penetration test?

A vulnerability scan is a broad, largely automated check for known weaknesses. A penetration test is security testing in which evaluators mimic real-world attacks to find ways around a system's security features, as NIST SP 800-115 puts it, and it can chain findings together. PCI DSS keeps them separate: scans at least once every three months, penetration tests at least once every 12 months.

Do we need permission from our cloud or hosting provider?

Check before you test. Cloud and hosting providers often publish testing policies that say what customers may test and what needs advance notice or permission, and any third party that operates a system you want tested must give its own permission. Written authorization from someone with authority over each system in scope comes first.

Primary sources

Related guides

Terms in this guide

More on this site

Information on this website is general and educational. It isn't legal advice, and it doesn't create a client relationship.

Talk through your situation with a practitioner

Every engagement begins with a written scope and proposal.

Security Inspect is not a law firm or a CPA firm and does not provide legal opinions or issue SOC 2 reports. ISO/IEC 27001 certification is performed independently by an accredited certification body. CMMC organization-level assessment authority depends on an active C3PAO listing. Specific PCI services depend on the company’s active PCI SSC program listing and scope.