logo

Pentest Rules of Engagement Template

A complete rules of engagement document — authorization, scope tables, permitted techniques, data handling, escalation and sign-off — ready to copy. No email required.

What rules of engagement cover

Rules of engagement (RoE) are the written boundary of a penetration test: who authorized it, what's in and out of scope, which techniques are allowed, how data is handled, and who picks up the phone when a tester finds something critical at 2 a.m. This template covers all of it in copyable Markdown — fill it in per engagement alongside the contract.

The RoE is what makes a pentest legal and an identical set of actions without one a crime. It's also the document both sides reach for when something unexpected happens mid-test — which is why the escalation section matters as much as the scope section.

The template

Penetration Test — Rules of Engagement

Client:
Testing provider:
Engagement reference:
Version / date:

This document records what is authorized, by whom, within which limits. It supplements (does not replace) the signed services agreement.

1. Authorization

FieldValue
Authorized by (name, role)
Authorization date
Testing window (start – end, timezone)
Permitted testing hourse.g. 24/7, or business hours only

The signatory confirms they have authority over all in-scope systems. For systems hosted by third parties (cloud, SaaS, managed hosting), the client confirms testing is permitted under the provider’s policy.

2. Scope

In scope

AssetIdentifier (URL / IP / range)EnvironmentNotes

Out of scope

AssetReason

Anything not listed as in scope is out of scope.

3. Test type and approach

FieldValue
Test typeWeb app / API / external network / internal / mobile / cloud
ApproachBlack box / grey box / white box
Test accounts providedroles and credentials delivery method
Source IPs used by testers

4. Permitted and prohibited techniques

Permitted (adjust per engagement):

  • Vulnerability scanning and enumeration
  • Manual exploitation of identified vulnerabilities
  • Password attacks against in-scope authentication (rate-limited)
  • Post-exploitation on compromised in-scope hosts
  • Phishing / social engineering (only if explicitly ticked)

Prohibited unless separately authorized in writing:

  • Denial-of-service testing of any kind
  • Destructive actions (deleting data, modifying production records)
  • Social engineering of staff, physical intrusion
  • Pivoting to systems not listed in scope
  • Testing from undeclared source IPs

5. Data handling

  • Accessed data is viewed only to the extent needed to demonstrate impact.
  • Extracted evidence is minimized, stored encrypted, and deleted after report acceptance (retention period: ).
  • Credentials and sensitive records in evidence are redacted in the report.

6. Communication and escalation

RoleNameContactWhen
Client primary contactScheduling, scope questions
Client emergency contactCritical findings, incidents — reachable during testing hours
Provider lead tester

Critical findings (remote code execution, exposed credentials, evidence of a prior compromise) are reported within [X hours] of confirmation, before the final report.

If testing causes instability: testing on the affected system stops, the emergency contact is informed, and testing resumes only with client approval.

7. Deconfliction

  • Client teams aware of testing (SOC, on-call, hosting provider):
  • Monitoring alerts expected and how they’ll be recognized as test traffic:

8. Sign-off

PartyNameRoleSignatureDate
Client
Provider

The clauses that prevent real incidents

Three sections do the heavy lifting. The authorization block confirms the signatory actually controls the systems — testing a SaaS vendor's platform because a client listed it in scope has ended badly more than once. The out-of-scope list with the catch-all ('anything not listed is out of scope') prevents scope drift during the test. And deconfliction — telling the SOC and declaring tester source IPs — prevents the test from triggering a genuine incident response, with on-call engineers paged over authorized traffic.

Scope itself deserves its own thinking before it lands in this document: the guide to scoping a pentest covers how to decide what goes in the in-scope table, and the penetration testing checklist covers what the test does within those lines.

RoE, contract, and authorization letter

Three documents, often confused. The services agreement is the commercial contract — payment, liability, confidentiality. The rules of engagement (this document) are the operational boundaries per engagement. An authorization letter ('get out of jail' letter) is a short signed statement testers carry proving the work is sanctioned — mostly for physical and on-site work. Small engagements fold the RoE into the statement of work; the content still needs to exist somewhere signed. What happens after the boundaries are set is covered in the penetration testing guide.

Rules of engagement FAQ

From signed RoE to delivered report

PentestPad manages the engagement that follows — findings, evidence, client collaboration and retests.

logo-cta