External network penetration testing scope and rules of engagement

Before an external network test starts, the scope, intrusiveness limits, approvals and rules of engagement must be agreed in writing. This page explains each decision and what to ask a provider for.

On this page

Why external network penetration testing scope decides what you learn

The scope and rules of engagement decide what an external network test covers and how far the testers may go. If your organization faces a PCI DSS requirement, a CIS Controls expectation, a customer security review or an insurer's question about an external test, the document you agree before work starts will shape the findings you receive as much as the testing itself. An external test simulates what an internet attacker sees: exposed services, public IP ranges, VPN and mail gateways, web portals, cloud edges and any critical system reachable from public networks. It addresses the risk that an exposed service carries a known weakness, a misconfiguration or an authentication gap that an outsider could reach without any prior access.

Before any testing begins, the planning phase of NIST SP 800-115 requires the rules to be identified and management approval to be documented, with testing goals set. Confirm with your provider which IP ranges, domains and cloud addresses are in scope, who owns each one, and whether third-party hosted assets need their own permissions. Ask for explicit limits on intrusiveness, including whether denial-of-service testing is excluded, whether testers may stop when further action would cause damage, and who must be contacted if a service halts. Agree the testing window, the escalation contacts and the handling of any sensitive data the testers encounter, and record all of it in a signed Rules of Engagement document using the template in Appendix B of the same publication.

Also decide whether the test is overt or covert and whether it runs before or after internal testing. NIST notes that external testing usually comes first, so assessors do not gain insider knowledge an outside attacker would lack. Reviewing these choices with your provider in writing is the most useful step you can take, because it determines whether the report answers the question your auditor, customer or insurer is actually asking.

Which external targets belong in scope

An external test is only as useful as its target list. Each category below is a scoping decision the client makes in writing before testing starts, and each one changes what the tester can reach, what a finding means and who must approve the work.

IP ranges and owned domains

Start from an inventory of public IP ranges, autonomous system assignments and registered domains, then confirm each one is registered to or controlled by the client. Ranges inherited from acquisitions, old data centers or forgotten subdomains are common gaps, so ask the tester to list discovered assets for you to approve before any active probing. Agree which addresses are excluded, such as shared hosting blocks where the client holds only a single address.

Public web portals and login pages

Customer portals, partner gateways, admin consoles and login pages are the most exposed entry points on the perimeter. List each hostname separately, since a single domain can front several applications with different owners and authentication. Confirm whether the test covers only exposed services or also the application logic behind them, because application testing usually needs its own rules of engagement.

VPN and mail gateways

Remote access concentrators, mail gateways and webmail services sit on the perimeter by design and often expose login and management functions. Name each appliance or service, its firmware or software version and its administrative interface. Ask whether the tester may attempt authentication against these services, since credential checks can lock accounts or trigger alerting that the security operations team must know about in advance.

Cloud edges and load balancers

Cloud load balancers, content delivery front ends, object storage endpoints and public API gateways expose internal systems through provider-managed infrastructure. Confirm which resources the client owns in each cloud account and which belong to the provider. Check each hosting provider's published testing rules before listing those assets, because some providers restrict certain test types on their platform without prior notice or approval.

Third-party hosted and managed assets

Assets run by a SaaS vendor, managed service provider or hosting company may look like yours in DNS but sit under someone else's control. Do not include them until the client has written authorization from the operator, or the test may be unauthorized against systems the client cannot approve. Ask the client to identify the contract owner for each such asset and to confirm that the operator permits the planned testing.

Exposed perimeter and critical systems

PCI DSS requirement 11.4.1 describes external testing as covering the exposed external perimeter and critical systems reachable from public networks. CIS Safeguard 18.2 asks for enterprise and environmental reconnaissance, which means the scope should reflect what an outsider can discover, not only the asset list. Ask the tester to document how discovery results were matched against the approved target list, and to name any reachable system outside the list.

CIS Control 18 spec

How scope and rules of engagement are agreed step by step

