Capabilities of Microsoft Security Solutions · Topic 3 of 5
Defender for Cloud and CSPM
SC-900 Microsoft Defender for Cloud: cloud security posture management, secure score, recommendations, regulatory compliance and cloud workload protection plans.
- 5 min
- Defender for Cloud covers Azure, other clouds and on premises resources.
- CSPM finds misconfigurations before attack, and gives recommendations and a secure score.
- CWP detects threats on running workloads, through Defender plans.
What it is
Microsoft Defender for Cloud is a tool that improves the security of your cloud resources and protects them from threats. It works for Azure, and also for resources in AWS, Google Cloud and on premises servers. It was formed by combining the earlier Azure Security Center and Azure Defender.
It does two jobs, and the exam expects you to keep them apart: posture management, which finds weak settings before an attack, and workload protection, which detects attacks on running resources.
How it works
Cloud security posture management (CSPM)
CSPM continuously checks your resources for misconfigurations and risks, and tells you how to fix them. A virtual machine with an open management port, a storage account open to the public, or a database with no encryption are the kind of findings it reports.
- Recommendations list the problems, ranked by importance, with steps to fix them.
- Secure score turns the findings into a percentage. The more recommendations you complete, the higher it rises, so it shows your posture at a glance and over time.
- Security policies and standards define what is checked. The default is the Microsoft cloud security benchmark, and you can add standards from other frameworks.
- Regulatory compliance dashboard measures your resources against standards such as PCI DSS, ISO 27001 and CIS benchmarks, and shows where you fall short.
Free, basic posture features are included. The paid Defender CSPM plan adds more, such as attack path analysis, which shows how an attacker could chain weaknesses to reach a valuable resource, and a cloud security explorer to query your environment.
Cloud workload protection (CWP)
Workload protection detects and responds to threats on resources that are running. It is delivered through Defender plans, each aimed at one kind of resource.
| Plan | Protects |
|---|---|
| Defender for Servers | Virtual machines and servers, including those on premises and in other clouds |
| Defender for Storage | Storage accounts, against malware and suspicious access |
| Defender for Databases | SQL databases and open source databases |
| Defender for Containers | Container registries and Kubernetes clusters |
| Defender for App Service | Web apps hosted in Azure App Service |
When a plan finds an attack, it raises a security alert with details and suggested action.
Posture compared with protection
| CSPM | CWP | |
|---|---|---|
| Purpose | Find and fix weaknesses before an attack | Detect and respond to attacks as they happen |
| Output | Recommendations and secure score | Security alerts |
| Question it answers | Are my resources configured securely? | Is something attacking my resources? |
Defender for Cloud and other tools
Defender for Cloud assesses the security of cloud workloads. It is not a SIEM. Microsoft Sentinel collects and correlates data from many sources to detect threats across the whole organisation. The two work together, because Defender for Cloud alerts can feed Sentinel.
A worked scenario
A team runs virtual machines and storage in Azure and some servers in another cloud. Defender for Cloud scores their environment at 52 percent and lists recommendations, such as closing an exposed management port and turning on encryption. As the team completes them, the secure score rises. The regulatory compliance dashboard shows which controls from a payment card standard are still failing. The team also turns on Defender for Servers, so that when malware runs on a virtual machine, the system raises an alert.
Connecting resources
Resources in Azure are covered by turning on Defender for Cloud for the subscription. Servers outside Azure, such as on premises machines, are connected through Azure Arc. Other clouds are added with connectors for AWS and Google Cloud, so one dashboard shows the posture of all of them.
Recommendations compared with alerts
| Recommendation | Security alert | |
|---|---|---|
| Comes from | Posture management | Workload protection |
| Means | A weakness that could be fixed | A suspected attack that is happening or has happened |
| Example | A virtual machine has an open management port | Suspicious process running on a server |
| Response | Apply the fix, and the secure score rises | Investigate and respond |
Features of server protection
Defender for Servers includes features that reduce the attack surface of virtual machines. Just in time VM access keeps management ports closed and opens them only for a short time to approved users who request it. Adaptive network hardening suggests tighter network security group rules based on the traffic that really flows. Endpoint detection and response is provided through Microsoft Defender for Endpoint.
Where the standards come from
The default standard is the Microsoft cloud security benchmark, which maps controls to well known frameworks. When you add industry standards, the regulatory compliance dashboard shows how many controls pass and which resources cause failures, so you know what to fix.
What to remember for the exam
- Defender for Cloud covers Azure, other clouds and on premises resources.
- CSPM finds misconfigurations before attack, and gives recommendations and a secure score.
- CWP detects threats on running workloads, through Defender plans.
- The regulatory compliance dashboard checks resources against standards.
- Attack path analysis is a Defender CSPM feature.
"Before an attack" and "misconfiguration" point to CSPM. "Detect a running attack on a server" points to workload protection.
How the exam asks about this
- "Measure the overall security posture as a percentage." Secure score.
- "Find misconfigured resources and recommend fixes." CSPM.
- "Detect an attack on a virtual machine." Cloud workload protection, such as Defender for Servers.
- "Which feature checks resources against PCI DSS?" The regulatory compliance dashboard.
Common mistakes
Expecting CSPM to detect running attacks. That is workload protection.
Confusing Defender for Cloud with Sentinel. Defender for Cloud improves workload posture. Sentinel correlates data from many sources.
Thinking it covers Azure only. It also covers other clouds and on premises servers.
Mixing up secure score and compliance score. Secure score is in Defender for Cloud and Microsoft Defender XDR. Compliance score is in Purview Compliance Manager.
Check yourself
What does CSPM do?
It continuously assesses resources for misconfigurations and recommends fixes to improve posture.
What is secure score?
A percentage that measures your security posture, rising as you complete recommendations.
Which part of Defender for Cloud detects threats on running servers?
Cloud workload protection, through Defender plans such as Defender for Servers.
Topic 3 of 5 in Capabilities of Microsoft Security Solutions
Test yourself on Capabilities of Microsoft Security Solutions
The full Microsoft SC-900 question bank has 503 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Microsoft. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.