CISSP-115 · Lesson 2 of 12 · 28 min
Designing and validating assessments: scope, rules of engagement and authorization
Most assessment failures are planning failures. A penetration test that knocks over a production database, a scan that floods a fragile medical device, a consultant who tests the wrong IP range and probes a neighbour's network, a report that answers a question nobody asked: each of these traces back to a missing scope statement, unclear rules or absent authorization. This lesson covers the planning that turns a test from a risky activity into a controlled, legal and useful one. It applies equally to internal tests, hired consultants and audits.
The planning documents go by many names, such as statement of work, test plan, rules of engagement, letter of authorization or engagement letter, but they answer the same questions. Why are we testing? What exactly is in and out of scope? What methods are allowed, and when? Who can authorize, who must be informed, and who can stop the test? How will sensitive data and findings be protected? What will the deliverable look like? Getting written answers before work begins protects the organization, the testers and anyone else whose systems might be affected.
Objectives and questions
Every assessment starts with an objective expressed as a question the results will answer. Good objectives are specific and tied to a decision. 'Can an external attacker with no credentials reach customer payment data?' leads to a different test from 'Does our cloud configuration meet the Centre for Internet Security benchmark?' or 'Would our staff report a convincing phishing email within an hour?' Vague objectives such as 'test our security' produce long reports full of low-value findings and leave the important question unanswered.
Objectives also determine the type of test and the level of knowledge given to testers. In a black-box (zero-knowledge) test, testers start with only public information, simulating an outside attacker; this is realistic but spends much of the budget on discovery. In a white-box (full-knowledge) test, testers receive architecture diagrams, source code and credentials, which gives the most thorough coverage per hour. Grey-box (partial-knowledge) testing sits between, for example giving testers a normal user account to simulate a compromised employee. Separately, a test is announced (blue team aware) or unannounced (only a few leaders know), the latter testing detection and response as well as prevention. The exam often describes these in terms of knowledge given to the tester and knowledge given to defenders.
| Term | Tester knowledge | Defender knowledge | Best for |
|---|---|---|---|
| Black box (zero knowledge) | Public information only | Varies | Realistic external attacker view |
| Grey box (partial knowledge) | Some credentials or documents | Varies | Insider or compromised-account scenarios |
| White box (full knowledge) | Full documentation, code, credentials | Varies | Maximum coverage per hour |
| Announced (overt) | Varies | Security team informed | Safe testing of prevention controls |
| Unannounced (covert) | Varies | Only executives and a trusted agent | Testing detection and response |
| Double blind | Zero knowledge | Defenders not informed | Most realistic exercise of people and tools |
Scope: in, out and boundaries
The scope statement lists exactly what may be tested: IP ranges and host names, applications and their environments, cloud accounts and subscriptions, physical locations, people and processes for social engineering, and any third-party services. Equally important is what is out of scope: production systems that cannot tolerate disruption, systems owned by other parties, specific attack types such as denial of service, and any data the testers must not access. Boundaries should be explicit enough that a tester who finds a new host can tell instantly whether it is in scope; when in doubt, they stop and ask.
Third-party and cloud systems need special care. An organization can authorize testing only of assets it owns or controls. A cloud provider's shared infrastructure, a payment processor's systems or a software-as-a-service application belong to someone else, and testing them without that party's permission may breach contracts and the law. Major cloud providers publish penetration testing policies that allow customers to test their own resources within limits, often prohibiting denial-of-service testing and attacks on the provider's underlying platform; read the current policy before scoping. For a hosted service, the provider's own assessment reports, such as a SOC 2 report, usually replace direct testing.
Worked problem
Tightening a scope statement
A hospital's draft scope reads: 'Test the hospital network and website for vulnerabilities.' Identify what is missing.
Show solution
- The network should be defined by address ranges and named segments, with medical devices and clinical systems explicitly in or out.
- The website may be hosted by a provider; ownership and the provider's permission must be confirmed.
- Allowed techniques must be listed, and denial-of-service and destructive actions explicitly excluded near patient care.
- Testing windows, contacts, data handling rules and the stop procedure are absent.
- Social engineering, physical testing and wireless are neither included nor excluded.
Answer: The scope needs defined targets, ownership confirmation, allowed and forbidden techniques, windows, contacts, data rules and an explicit position on social, physical and wireless testing.
Rules of engagement
Rules of engagement (RoE) translate scope into operating instructions. They cover permitted and prohibited techniques; testing windows (for example, outside business hours for disruptive scans, or business hours only so staff are available if something breaks); rate limits for scanning; how credentials and accounts provided for testing will be handled and removed; what testers do if they find evidence of a real compromise or illegal content (stop and escalate immediately); how and to whom critical findings are reported during the test rather than waiting for the final report; and the emergency stop procedure. They also name points of contact on both sides, with out-of-hours phone numbers.
Data handling deserves its own section. Testers may encounter personal information, health records, card numbers or trade secrets. The rules should require minimum necessary access (prove access with a screenshot of a record count, not a download of the table), encryption of any evidence held, retention limits, and secure destruction at the end. Where privacy law applies, the engagement is a disclosure of personal information to a service provider, so contracts should include the protections that law requires.
Written authorization
Written authorization is the single most important document in any intrusive test. It is signed by someone with authority over the assets, such as the system owner or an executive, and states who may test what, when, and by what means. Testers carry it, sometimes literally as a 'get out of jail' letter during physical tests, so that if a guard or the police intervene, the authority is clear. Without it, a well-intentioned tester may be committing an offence, and an employee who 'just ran a quick scan' may be disciplined or prosecuted.
In Canada, the main offences are in the Criminal Code. Section 342.1 makes it an offence to fraudulently and without colour of right obtain a computer service, intercept a function of a computer system, or use a computer system with intent to commit those or certain mischief offences. Section 430(1.1) creates mischief in relation to computer data: destroying or altering data, rendering it meaningless, or obstructing or interfering with its lawful use. Section 184 deals with interception of private communications. Authorization from the owner is what gives a tester colour of right. Canada has no general statutory safe harbour for good-faith security research (as of our October 2026 check), so private researchers and consultants rely on contracts and written permission. Some provinces and organizations run vulnerability reporting programs with their own terms; Alberta, for example, publishes one.
Authorization must come from the right person. A department head cannot authorize testing of another department's systems, and nobody inside the organization can authorize testing of a supplier's systems. If an engagement involves social engineering of employees, human resources and legal should approve the approach, and in unionized workplaces collective agreements may also apply. For physical tests, building owners and landlords may need to consent, and guards' managers should know how to verify the letter.
Worked problem
An authorization gap
Midway through an approved external test, a tester discovers that the company's customer portal is hosted by a third-party provider and that a second, unlisted IP address responds on the same domain. What should happen?
Show solution
- Stop testing the portal and the unlisted address immediately; neither is clearly within the authorized scope.
- Report the discovery to the client contact named in the rules of engagement.
- The client must confirm ownership; if the provider owns the infrastructure, the client must obtain the provider's permission or accept its existing assessment reports.
- Only after written amendment of the scope and authorization can testing resume.
Answer: Stop, notify, and resume only with a written scope amendment covering assets the client is entitled to authorize.
Safety, change management and communication
Even authorized tests can cause harm. Scans can crash older systems, account lockout policies can lock out real users when testers guess passwords, and exploitation can leave systems unstable. Mitigations include testing in a staging environment that mirrors production where possible, taking backups beforehand, using safe scanner profiles for fragile devices such as industrial control systems and medical equipment, rate limiting, and scheduling around business peaks. Intrusive tests should go through the change management process like any other change, so the operations centre knows what to expect and can tell a test from a real attack.
Communication plans decide who is told what. For announced tests the security operations centre is informed, and testers' source addresses are shared so alerts can be recognized. For unannounced tests, a small 'white cell' or trusted agent knows, so that a real response can be stopped before police are called or customers are notified. Either way, the plan should say how testers identify themselves if challenged and how a suspected real incident discovered during testing is handled. A test must never mask a real attack.
# Checking a list of discovered hosts against the authorized scope
import ipaddress
scope = [ipaddress.ip_network(n) for n in ('203.0.113.0/26', '198.51.100.16/28')]
excluded = [ipaddress.ip_address(a) for a in ('203.0.113.10',)] # fragile legacy server
found = ['203.0.113.5', '203.0.113.10', '203.0.113.70', '198.51.100.20', '192.0.2.44']
for h in found:
ip = ipaddress.ip_address(h)
if ip in excluded:
status = 'OUT: explicitly excluded'
elif any(ip in n for n in scope):
status = 'in scope'
else:
status = 'OUT: not authorized, stop and ask'
print(f'{h:15s} {status}')203.0.113.5 in scope 203.0.113.10 OUT: explicitly excluded 203.0.113.70 OUT: not authorized, stop and ask 198.51.100.20 in scope 192.0.2.44 OUT: not authorized, stop and ask
The output shows why explicit scope matters: two of five discovered hosts may not be touched, one because it is fragile and one because it lies outside the authorized ranges. Professional testers run checks like this before every action, and well-run engagements keep an activity log with timestamps and source addresses so that any incident can be matched to, or ruled out from, the test.
Validating assessment design and quality
Before signing an engagement, a manager should validate that the design will answer the objective. Are the testers qualified, with relevant certifications and references? Does the method follow a recognized standard such as NIST SP 800-115, the Penetration Testing Execution Standard (PTES) or the Open Source Security Testing Methodology Manual (OSSTMM)? Is the time budget realistic for the scope? Will findings be risk-rated in a way the organization uses? Are retesting and a management summary included? Is insurance in place? These questions belong in procurement as much as in security.
After the test, validation continues: were all scoped items actually tested, and were limitations recorded? A good report states what was not covered and why, for example because an application was unavailable for two days. Without that statement, readers will assume coverage that never happened.
Common mistakes
MistakeStarting a test with verbal permission from a manager.
InsteadObtain written authorization from someone with authority over every in-scope asset.
MistakeTesting a cloud provider's or supplier's systems because your data is on them.
InsteadTest only what you own or control, under the provider's published policy or with its permission.
MistakeDefining scope as "the network".
InsteadList ranges, hosts, applications, locations and people, plus explicit exclusions.
MistakeWaiting for the final report to mention a critical exposure.
InsteadAgree an immediate notification path for critical findings.
MistakeDownloading sensitive records to prove access.
InsteadProve access with minimal evidence and protect any data handled.
MistakeRunning intrusive tests outside change management.
InsteadSchedule them as changes so operations can recognize and support them.
Summary and key terms
- Assessments begin with a specific objective tied to a decision.
- Tester knowledge (black, grey, white box) and defender knowledge (announced, unannounced) are separate design choices.
- Scope lists exactly what is in and out, including cloud, third-party, social and physical targets.
- Rules of engagement set techniques, windows, data handling, critical-finding notification and the stop procedure.
- Written authorization from the asset owner is the essential legal protection for testers.
- Intrusive tests need safety measures, change management and a communication plan.
- Validate the design, the testers and the report's coverage statement.
- Scope
- The defined set of assets, people and processes an assessment may examine, with explicit exclusions.
- Rules of engagement
- Operating instructions for a test: techniques, timing, contacts, data handling and stop procedures.
- Written authorization
- A signed document from the asset owner permitting specified testing.
- Black-box test
- A test in which testers start with only public information.
- White-box test
- A test in which testers receive full documentation, code and credentials.
- Grey-box test
- A test with partial knowledge, such as a normal user account.
- Double-blind test
- A test in which testers have no knowledge and defenders are not told.
- White cell
- The small group that knows about an unannounced test and can stop or deconflict it.
- Colour of right
- An honest belief in a legal right to act, which written authorization supports in Canadian criminal law.
- Safe harbour
- A promise not to pursue legal action against good-faith researchers who follow stated rules.
Practice problems
Work each problem on paper first, then reveal the answer to check.
What is the difference between a black-box and a white-box test?
Show answer
Black-box testers have only public information; white-box testers have full documentation, code and credentials.
What does an unannounced test measure that an announced test does not?
Show answer
Detection and response by defenders.
Who can authorize testing of a software-as-a-service application your company uses?
Show answer
Only the provider; your company can rely on its assessment reports or seek its permission.
Name three items rules of engagement should include.
Show answer
Any three of: permitted techniques, windows, contacts, data handling, critical-finding notification, stop procedure.
What should a tester do on finding evidence of a real intrusion?
Show answer
Stop and escalate immediately through the agreed contact.
Why put intrusive tests through change management?
Show answer
So operations can plan, recognize the activity and respond if something breaks.
How should a tester prove access to a database of personal records?
Show answer
With minimal evidence such as a record count or screenshot, not by downloading data.
Name two recognized testing methodologies.
Show answer
Any two of NIST SP 800-115, PTES, OSSTMM, the OWASP Web Security Testing Guide.
Why should a report state what was not tested?
Show answer
Otherwise readers assume coverage that did not happen.
What protects a tester legally more than anything else?
Show answer
Written authorization from the owner of the assets.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.