The sequence turns a request for an external test into a written scope, a signed Rules of Engagement document and a verified retest, with no testing starting until the planning decisions are approved.

  1. Define the testing goals and business purpose

    The buyer states why the test is being commissioned, for example to meet an annual external test requirement, to support a customer security review or to check a new internet-facing service. The provider and buyer agree the testing goals and whether the test is overt, where IT staff know about it, or covert, where only upper management approves it. NIST SP 800-115 notes that covert testing measures the damage an adversary could cause rather than finding every weakness, and overt testing costs less and carries less risk. The step closes with a one-page goals statement signed by the sponsor, which the rest of the scope must match.

  2. Inventory targets and confirm ownership

    The buyer lists the public IP addresses, domain names, cloud edges, VPN and mail gateways and web portals that sit on the internet, and confirms who owns each one. Hosting providers, CDNs and managed service vendors may own some addresses, so the buyer must confirm whether the test needs their permission before it reaches those systems. The provider checks the list against public reconnaissance and records anything it finds that the buyer did not list. The step closes when every in-scope and out-of-scope asset is named with an owner and a written permission status.

  3. Set intrusiveness limits and excluded tests

    NIST SP 800-115 warns that tests that interact directly with systems can cause unexpected halts and denial of service, so the buyer sets an acceptable level of intrusiveness for each asset class. The parties agree which tests are excluded, such as denial-of-service checks or exploitation of fragile legacy systems, and whether testing will stop when a further action would cause damage. The buyer also confirms testing windows and who can halt the test. The step closes with a written list of permitted techniques and a named escalation contact.

  4. Agree approvals and third-party permissions

    Management approval for the test is finalized and documented before any activity begins, as NIST SP 800-115 requires for the planning phase. The buyer obtains written permission from owners of any third-party systems, and the provider confirms the testing rules of any cloud or hosting provider that applies. The provider confirms its testers' identities, the source IP addresses it will test from and how the buyer can recognize that traffic in its monitoring. The step closes with signed approval and an approved source address list.

  5. Sequence external testing ahead of internal testing

    When a buyer plans both external and internal tests, NIST SP 800-115 says external testing usually comes first, so assessors do not gain insider knowledge an outside attacker would lack. The buyer decides the order and the dates of each test, and records any reason to run them in a different order. The provider confirms whether findings from the external test will be shared with the internal team before that test begins. The step closes with an agreed test calendar and a decision on information sharing between the two phases.

  6. Complete the Rules of Engagement document

    The planning output is the Rules of Engagement document. NIST SP 800-115 Appendix B provides a template, and buyers can ask the provider to complete it, covering goals, targets, permitted techniques, exclusions, contacts, testing windows, data handling and reporting. Each section should be specific enough that a reviewer can check the tester's actions against it. The buyer should ask what the provider will do with any credentials or sensitive data found during testing. The step closes when both parties sign the document and it is stored where the incident response team can find it.

  7. Execute discovery, attack and reporting

    Under the agreed rules, the provider moves through discovery, where it identifies hosts, ports, services and weaknesses, then attack, where it validates weaknesses within the permitted limits, and then reporting. The buyer's contact receives notice of any critical exposure as soon as it is found, as the rules require. The provider logs its activity so each finding can be traced back to a test action. The step closes when the provider has stopped testing, removed any test artifacts it created and delivered the draft report.

  8. Retest fixes and close the engagement

    After the client fixes findings, the provider retests the affected assets against the original scope and rules. The retest confirms whether each finding is closed, partly closed or still open, and the report records that result. Any change to scope made during the engagement should be documented in an amended Rules of Engagement and approved again. The step closes with a final report that shows the retest outcome, which a buyer can give to an auditor or customer as evidence of follow-up.

How to set intrusiveness limits and approval paths

Intrusiveness limits decide how far an external test may go into your production systems, and they must be written into the Rules of Engagement before any packet is sent. NIST SP 800-115 warns that testing which interacts directly with systems can cause unexpected halts and denial of service. The organization is expected to set an acceptable level of intrusiveness and may exclude disruptive tests altogether. In practice, that means listing which techniques are permitted against which assets, for example whether password guessing against a VPN portal or exploitation of a discovered service is allowed, and which are excluded because a crash would affect customers. Ask the provider to show, per technique, what it would do and what the worst realistic outcome is on your side.

Decide between overt and covert testing before the start date. NIST SP 800-115 notes that overt testing is less expensive, carries less risk and is used more often. In an overt test, your operations and security staff know the test is running, so an alert from an external IP is recognized and can be triaged. Covert testing runs without the IT staff's knowledge but with upper management's permission, and it measures the damage an adversary could cause rather than trying to find every weakness. Covert work fits only when the question is detection and response, and it needs named executives who hold the authority to stop it. Stop conditions must also be written down: NIST notes a test can be designed to halt when a further action would cause damage. Agree the triggers (for example, a service outage or data exposure beyond the agreed proof), who the tester calls, and who decides whether to resume.

