Secure score
Secure score in Microsoft Defender for Cloud helps you to assess and improve your cloud security posture. Secure score aggregates security findings into a single score so that you can tell, at a glance, your current security situation. The higher the score, the lower the identified risk level.
When you turn on Defender for Cloud in a subscription, the Microsoft cloud security benchmark (MCSB) standard is applied by default in the subscription. Assessment of resources in scope against the MCSB standard begins.
Recommendations are issued based on assessment findings. Only built-in recommendations from the MSCB impact the secure score.
Note
Recommendations flagged as Preview aren't included in secure score calculations. They should still be remediated wherever possible, so that when the preview period ends they'll contribute towards your score. Preview recommendations are marked with:
Note
Currently, risk prioritization doesn't affect the secure score.
Viewing the secure score
When you view the Defender for Cloud Overview dashboard, you can see the secure score for all of your environments. The secure score is shown as a percentage value and the underlying values are also presented.
In the Azure mobile app, the secure score is shown as a percentage value. Tap it to see details that explain the score.
Exploring your security posture
On the Security posture page in Defender for Cloud, you can see the secure score all-up for your environments, and for each environment separately.
- You can see the subscriptions, accounts, and projects that affect your overall score, information about unhealthy resources, and relevant recommendations.
- You can filter by environment (Azure, AWS, GCP, Azure DevOps), and drill down into each Azure subscription, AWS account, and GCP project.
How secure score is calculated
On the Recommendations page > Secure score recommendations tab in Defender for Cloud, you can see how compliance controls within the MCSB contribute towards the overall security score.
Each control is calculated every eight hours for each Azure subscription, or AWS/GCP cloud connector.
Important
Recommendations within a control are updated more frequently than the control, and so there might be discrepancies between the resources count on the recommendations versus the one found on the control.
Example scores for a control
In this example.
| Field | Details |
|---|---|
| Remediate vulnerabilities | This control groups multiple recommendations related to discovering and resolving known vulnerabilities. |
| Max score | The maximum number of points you can gain by completing all recommendations within a control. The maximum score for a control indicates the relative significance of that control and is fixed for every environment. Use the max score values to triage the issues to work on first. |
| Current score | The current score for this control. Current score = [Score per resource] * [Number of healthy resources] Each control contributes towards the total score. In this example, the control is contributing 2.00 points to current total secure score. |
| Potential score increase | The remaining points available to you within the control. If you remediate all the recommendations in this control, your score increases by 9%. Potential score increase = [Score per resource] * [Number of unhealthy resources] |
| Insights | Gives you extra details for each recommendation, such as: - - - - |
Understanding score calculations
Here's how scores are calculated.
Security control's current score
Each individual security control contributes towards the secure score.
Each resource affected by a recommendation within the control, contributes towards the control's current score. Secure score doesn't include resources found in preview recommendations.
The current score for each control is a measure of the status of the resources within the control.
In this example, the max score of 6 would be divided by 78 because that's the sum of the healthy and unhealthy resources.So, 6 / 78 = 0.0769
Multiplying that by the number of healthy resources (4) results in the current score: 0.0769 * 4 = 0.31
Secure score - single subscription, or connector
In this example, there's a single subscription, or connector with all security controls available (a potential maximum score of 60 points).
The score shows 28 points out of a possible 60 and the remaining 32 points are reflected in the "Potential score increase" figures of the security controls.
This equation is the same equation for a connector with just the word subscription replaced by the word connector.
Secure score - Multiple subscriptions, and connectors
The combined score for multiple subscriptions and connectors includes a weight for each subscription, and connector.
Defender for Cloud determines the relative weights for your subscriptions, and connectors based on factors such as the number of resources.
The current score for each subscription, a dn connector is calculated in the same way as for a single subscription, or connector, but then the weight is applied as shown in the equation.
When you view multiple subscriptions and connectors, the secure score evaluates all resources within all enabled policies and groups them to show how together they impact each security control's maximum score.
The combined score is not an average; rather it's the evaluated posture of the status of all resources across all subscriptions, and connectors.
If you go to the Recommendations page and add up the potential points available, you find that it's the difference between the current score (22) and the maximum score available (58).
Improving secure score
MCSB consists of a series of compliance controls, and each control is a logical group of related security recommendations, and reflects your vulnerable attack surfaces.
To see how well your organization is securing each individual attack surface, review the scores for each security control. Note that:
- Your score only improves when you remediate all of the recommendations.
- To get all the possible points for a security control, all of your resources must comply with all of the security recommendations within the security control.
- For example, Defender for Cloud has multiple recommendations regarding how to secure your management ports. You need to remediate them all to make a difference to your secure score.
To improve your secure score:
- Remediate security recommendations from your recommendations list. You can remediate each recommendation manually for each resource, or use the Fix option (when available) to resolve an issue on multiple resources quickly.
- You can also enforce or deny recommendations to improve your score, and to make sure your users don't create resources that negatively affect your score.
Secure score controls
The table below lists the security controls in Microsoft Defender for Cloud. For each control, you can see the maximum number of points you can add to your secure score if you remediate all of the recommendations listed in the control, for all of your resources.
| Secure score | Security control |
|---|---|
| 10 | Enable MFA - Defender for Cloud places a high value on multifactor authentication (MFA). Use these recommendations to secure the users of your subscriptions. There are three ways to enable MFA and be compliant with the recommendations: security defaults, per-user assignment, conditional access policy. Learn more |
| 8 | Secure management ports - Brute force attacks often target management ports. Use these recommendations to reduce your exposure with tools like just-in-time VM access and network security groups. |
| 6 | Apply system updates - Not applying updates leaves unpatched vulnerabilities and results in environments that are susceptible to attacks. Use these recommendations to maintain operational efficiency, reduce security vulnerabilities, and provide a more stable environment for your end users. To deploy system updates, you can use the Update Management solution to manage patches and updates for your machines. |
| 4 | Remediate security configurations - Misconfigured IT assets have a higher risk of being attacked. Use these recommendations to harden the identified misconfigurations across your infrastructure. |
| 4 | Manage access and permissions - A core part of a security program is ensuring your users have just the necessary access to do their jobs: the least privilege access model. Use these recommendations to manage your identity and access requirements. |
| 4 | Enable encryption at rest - Use these recommendations to ensure you mitigate misconfigurations around the protection of your stored data. |
| 4 | Encrypt data in transit - Use these recommendations to secure data that’s moving between components, locations, or programs. Such data is susceptible to man-in-the-middle attacks, eavesdropping, and session hijacking. |
| 4 | Restrict unauthorized network access - Azure offers a suite of tools designed to ensure accesses across your network meet the highest security standards. Use these recommendations to manage Defender for Cloud's adaptive network hardening, ensure you’ve configured Azure Private Link for all relevant PaaS services, enable Azure Firewall on virtual networks, and more. |
| 3 | Apply adaptive application control - Adaptive application control is an intelligent, automated, end-to-end solution to control which applications can run on your machines. It also helps to harden your machines against malware. |
| 2 | Protect applications against DDoS attacks - Azure’s advanced networking security solutions include Azure DDoS Protection, Azure Web Application Firewall, and the Azure Policy Add-on for Kubernetes. Use these recommendations to ensure your applications are protected with these tools and others. |
| 2 | Enable endpoint protection - Defender for Cloud checks your organization’s endpoints for active threat detection and response solutions such as Microsoft Defender for Endpoint or any of the major solutions shown in this list. If no Endpoint Detection and Response (EDR) solution is enabled, use these recommendations to deploy Microsoft Defender for Endpoint. Defender for Endpoint is included as part of the Defender for Servers plan. Other recommendations in this control help you deploy agents and configure file integrity monitoring. |
| 1 | Enable auditing and logging - Detailed logs are a crucial part of incident investigations and many other troubleshooting operations. The recommendations in this control focus on ensuring you’ve enabled diagnostic logs wherever relevant. |
| 0 | Enable enhanced security features - Use these recommendations to enable any Defender for Cloud plans. |
| 0 | Implement security best practices - This control doesn't affect your secure score. This collection of recommendations is important for your organizational security, but shouldn’t be used to assess your overall score. |
Next steps
Feedback
Submit and view feedback for