What’s In and What’s Out? Why Scope Matters

In cybersecurity and information security, the word scope appears almost everywhere. It is defined for ISO 27001 implementation, penetration testing, security assessments, vulnerability assessments and other reviews. In each case it means something slightly different, but the underlying question is the same: what is included, and what is not?

This is not just an administrative decision to record before a project starts. Scope determines what will be reviewed, what the assessment actually applies to and what can ultimately be concluded from the result. It is equally important to define what remains outside the scope. If the boundaries are unclear, it is easy to end up with a result that looks more complete than it really is.

Scope is not the same as a list of systems

The simplest way to think about scope is as a list: a few IP addresses for a penetration test, a specific application for a security assessment or one business unit for ISO 27001. In practice, the boundaries rarely stop at that list.

An application may depend on a separate API, an external identity provider or an administrative interface. A business process may take place at one location while employees also process relevant data elsewhere. A system may be hosted by a cloud provider while the organization still manages accounts, access and security settings. One subnet may be listed for testing while a service critical to its operation sits somewhere else.

A good scope therefore does not only answer what is on the list. It also requires an understanding of how parts of the environment are connected and where their actual boundaries lie.

In penetration testing, scope defines what may be tested

In penetration testing, scope has a very practical meaning. Before testing begins, it must be clear which systems, applications, IP ranges, domains, APIs or other components may be tested. It must be equally clear what is excluded.

Scope is not only about organizing the work. It also defines the boundaries of authorization. The tester needs to know where testing is permitted, which activities are allowed and whether any systems or techniques need to be excluded. A scope that is too narrow may mean that a web application is tested while the API handling an important part of its functionality is not. Several public IP addresses may be reviewed while another service, equally exposed to the internet, is missed simply because it was not on the original list.

The result of such a test is not necessarily wrong. It simply describes what was tested, not the entire environment.

The opposite problem appears when the scope is unclear or too broad. Time can then be spent on systems that are not relevant to the purpose of the test, or the tester may reach third-party infrastructure that was never covered by the authorization. Good preparation therefore includes consciously excluding parts of the environment as well as defining what is included.

You cannot test what you have not found

Web and application security testing has another problem: what the organization believes to be in scope and what actually makes up the application surface are not always the same thing.

If the initial list does not include a particular endpoint, supporting application, old subdomain or administrative interface, that part of the system may remain completely outside the assessment. This is one reason discovery and information gathering matter before deeper testing begins. Only once you understand what actually exists can you judge whether the agreed scope matches the environment being tested.

This does not mean the tester should expand the agreed scope without approval. If preparation or discovery reveals a system that was not originally expected, it should be clarified whether it needs to be added or remains outside the assessment. The fact that it exists may itself be relevant to understanding the overall exposure.

ISO 27001 has a different scope, but the same boundary problem

In ISO 27001, scope does not define what someone is allowed to attack. It defines the boundaries of the information security management system. An organization may decide that the ISMS covers the entire company or only a defined part of the business, but it must be clear which activities, locations, processes and organizational units are included.

If an organization includes a particular business unit in scope, that does not mean it can ignore the external services on which that unit depends. If employees use centrally managed accounts, a cloud service or infrastructure maintained by an external IT provider, those dependencies still need to be understood. The same applies to locations. A scope may identify one office, but if relevant data and processes regularly extend beyond that location, an address alone does not describe the whole boundary.

This does not mean that every connected service, supplier or location automatically needs to be brought into the ISMS scope. What matters is being able to explain why something is included, why something is not and how dependencies that cross the ISMS boundary are managed.

For organizations that are only starting to establish an ISMS, this is one of the areas worth reviewing through an ISO 27001 ISMS GAP Analysis. If the boundaries are unclear from the beginning, the same uncertainty later affects risk assessment, controls, responsibilities and documentation.

Excluding something is not the problem if you know what you are excluding

Scope is sometimes treated as something that should always be expanded to make an assessment more thorough. That is not necessarily true.

Testing an entire infrastructure does not make sense if the real objective is to assess one new application before production. An ISO 27001 ISMS does not necessarily need to cover the entire legal entity if a justified and clearly defined scope exists. A Vulnerability Assessment also does not need to include every device in the organization if the assessment is focused on a specific part of the infrastructure.

The problem is not that something has been excluded. The problem starts when nobody knows it was excluded, or when the limitations under which the result was produced are forgotten afterwards.

There is a significant difference between saying that a penetration test went well when only one application was tested and saying the same when the application, API, external infrastructure and authentication flows were all included. Likewise, an ISO 27001 certificate for a clearly defined part of the business is not the same as claiming that the entire organization is covered by that ISMS.

Locations, suppliers and cloud services can blur the boundaries

Boundaries were easier to describe when business systems were located in an internal server room, employees worked from one office and applications ran on a small number of known servers. Modern environments often no longer have such clear physical boundaries.

Users work from different locations. Identities may be managed in one cloud, the business application hosted in another, backups stored with a third provider and administration handled by an external IT company. In that kind of environment, neither “our network” nor “our office” is enough to describe the security boundary.

Scope therefore needs to reflect what matters for the specific objective of the assessment. In ISO 27001 this may include business activities, locations and dependencies. In penetration testing it may mean specific systems, applications, APIs and permitted techniques. In vulnerability assessment it may be defined segments of infrastructure or internet-facing systems. The boundaries are not the same, but in every case they need to be understood before the result can be interpreted properly.

A good scope determines the value of the result

A security assessment can be technically well executed and still answer the wrong question if the initial scope was poorly defined. The same is true for an ISMS that is thoroughly documented but whose boundaries do not reflect how the organization actually operates.

Defining scope should therefore not be reduced to the first list of systems sent to the assessor or a few sentences in documentation. Before work begins, it is necessary to understand what the organization is trying to achieve, which parts of the environment affect that objective and whether any dependencies make the originally proposed boundary misleading.

A good scope is not the largest possible scope. It is one whose boundaries can be explained and justified. You need to know what is inside, what is outside and why. Only then does the result of a security assessment or implementation mean what you think it means.

Sources:

NIST SP 800-115 – Technical Guide to Information Security Testing and Assessment
OWASP Web Security Testing Guide – Information Gathering
ISO/IEC 27001 – Information security management systems

Need an independent security assessment or support with an ISO 27001 project?

AresISEC provides penetration testing, vulnerability assessments and support for establishing an information security management system in line with ISO 27001.

Scroll to top