The Rules of Engagement should name the approvers, the emergency contacts and the signatories. Name a business owner who accepts the risk, a technical owner for each in-scope asset or hosting provider, and a 24-hour contact at both sides who can halt the work. Confirm that cloud or hosting providers permit the testing of your assets, since the testing of a provider's own infrastructure is not your decision alone. The Rules of Engagement template in Appendix B of NIST SP 800-115 is a practical starting document to ask the provider to complete. Have the RoE signed by someone with authority over the in-scope systems, and keep a record of changes made during the engagement. Confirm with your provider how emergency contact details are verified and how long the approval chain takes to reach a decision during testing.

How scope, approvals and ordering fit together

The path starts with defining targets and their owners, then setting intrusiveness limits and stop conditions that the tester must respect. Management approval is documented before any testing, which matches the planning phase in NIST SP 800-115. External testing runs first so the assessor starts with the view an outside attacker has, and the findings then feed the internal test. Retesting closes the loop. The diagram is illustrative of the planning phase, not a fixed schedule, and buyers should confirm each hand-off in the signed Rules of Engagement.

Illustrative planning path for an external test, not a fixed schedule.

Should external testing come before or after internal testing?

An external-only engagement tests what an internet attacker can see and reach from outside the perimeter. Because no internal test is planned, the ordering question does not arise, but the scope still has to match the outside view. NIST SP 800-115 describes the planning phase as the point where rules are identified, management approval is finalized and documented, and testing goals are set. For an external test, that means agreeing which public IP ranges, domains and cloud edges are in scope, and which are excluded because a third party owns them.

  • Public footprint: Confirm the list of addresses and names is built from the organization's own asset inventory and public DNS, not assumptions.
  • Intrusiveness limits: Record which techniques are allowed against production edges, such as validation by exploitation, and which are excluded.
  • Stop conditions: Agree in writing when the tester halts an action that could cause damage or denial of service.
  • Third-party systems: Identify hosted services, VPN vendors or mail gateways that need their own authorization before testing.
  • Contact path: Name the people who receive live alerts and who can pause the test.

Check that the rules of engagement state the exact ranges and the stop conditions, because an external test with no written boundaries is hard to defend to an auditor or a customer.

What external scope reviews usually find

This table lists the weakness categories that external scoping reviews tend to surface, what each looks like when you agree target lists and rules, and why it matters for the test. Read it as a checklist of questions to settle before testing starts, since many of these categories change the target list, the intrusiveness limits or the owner who must approve the work.

Weakness categoryWhat it looks like in scope termsWhy it matters
Exposed management interfacesAdministrative consoles, device management pages or remote admin ports reachable from public address space, often missing from the asset inventory the client suppliesThese assets can carry high-impact control paths, so the scope must state whether they are in bounds and who approves testing against them
Forgotten or unowned hostsPublic addresses or domains that resolve to systems no current team claims, such as old test environments, retired projects or hosts registered under former staffTesting a host nobody owns creates approval gaps, so the scope should separate confirmed assets from items that need owner sign-off first
VPN and mail gateway exposureRemote access endpoints and mail relays exposed to the internet, sometimes shared with third-party services or hosted by a provider the client does not operateThird-party hosted components may need the provider's own testing rules or consent, and they often sit at the edge of the agreed boundary
Outdated public servicesInternet-facing services running versions that the vendor no longer supports or that lag current vendor bulletins, identified by version banners or fingerprintingValidation of these findings may be disruptive, so the rules of engagement should define how far a tester may go before stopping
Misconfigured cloud edgesPublic storage endpoints, load balancers, DNS records or cloud gateways whose ownership and account boundaries are unclear, or that sit in accounts outside the scope letterCloud resources can belong to another account or subscription, so the scope must name the accounts and confirm the provider's testing rules apply
Stale DNS and certificate recordsSubdomains, expired or mismatched certificates and dangling DNS entries that point to services no longer in useThese records expand the real attack surface beyond the list of IP ranges, so the scope should state whether discovered names are in scope
Unexpected third-party exposurePublic assets belonging to suppliers, hosting firms or shadow IT that share the client's name or domain spaceTesting assets the client does not own can be unlawful, so each discovered asset should be confirmed in writing before any active check

What PCI DSS and CIS expect from external scope

