How to Protect Your Cloud Environment from Supply Chain Attacks
Published 10/14/2021
This blog was originally published by Wiz here.
Written by Josh Dreyfuss, Wiz.
Recently, the Wiz research team hosted a webinar titled “How to Protect Your Cloud Environment from Supply Chain Attacks.” In this post, we’ll share a recap of what the team covered.
To start with, just a quick look at supply chain attacks at a high level. Supply chain attacks occur when attackers gain access to a 3rd party vendor’s software. By breaching the 3rd party and inserting malicious code, it lets attackers get into more secure targets and get access to thousands of organizations that use that vendor solely through their one breach.
The cloud has introduced new risks and attack vectors
The cloud brings a wide range of benefits for organizations, but it is a fundamentally different world than on-prem. As a result, we’ve seen a rise of new types of risks and attack vectors in cloud environments. One that has seen increasing notoriety over the past few years is supply chain attacks. While supply chain attacks are not specific to the cloud (one of the most famous being the SolarWinds attack for example), the cloud has brought new considerations to supply chain attacks.
One example of this is OMIGOD. The OMIGOD vulnerabilities highlighted a new type of consideration with supply chain risks: vulnerabilities on software that you didn’t choose to be in your environment in the first place.
There are two major types of supply chain risks in the cloud
The cloud environment has the classic supply chain risk (software-based, from 3rd party vendor), but they look different in the cloud world. Because the cloud is more complex, more agile, and has more compute types, it’s exceedingly hard to do asset management, which exacerbates the difficulties with handling software-based supply chain risks.
In addition, there’s another type of supply chain risk that's new to cloud: identity-based supply chain risk. This type of risk arises not from installing 3rd party software in your environment, but instead from granting permissions within your environment to 3rd parties.
Software-based supply chain risks are different in the cloud
When it comes to the cloud, software comes in many different form factors. In a standard environment, it’s common to have 3rd party agents running on VMs, as well as 3rd party AMI images, container images, and/or Lambda functions.
With all of these different forms of 3rd party software, it becomes difficult to monitor and track even what you’ve deployed in the cloud intentionally. Not to mention that OMIGOD showed us that sometimes 3rd party software is being run for you by your cloud provider – meaning that you didn’t put it in there intentionally! Wiz research showed that approximately 60% of surveyed environments were affected by OMIGOD, making this sort of risk widespread.
All these elements mean that creating and maintaining a cloud asset inventory is a huge challenge for security teams. And without such an inventory, it’s easy to miss insecure 3rd party software in your cloud environment.
Identity-based supply chain risk is new and serious
Beyond new looks for familiar supply chain risks, the cloud brings with it an entirely new type of supply chain risk: identity-based. Identity-based supply chain risk comes from granting excessive permissions to 3rd party vendors.
Wiz performed an analysis of 1500 AWS accounts, looking for the 40 most popular 3rd party vendors, and found some compelling statistics. Nearly everyone relies on 3rd party vendors for some element of their environment: Wiz research shows that only 4% of organizations have not granted permissions to 3rd party vendors. The risk doesn’t come from granting permissions themselves however; it comes from granting excessive permissions. 82% of environments had at least one vendor with overly high permission levels. 76% had one or more vendor with permissions that gave full control over the customer’s cloud, which represents a major ATO risk.
The takeaway here is that it’s quite common to grant excessive privileges to 3rd party vendors, and also very hard for security teams to detect these privileges. That’s a bad combination.
What can you do about supply chain risks?
To properly mitigate supply chain risks, security teams need a cloud supply chain strategy. Each organizations’ strategy will have some unique elements, but there are a few common approaches that should be adopted:
- Detect: Create a process for detecting 3rd party risk – asset inventory, visibility into effective permissions. Need to understand what’s in your environment as a starting point
- Certify: Add internal processes for analyzing and approving 3rd party vendors. Ensure that you review 3rd party vendors before they’re added. Check for the policies/permissions they need
- Reduce risk: Implement a consistent solution for reducing risk of software-based and identity-based supply chain risks. For software-based, it’s a cloud asset management solution. Security teams must have visibility into these software assets and continuously analyze them to ensure that they are properly patched and performing as expected. For identity-based, it's implementing an ability to analyze identities in environments, and ensuring that vendors have the most limited form of access that still lets them accomplish their function
Watch the full webinar to further explore these topics and learn about three deep dive examples of common excessive privileges that contribute to identity-based supply chain risks, and how to mitigate them.
Related Articles:
The Evolution of DevSecOps with AI
Published: 11/22/2024
It’s Time to Split the CISO Role if We Are to Save It
Published: 11/22/2024
CSA Community Spotlight: Nerding Out About Security with CISO Alexander Getsin
Published: 11/21/2024
Establishing an Always-Ready State with Continuous Controls Monitoring
Published: 11/21/2024