Assume a breach: How a single vulnerability at an MSP granted access to multiple customers

More and more organizations are outsourcing their IT infrastructure to a Managed Service Provider (MSP). An MSP manages critical components such as servers, workstations, networks, and storage. Active Directory is often used to manage user accounts, permissions, and access control.
Broadly speaking, there are two ways an MSP can manage its clients’ infrastructure. The first is to set up a completely separate infrastructure for each client. This offers customization and enhances security, as each client environment is isolated. The second option is a shared infrastructure, in which multiple clients use the same systems and resources. This is cost-effective but introduces additional complexity and security risks.
A major challenge in shared infrastructures is dealing with outdated systems and configurations. Active Directory may contain legacy elements that have arisen from long-term use and support for older client environments. The more clients there are with varying requirements and systems, the greater the risk of vulnerabilities and incompatibility. These elements increase the attack surface, especially when an error or vulnerability at one client affects others.
In this blog post , we describe a realistic scenario carried out by our subsidiary, RedTeam. In this scenario, a shared Active Directory environment was compromised, resulting in access to multiple client environments connected to the same infrastructure.
"Assume a Breach" in Practice
The penetration test was conducted using an “assume breach” approach. This approach assumes that an attacker already has access to a system within the internal network. Examples include a successful phishing attack or an insider threat, such as when an employee’s workstation has been compromised. This type of scenario is of great importance because it provides insight into what a malicious actor can actually accomplish once they are inside.
Initial Access
Initial access was gained by logging in with user privileges similar to those of an intern. The login credentials were provided by the client. The initial reconnaissance of the network revealed few immediate attack vectors, partly due to the segmentation measures that had been implemented earlier.
Lateral movement
During further network reconnaissance, RedTeam discovered a vulnerability in the internal network. This vulnerability was exploited to establish a connection from the customer’s location to other networks. This allowed RedTeam to gain access to parts of the network connected to the MSP’s data center.
Operation
With the MSP's explicit permission, the investigation continued within this network. During the investigation, a vulnerability was discovered that allowed domain administrator privileges to be obtained. With these privileges, RedTeam gained full control over the Active Directory domain.
Further investigation revealed that all of the MSP's customers were housed within the same Active Directory domain. This allowed RedTeam to move laterally to other customer environments, gaining access, among other things, to other customers' files.
A malicious actor could follow this same path. The impact of this is significant: consider large-scale ransomware attacks, the theft of confidential documents, or serious reputational damage to both the MSP and the affected customers.
Is Your MSP a Risk?
Using a shared infrastructure with an MSP entails risks, including the threat of supply chain attacks. That is why it is essential to critically assess whether these risks also apply to your organization.
It starts with transparency: Do you know how your MSP has set up the infrastructure? Are environments kept separate? And are vulnerabilities detected and resolved in a timely manner?
Our subsidiary, RedTeam, emphasizes the importance of regularly evaluating Active Directory and network architecture. This is especially crucial in environments where multiple customers share the same infrastructure, as it helps maintain control over security and manage risks.
Testing Your IT Environment
Curious about what an "assume breach" penetration test could uncover in your organization? Or would you like to gain insight into the resilience of your IT services?
Our subsidiary, RedTeam, conducts realistic penetration tests based on current attack techniques. These tests are fully controlled and accompanied by clear reports, so you know exactly where you stand.