SC-500 Step by step · Part 9

Zero Attack Paths in Defender CSPM: What It Really Means

Use Defender CSPM attack path analysis, the cloud security explorer and risk-based recommendations to find what an attacker would really use, step by step.

· 6 min read

Defender for Cloud attack path analysis: no attack paths found
Watch the lesson: Part 9: Defender for Cloud posture, attack paths, compliance, plans, multicloud and EASM | SC-500

Defender for Cloud can list hundreds of recommendations for one subscription. Nobody fixes hundreds of things at once, and an attacker does not need hundreds of weaknesses. They need one path: an entry point exposed to the internet that leads to something valuable.

Defender CSPM finds those paths. This article shows how to read it, exactly as we do in Part 9 of the SC-500 course for Pragati Logistics.

How Defender CSPM ranks risk

  • The cloud security graph links every resource, identity, network exposure, vulnerability and sensitive data store.
  • An attack path starts at an internet-exposed entry point and ends at something valuable, such as a database with sensitive data.
  • The cloud security explorer lets you ask your own questions of the graph, for example which VMs with high vulnerabilities can reach a key vault.
  • Risk-based recommendations are the same recommendations, now with a risk level, so you fix the ones on an attack path first.

Exam tip: attack paths and the cloud security explorer need Defender CSPM. Foundational CSPM is free, but gives only recommendations and the secure score.

Step 1: Start from the overview

Open Microsoft Defender for Cloud → Overview. In our lab it showed 42 assessed resources, 14 security alerts from the plans we had turned on, and a secure score of 43%. The score is built from the recommendations, so every fix moves it, which makes it the number to track over time.

Defender for Cloud overview: security posture card with critical recommendations, attack paths and a 43% secure score
The security posture card: critical recommendations, attack paths, recommendations by risk, and the secure score.

Step 2: Read the attack paths

Open Attack path analysis. Ours says no attack paths found.

That is not an error. An attack path needs an entry point exposed to the internet, and by Part 9 there is none left: the VM has no public IP, the web apps sit behind authentication and access restrictions, and the database has no public endpoint. The hardening from Parts 4 to 7 removed the paths.

Attack path analysis: 0 total attack paths, 0 affected resources, no attack paths found
Zero attack paths: no route from the internet to anything valuable.

When a path does appear, it lists the entry point, the target and every step in between. Fix the step that breaks the chain cheapest, often removing a public IP or a permission, not the last resource in the chain.

Step 3: Ask your own question in the explorer

Open Cloud Security Explorer. Templates are a fast start; we used internet-exposed virtual machines with a known critical vulnerability.

Cloud Security Explorer query templates for internet-exposed VMs and containers with critical vulnerabilities
Query templates: each one is a question an attacker would ask about your estate.

Open query builds it for you: virtual machines, that are exposed to the internet, that have vulnerabilities. Select Search.

Query builder: Virtual machines that are exposed to the internet and have vulnerabilities with a CVE ID
The query in the builder. You can change any condition, or add your own, such as "can reach a key vault".

No results: the same proof as the empty attack path list, from another angle.

Step 4: Fix by risk, not by list length

Open Recommendations. Each one now has a risk level, so you start with the riskiest instead of the longest list. Open one, and it shows the affected resources, why it matters, and the remediation steps, often with a Fix button or an Azure Policy to enforce it.

A recommendation for a SQL database with risk level Low, attack paths 0, and remediation actions
A low-risk recommendation on the SQL database: zero attack paths through it, so it can wait behind anything higher.

How you know it worked

Two independent views agree: attack path analysis finds no path, and the explorer finds no internet-exposed VM with a known vulnerability. And the secure score gives you one number to show progress, week after week.

What a tech lead should take away

  • “Zero attack paths” is the headline for the board, not the number of open recommendations.
  • Prioritise by risk level and attack path, then by everything else. That is how a small team keeps up.
  • Pay for Defender CSPM where it earns its keep. In the course it runs on a 30-day trial; outside a lab, it is billed per resource, so decide which subscriptions really need attack paths.

Do it yourself

Lab guides, practice and full mock exams come with a subscription. See the plans