PCI DSS sets the baseline for what an external test must reach. Requirement 11.4.1 describes external testing as testing the exposed external perimeter and the critical systems reachable from public networks. Requirements 11.4.2 and 11.4.3 then require that testing at least once every 12 months and after any significant infrastructure or application change, performed by a qualified party with organizational independence. That party need not be a QSA or ASV, which means an independent specialist tester can satisfy the requirement, but the assessor still decides whether the scope is defensible. Before work starts, confirm with your QSA or auditor which public addresses, domains, cloud edges and reachable systems they expect inside the boundary, and whether they want the list documented against your asset inventory.

CIS Safeguard 18.2 asks for the same outcome with a different emphasis. It expects external penetration tests at least annually, including enterprise and environmental reconnaissance, which means the tester should first map what is publicly visible before choosing targets. The safeguard accepts either a clear box test, where the tester receives documentation and access details, or an opaque box test, where the tester starts with little or nothing. Decide which approach you are commissioning and write it into the rules of engagement, because an opaque box result does not show what a tester with internal context would find, and a clear box result does not prove what an outsider would reach. Ask the provider to show how the reconnaissance output was reconciled against your asset list, and record any addresses excluded and why.

What the signed scope and the test output give you

A scoped external test produces a set of linked documents, not one report. Each item ties back to the signed Rules of Engagement, so the reader can trace every finding to an agreed target, an approved window and a logged test action.

Completed Rules of Engagement

This is the signed document that records targets, permitted techniques, intrusiveness limits, testing windows, emergency contacts and stop conditions. NIST SP 800-115 provides a Rules of Engagement template in Appendix B that buyers can ask a provider to complete. Check that every IP range and domain named in it matches the asset list, and that management approval is recorded before testing starts.

NIST SP 800-115

Scope and asset list

This lists the public IP addresses, domains, cloud edges and exposed services that were in scope, along with any assets excluded and the reason for each exclusion. Ask for it to be dated and version-controlled. A test of an address range that has since changed owners or moved to a cloud provider is a common source of disputes, so the list should note how ownership was confirmed.

Approvals log

This records who approved the test, what they approved, and when, including any change to scope made during the engagement. It also shows whether third-party hosts or cloud providers were notified where their rules required it. Auditors and customers often ask for this record first, because it shows the test was authorized rather than run informally.

Findings report with risk ratings

The report lists each validated finding with its affected asset, a risk rating, the reasoning behind that rating and specific mitigation steps. Confirm that it separates confirmed exploitable issues from scanner output that was not validated. Ask how the rating method is defined, since an unexplained rating gives the remediation team little to act on.

Logs behind each finding

These are the timestamps, source addresses, tool output and screenshots that support each finding and show what the tester actually did. They let your team reproduce the issue for remediation and let an assessor confirm the activity happened within the agreed window. Ask how long the provider retains them and how they are delivered.

Retest letter

After fixes are applied, the provider retests the agreed findings and issues a letter stating which were resolved, which remain open and under what evidence. Confirm whether retest is included in the quote. A report supports an auditor only when its scope and dates match the environment the auditor is assessing, so confirm acceptance of the full package with your assessor before you rely on it.

Questions buyers ask before scoping an external penetration test

How much does the scope affect the cost and duration of an external test?

Scope is the largest cost driver, because the tester's effort follows the number of targets, the services exposed on them and the depth of validation you ask for. A short list of public IP addresses with a few web portals takes less work than a wide estate with mail gateways, VPN endpoints, cloud edges and third-party-hosted services, each needing its own checks and sign-off. Ask the provider to price against a written target list, and to state how they will handle targets discovered during reconnaissance that were not on your list. NIST SP 800-115 treats planning as the phase where rules and goals are set, so most of the effort and cost debate belongs there, before any testing begins. The NIST publication page is the natural starting reference for that planning discussion.

What does my team need to prepare before an external network test starts?

Your team needs to confirm the target list, the approval chain, the testing window and the contacts who can stop the test. Prepare the IP ranges and domains in scope, the owners of each asset, and a list of systems that must not be touched or that run fragile legacy software. Agree who at management level signs the Rules of Engagement and who on the operations side receives alerts, so the test is not mistaken for a real intrusion. Also confirm whether your intrusion detection or managed security provider should be told, and whether any change freeze applies. Under NIST SP 800-115, management approval is finalized and documented in planning, so the signed document is a prerequisite, not a formality.

Can our own team run an external penetration test internally?

