Lesson 1 of 9 · 20m
Scoping and Rules of Engagement: The Work Before the Work
How professionals define targets, timing, permissions, safety limits, and emergency contacts before a single packet is sent.
The difference between a penetration tester and a trespasser is paperwork. Not glamourous paperwork either: target lists, excluded systems, approved hours, data-handling rules, and the phone number of someone who can authorize you to stop. Most careers in this field are not ended by weak technical skills. They are ended by a tester who scanned the wrong /24 because the client casually said "the marketing subnet."
Scope is a boundary, not a vibe
A useful scope answers five questions in writing: what may be tested, what may not be tested, when testing is allowed, which techniques are allowed, and who can make decisions during the engagement. "All internet-facing assets" is not a scope. Neither is "the production network."
In scope:
- 203.0.113.16/28 assigned to Example Industries public services
- portal.example-industries.test and api.example-industries.test
- VPN gateway vpn.example-industries.test, authentication only
Out of scope:
- payroll.example-industries.test
- 198.51.100.0/24 third-party managed network
- Denial-of-service testing, social engineering, physical access
Testing window:
- 2026-03-09 09:00 through 2026-03-13 18:00 America/New_YorkUse real documentation formats and insist on explicit ownership. If the client cannot prove they control a third-party service, assume you are not allowed to test it.
Rules of engagement are operational controls
The rules of engagement turn scope into behavior. They cover scan intensity, credential handling, evidence retention, exploit restrictions, and communication cadence. A good RoE says whether password spraying is allowed, how many attempts per hour are acceptable, and what happens if you stumble onto personal data.
engagement:
timezone: America/New_York
daily_status: "16:30 Eastern, email to security@example-industries.test"
stop_conditions:
- production degradation reported by client
- access to regulated cardholder data
- evidence of active third-party compromise
password_spraying:
permitted: true
max_attempts_per_account_per_hour: 2
lockout_monitoring: required
exploit_constraints:
no_destructive_payloads: true
no_data_exfiltration: true
proof_file: "/tmp/pentest-proof.txt"Notice the stop conditions. They matter more than the tool list. If your exploit causes a payment outage and the client screams, "Why are you still testing?" the answer cannot be "the PDF did not say to stop."
Verify the scope technically
Before the engagement, validate ownership and asset attribution. Look up netblocks, certificate transparency records, DNS delegations, and cloud tenant identifiers. Ask the client to confirm a canary token or DNS TXT record. This catches the classic failure mode: the client still thinks they own infrastructure they migrated away from years ago.
whois 203.0.113.16
dig +short TXT verification.example-industries.test
curl -s https://crt.sh/?q=%25.example-industries.test&output=jsonwhois output, certificates, DNS records, and cloud metadata are all evidence. Save the commands, timestamps, and raw output. You may need to prove that a target was genuinely attributed to the client before you touched it.
Field notes
- Never rely on a verbal "yes, that is ours." Ownership confirmation belongs in the signed scope.
- Ask what "no denial of service" means specifically; some clients consider aggressive vulnerability scanning disruptive.
- Put cloud-hosted third parties in a separate scope section. Their terms of service may apply even when the client owns the data.
- Know who can approve scope expansion in minutes, not days. Otherwise expansion requests become quiet unauthorized testing.
Was this lesson helpful?