2 Dec 2026

How to Scope and Run an Authorized Penetration Test for Your Business, Step by Step

A penetration test without a signed scope and rules of engagement is a legal liability, not a security service. The real steps, in the order they actually happen.

A penetration test is only as legitimate as the paperwork behind it. Skip the scoping and authorization steps, and what you’re left with — whatever the technical quality of the work — isn’t actually an authorized security test. Here’s the real sequence, in the order it actually happens.

Step 1: Define exactly what’s being tested

Specificity decides everything at this stage. “Test our web app” isn’t a scope; “test the production customer portal at app.example.com, including the customer and admin roles, excluding the third-party payment iframe” is. The scope should name:

  • The exact systems, applications, IP ranges, or domains included
  • User roles to be tested (a standard customer account tests very differently from an admin account)
  • What’s explicitly excluded — just as important as what’s included, and the detail most often skipped

Step 2: Separate the scope, the rules of engagement, and the commercial terms

These are three different documents answering three different questions, per both NIST SP 800-115 and the Penetration Testing Execution Standard (PTES) — the scope defines what, the rules of engagement (RoE) define how, and the statement of work covers price and deliverables. A firm that bundles all three into one vague paragraph is already a warning sign about how carefully the rest of the engagement will be run.

Step 3: Set the rules of engagement

The RoE is where the operational detail lives:

  • Testing windows and blackout periods — agree explicitly on when testing can and can’t happen (never during your busiest sales period, for instance).
  • Named emergency contacts on both sides — someone who can be reached immediately if testing causes an unexpected issue.
  • Explicit allowed and disallowed techniques — is social engineering (phishing your staff) in scope? Are denial-of-service-style tests allowed, or strictly prohibited given production risk? Destructive payloads that could corrupt data need their own explicit yes/no.
  • Credentials and access levels provided to the tester, and exactly how they’ll be stored and destroyed afterward.

Step 4: Get written authorization from someone who actually owns the systems

This has to come from a person with genuine authority over the assets being tested — not just “someone in IT agreed.” Testing without clear, documented authorization is a real legal and contractual risk, not just a formality, in almost every jurisdiction. Both the business and the tester need this signed document before anything else happens.

Step 5: Finalize and sign everything before testing begins

Senior management on your side and the lead tester on the vendor’s side should both sign off on the scope and RoE specifically — not just the overall contract — before the first test begins. This is the point where ambiguity gets caught and resolved cheaply, rather than discovered mid-engagement.

Step 6: The actual testing

A credible firm will tell you, in plain language, how much of the work is manual versus automated-scanner-driven — a fully automated scan repackaged as a “penetration test” is one of the most common ways buyers get less than they paid for. Ask specifically how findings get validated: a confirmed, exploited vulnerability (with real evidence — a screenshot, an extracted record, a working proof-of-concept) is a different thing from a suspected weakness that wasn’t actually exploited, and your report should clearly distinguish the two.

Step 7: The report, remediation, and retest

The deliverable should include clear severity ratings, real evidence for each confirmed finding, and specific, actionable remediation guidance — not just a list of problems. A reputable firm includes a free retest of the specific issues found, to confirm your fixes actually closed the gap rather than just changed its shape.

Penetration test scoping checklist

  • Target systems, applications, and user roles are named specifically, with explicit exclusions listed
  • Scope, rules of engagement, and statement of work exist as separate, clearly signed documents
  • Testing windows, blackout periods, and named emergency contacts are agreed in writing
  • Allowed/disallowed techniques (social engineering, DoS-style testing, destructive payloads) are explicitly addressed, not assumed
  • Written authorization is signed by someone with actual ownership authority over the systems being tested
  • The report distinguishes confirmed, exploited findings from suspected-but-unvalidated weaknesses
  • A free retest of confirmed findings is included in the engagement

Key takeaways

An authorized penetration test is a legal and procedural process first, and a technical one second — the scope, rules of engagement, and written authorization are what turn “someone trying to break into our systems” from a crime into a legitimate security service. Getting these right before testing starts is what protects both your business and the firm you hire, and it’s the single clearest signal of whether a vendor actually runs a professional engagement.

Shahid Security’s Penetration Testing service follows exactly this sequence — a signed scope and rules of engagement before any testing begins, manual exploitation (not just automated scanning), and a free re-test included.

Want a real, properly scoped penetration test instead of a scanner report with a cover page? Book a free consultation.


Sources: NIST SP 800-115, PTES — Pre-engagement Interactions, DeepStrike — Penetration Testing Scope, NetSPI — 10 Questions to Ask Penetration Testing Companies Before You Buy.

FAQ

Is written authorization actually necessary if we trust the firm we hired?

Yes, without exception. Trust in the firm isn't the issue — legal and contractual protection is. Attempting to access computer systems without explicit, documented authorization from someone who actually owns those systems can constitute a criminal offense under laws like Pakistan's PECA 2016 or equivalent computer-misuse statutes elsewhere, regardless of good intent on either side. A signed authorization protects both the business (confirming exactly what was approved) and the tester (proof the access was legitimate) if anything is ever questioned later, including by a third party like a cloud or hosting provider who notices the testing traffic.

What's the difference between the scope, the rules of engagement, and the statement of work?

They answer three different questions, and conflating them is a common, costly mistake. The scope defines what is tested — specific systems, applications, IP ranges, and explicitly what's excluded. The rules of engagement (RoE) define how it's tested — testing windows, blackout periods, allowed and disallowed techniques (is social engineering in scope? Are denial-of-service-style tests allowed?), and named emergency contacts on both sides. The statement of work covers the commercial terms — price, timeline, and deliverables. A reputable firm keeps these as separate, clearly signed documents rather than one vague paragraph covering all three.

How do we know if a finding is real or just a theoretical possibility?

Ask the firm directly how they validate findings before they appear in your report — a credible methodology distinguishes a confirmed, exploited vulnerability (with evidence: a screenshot, an extracted record, a proof-of-concept) from a suspected weakness that wasn't actually exploited due to scope or risk constraints. Both are worth reporting, but they carry very different urgency, and a report that doesn't clearly separate the two makes it hard to prioritize remediation correctly.

Shahid Iqbal

Written by Shahid Iqbal

Founder & Cybersecurity Consultant, Shahid Security