Your team can run scanning and some validation, but an independent penetration test is usually carried out by an external party with organizational independence. PCI DSS requirement 11.4.3 allows the external test to be done by a qualified internal resource only where the requirement's independence conditions are met, and you should confirm those conditions against the current standard and your assessor's expectations. Internal staff also know the environment too well to test it the way an outsider would. If you go this route, document the qualifications, separation of duties and the reporting line, and ask your assessor whether the result will be accepted. Consider DeployOpen's penetration testing service if you need an independent external provider, with the scope and approvals set out in writing before work starts.

How often should an external network penetration test be repeated?

At least once every 12 months is the common baseline, and CIS Controls v8.1 Safeguard 18.2 asks for external tests at least annually. PCI DSS requirement 11.4.3 also requires a retest after any significant infrastructure or application change, so a new VPN gateway, a migrated web portal or a new cloud edge should trigger a test regardless of the calendar. Organizations with frequent change often add targeted tests between annual cycles. Agree the trigger conditions in the Rules of Engagement so the provider knows what counts as a significant change and how it will be communicated. Confirm the requirement wording with your assessor or framework owner before setting the schedule.

What if an external target is hosted by a third party?

A system hosted by a cloud provider, SaaS vendor or hosting company may require that company's permission before it is tested, and that permission is not yours to assume. Start by listing every target and its hosting provider, then check each provider's published testing rules and whether they require notice or prohibit certain tests. Where the provider does not permit testing, agree a documented exclusion or a test of only the parts you control, such as your configuration on a shared platform. The Rules of Engagement should name who approves third-party testing and record any exclusions, so the gap is visible to your auditor. Confirm each provider's current policy directly, since terms change.

How do stop conditions work during an external penetration test?

Stop conditions are the rules that tell the tester when to pause or halt a specific action, and they are agreed in writing before testing. NIST SP 800-115 notes that tests which interact directly with systems can cause unexpected halts and denial of service, so organizations should set acceptable intrusiveness and can exclude disruptive tests. Typical conditions include halting any action that would cause damage, excluding denial-of-service techniques, and defining who is notified and within what time when a critical issue or outage occurs. Define the named contacts, the escalation path and how the test resumes after a stop. Ask the provider to show the stop procedure in the Rules of Engagement template, which NIST includes in Appendix B.

Is a vulnerability scan the same as an external penetration test?

No. A vulnerability scan identifies known weaknesses from banners, versions and configuration checks, and it stops at reporting what it finds. An external penetration test adds planning, reconnaissance and validation, where the tester confirms which findings are exploitable, what an attacker could reach and how far the access would go, within the limits you set. NIST SP 800-115 groups scanning under target identification and analysis techniques and separates it from target vulnerability validation, which is where penetration testing sits. Many buyers need both, and a scan alone will not meet a requirement that asks for penetration testing. Ask the provider to state which techniques they use and where validation stops.

How DeployOpen scopes, tests, reports and retests external networks

DeployOpen treats the written scope and rules of engagement as the foundation of every external network test, agreed before any traffic reaches the perimeter. We then test within those limits, document results in a form your security and audit teams can use, and retest the fixes.

How we scope

  • Scope is written before work starts, listing public IP ranges, domains, cloud edges and exposed services in or out of bounds.
  • The rules of engagement record permitted techniques, intrusiveness limits, excluded disruptive tests and the stop conditions agreed with your team.
  • Engagements are fixed-scope, so deliverables, timelines and approvals are documented in writing before testing begins.

How we build

  • Testing follows the planning, discovery, attack and reporting phases from NIST SP 800-115, with each phase tied to the agreed rules.
  • Reconnaissance and service identification are limited to assets you have approved, with changes to the target list recorded in writing.
  • Validation by exploitation stops where the agreed rules require, and contact is made immediately if a finding threatens production availability.

How we hand over

  • The report sets out identified weaknesses, risk ratings, mitigation guidance and the logs and evidence behind each finding.
  • Findings are written so your security team can assign fixes and your auditor can trace each test step to the agreed scope.
  • Results are reviewed with your engineers so remediation priorities reflect your own environment and exposure.

How we support

  • Retesting confirms that fixes for agreed findings work as described, and the retest outcome is documented in writing.
  • Ongoing support, upgrades and continuous testing are available as retainers when external exposure changes frequently.
  • Scope changes after a test, such as new public services, are agreed in writing and handled as a new or amended engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.