Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

defender-xdr

Skill by vinayaklatthe

Guides security teams through Microsoft Defender XDR, which correlates signals across endpoints, identities, email and cloud apps into single incidents. It covers onboarding, incident investigation, KQL hunting, custom detection rules and attack disruption. Aimed at teams running detection and response from one Microsoft portal.

  • Score 57
  • 183 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install defender-xdr

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills /tmp/microsoft-security-skills && mkdir -p ~/.claude/skills && cp -r /tmp/microsoft-security-skills/skills/defender-xdr ~/.claude/skills/defender-xdr

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install defender-xdr in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives guidance for Microsoft Defender XDR, a unified extended detection and response suite. The source says it correlates signals across endpoints, identities, email and cloud apps into prioritised incidents with attack-graph context. It covers onboarding the four core workloads, incident investigation, advanced hunting in KQL, custom detection rules, automatic attack disruption, AIR and unified RBAC.

The skill maps each type of signal to its source workload and lists the licence it needs. It sets out a step-by-step approach and guardrails, such as onboarding MDE, MDI, Entra ID Protection and MDO before claiming XDR coverage. It also recommends running attack disruption in report-only mode for 14 days before enforcing. It is aimed at teams who want coordinated detection and response across the Microsoft 365 estate from one portal, rather than investigating each workload on its own.

Written from the project's SKILL.md and checked against it.

What it can do

  • Workload onboardingExplains the order to onboard MDE, MDI, Entra ID Protection, MDO and optionally MDA.
  • Unified RBACGuides building custom roles scoped by data source and permission level in Defender XDR.
  • Incident investigationDescribes investigating by incident and using the attack graph to view the kill chain.
  • Automatic attack disruptionExplains how high-confidence attacks can be contained and how to roll it out in report-only mode.
  • Advanced huntingCovers querying the shared schema in KQL, such as DeviceEvents and IdentityLogonEvents.
  • Custom detection rulesDescribes turning hunting queries into custom detection rules with entity mappings.
  • AIR configurationCovers setting remediation level per device group, from No remediation to Full.
  • Coverage reviewRecommends a monthly review using the MITRE ATT&CK coverage view to find blind spots.

What you need

  • Access to the Microsoft Defender XDR portal (security.microsoft.com)
  • Microsoft 365 E5 or MDE P2 licence for endpoint signals
  • Microsoft 365 E5 or EMS E5 licence for Defender for Identity
  • Entra ID P2 for Entra ID Protection

Try asking

  • What are the first Defender XDR controls to enable for a new Microsoft 365 tenant?
  • Walk me through investigating a multi-stage incident using the attack graph.
  • Write an advanced hunting KQL query to find suspicious PowerShell across devices.

Good to know

  • Not for SIEM log ingestion or custom KQL detections from third-party sources; the source points to the sentinel skill.
  • Not for merging Sentinel into the Defender portal; the source points to unified-secops-platform.
  • Not for endpoint-only EDR policy tuning; the source points to defender-for-endpoint.
  • The source recommends a 14-day report-only period before enforcing attack disruption.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/defender-xdr/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to defender-xdr

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

defender-xdr: common questions

What is Microsoft Defender XDR?

The source describes it as a unified extended detection and response suite that correlates signals across endpoints, identities, email and cloud apps. It groups them into prioritised incidents.

Which workloads does Defender XDR correlate?

The source names Defender for Endpoint, Defender for Identity, Entra ID Protection, Defender for Office 365 and Defender for Cloud Apps. It also lists Defender for Cloud for Azure resource alerts.

When should I not use this skill?

The source says not to use it for SIEM log ingestion or custom KQL detections from third-party sources. It also says not to use it for endpoint-only EDR.

How do I install defender-xdr?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is defender-xdr free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is defender-xdr safe to use?

It scores 57 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to defender-xdr?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

defender-xdr Install

Add to stack

Loading.