Jump to content

A Proactive Approach to Cloud Security Posture Management with Microsoft Defender for Cloud


Recommended Posts

Guest Yuri Diogenes
Posted

Introduction

 

 

In this blog, I discuss the importance of proactive security posture management, how security teams can be organized for security posture management, how roles and responsibilities can be divided among the teams. I further discuss what a person with proactive security posture responsibilities needs to do and how to do it by leveraging Microsoft Defender for Cloud’s Attack Path capabilities.

 

Security Posture Management

 

 

when it comes to reduce the attack surface. The Cloud Security Posture Management team needs to t. This will require more investments in proactive measures that can anticipate potential attacks. Having a proactive approach will help prevent risks from brewing into bigger problems and facilitate better culture and communication between Devops and security teams, so that Open SSL vuln. type of issue wouldn't happened as often.

 

Enterprises may have different approaches for organizing security functions and assigning roles and responsibilities. In the article How to organize your security team: The evolution of cybersecurity roles and responsibilities, Microsoft suggests the following functions to represent a fully populated enterprise security team:

 

 

 

largevv2px999.jpg.03ab7c4f8392d9b23f86fda0c8c32060.jpg

 

Posture Management in this diagram is shown as a function that cross many areas. Since this function is evolving, it might be the responsibility of a dedicated team, or it might be provided by other teams. The diagram below has an example of how Posture Management teams can operate to have a bigger impact in the overall security posture of their cloud workloads:

 

 

 

largevv2px999.jpg.05e48010e6cda24444116a23ddd7b4d4.jpg

 

 

 

Posture Management Core Functions should be able to assign dedicated team members that can perform the following roles and responsibilities:

 

  • Posture Management Core Functions
    • Track Secure Score improvement overtime.
    • Create Governance rules and assign remediation tasks to workload owners.
    • Track existing tasks to see what’s on time and what’s not and if there are “red” ones to address.
    • Ensure that all lessons learned are shared with the Cloud Governance Team so they can create guardrails in the beginning of the pipeline to avoid workloads that are not using security best practices be provisioned.

    [*]Proactive Hunting (although the term Hunting is usually used for Threat Hunting, this function is more related to SOC activities as shown in the first diagram)

    • Proactively use the Attack Paths to ensure all critical paths are remediated.
    • Proactively use Cloud Security Explorer to hunt for new vulnerabilities and misconfigurations in the environment.
    • Proactively fine-tune the recommendations with specific insights (for example: disk encryption for VMs or storage encryption but you want to start with those that have internet exposure or have specific or any vulnerabilities)

 

While this is a proposal breakout of tasks and responsibilities, nothing stops you from having all those tasks belonging to a single team and assigning those tasks to different team members. It is up to you and your organization’s needs how you will manage this. The important aspect to remember is that you need to tackle all tasks to ensure that you are not only continuously remediating security recommendations but also proactively finding areas of improvement in your overall cloud security posture.

 

Proactive Hunting

 

 

Members of the CSPM Hunting Team have one main goal to accomplish: proactively hunt for points of entries to reduce the attack surface and decrease the likelihood of compromise. Keep in mind that points of entries can be external (publicly accessible through the Internet), but also internal (when dealing with internal malicious actors).

 

Identifying potential points of entry

 

 

To proactively hunt for points of entries and reduce the attack surface, security posture managers can start their day by visiting the Microsoft Defender for Cloud Attack Path dashboard and reviewing the total attach paths. Below is a screen shot showing an example of the Attack path dashboard:

 

 

 

largevv2px999.jpg.071ad84118ddc8cea98c23980b13fa30.jpg

 

 

 

One of the main advantages of the Attack Path is that it looks for points of entries and lateral movement not only in Azure, but also in AWS and GCP. If you don’t have Defender for Cloud monitoring your multicloud environment, make sure to visit the following resources to learn how to configure:

 

 

Each attack path represents a scenario that you should be aware, and this scenario has the following breakdown:

 

 

 

largevv2px999.jpg.5b4889f5aa1f744df2eefc2f97eef245.jpg

 

 

 

By reading the scenario, you immediately know that you have one public point of entry, that can be used to exploit the target (VM) due to the high severity vulnerabilities that are open on that VM. Once there, the threat actor has a communication path that can lead to read access in another target (Key Vault). Now the full picture of this attack path appears once you click on it, and you have the full analysis of the potential attack that can take place, as show below:

 

 

 

largevv2px999.jpg.14111d744c068860878f17b6df66b8b9.jpg

 

 

 

With this visualization you can clearly see what can potentially happen. As you look at this path, noticed that some elements contain a light bulb with a list on top of it, as shown below:

 

 

 

largevv2px999.jpg.8f28c3c7b975bba9bbdc774be5d475f0.jpg

 

 

 

This means that once you click on this object you will see extra insights as well as the recommendations associated with this workload, as shown below:

 

 

 

largevv2px999.jpg.fd761b43401694a28d82c2d59f166004.jpg

 

 

 

Now the team has a complete picture of:

 

  • Which resource can potentially be compromised.
  • Why this resource is exposed.
  • What are the open recommendations that must be addressed and actions that could be taken.

 

With this information, one of the team members can start working on the remediation of this resource using the remediation steps associated with the recommendations.

 

Proactive hunting vulnerable workloads

 

 

Another activity that the CSPM Hunting Team needs to do is to ensure that they are at least one step ahead of threat actors. To do that, they need to ensure that they are proactively working to identify potential areas of compromise.

 

For example, one Proactive Hunting team member read an article about a crypto mining campaign that targets specifically Kubernetes environments. According to his research, there was a learning about what differs this attack from other crypto mining attacks is its scale: within only two hours a malicious container was deployed on tens of Kubernetes clusters. Threat actors can exploit Kubernetes environment by scanning the Internet to try to find exposed dashboard, upon gaining access to a single container in the cluster they can use the internal networking of the cluster for accessing the dashboard and legitimate browsing to the dashboard using cloud or cluster credentials (note: this attack campaign was first documented here). A simple mitigation for this is to ensure that role-based access control is used on Kubernetes services.

 

The team member now wants to create a custom search to see if there are Kubernetes services that are not using RBAC and if the external access to those Kubernetes are not hardened via IP Address. To accomplish this in a matter of seconds, the team can use the Cloud Security Explorer, and create a custom search as shown below:

 

 

 

largevv2px999.jpg.ea06cf0331759de2e3f5e6c4a6b9581c.jpg

 

 

 

With this custom search the team was able to quickly identify the workloads that could be potentially compromised by this attack campaign. Now they just need to click on the recommendation and remediate.

 

Conclusion

 

 

The threat landscape is continuously evolving, and organizations must prioritize security hygiene to ensure they are decreasing the attack surface of their workloads. To do that, it becomes imperative to use a proactive approach for cloud security posture management, and Microsoft Defender for Cloud brings the capability to do that across a multicloud environment in a fast and comprehensive manner.

 

 

 

Additional Resources

 

 

If you are using Attack Path and Cloud Security Explorer and want to share your feedback with the Defender for Cloud Team, please e-mail us directly from here. You can also use the resources below to learn more about these capabilities:

 

 

 

 

Reviewers

 

Meital Taran- Gutman, Principal GPM (Defender for Cloud)

 

Denis Mizetski, Principal PM Lead (Defender for Cloud)

 

Mekonnen Kassa, Principal GPM (CxE Defender for Cloud)

 

Thomas Zou, Product Marketing Manager (Defender for Cloud)

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...