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-for-office-365

Skill by vinayaklatthe

Guides Microsoft Defender for Office 365 setup for email and collaboration security. Covers plan selection, preset policies, Safe Links, Safe Attachments, impersonation protection and SOC triage. Written for Microsoft 365 admins and security teams.

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

Install defender-for-office-365

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-for-office-365 ~/.claude/skills/defender-for-office-365

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

Step-by-step: install defender-for-office-365 in Claude Code

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

About

The defender-for-office-365 skill gives an AI assistant guidance for Microsoft Defender for Office 365 (MDO). MDO protects email and collaboration workloads such as Teams, SharePoint and OneDrive against phishing, malware, spoofing and business email compromise. The skill covers choosing between Plan 1 and Plan 2, applying Standard and Strict preset security policies, and configuring Safe Links, Safe Attachments and anti-phishing impersonation protection.

It also covers configuration analyzer drift checks, DMARC rollout, tenant allow and block lists, the Submissions portal, Threat Explorer hunting, AIR and attack simulation training. The skill lists guardrails and common anti-patterns, such as avoiding permanent allow entries and mail flow rule exceptions. It is aimed at administrators and security operations staff who manage Exchange Online mail flow and Microsoft 365 collaboration.

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

What it can do

  • Plan selectionCompares MDO Plan 1 and Plan 2 capabilities and the SKUs that include them.
  • Preset policy guidanceAdvises applying Standard preset to all users and Strict preset to high-risk groups.
  • Safe Links and Safe AttachmentsExplains time-of-click URL protection and attachment detonation settings.
  • Impersonation protectionAdvises which executives and partner domains to add to impersonation protection.
  • Configuration analyzerChecks configuration drift against the Standard or Strict preset.
  • Email authenticationGuides SPF, DKIM and DMARC rollout from p=none toward p=reject.
  • Submissions and Threat ExplorerCovers triaging user-reported phish and hunting messages across the tenant.
  • Attack simulation trainingPlans quarterly phishing simulations and assigns training to clickers only.

What you need

  • Microsoft Defender for Office 365 Plan 1 or Plan 2 licence
  • Exchange Online mail flow
  • Access to the Microsoft 365 admin centre and security portal

Try asking

  • Apply the Standard preset to all users and Strict preset to executives and finance.
  • Configure DMARC for our domain and move from p=none to p=reject in 90 days.
  • Compare our current MDO settings against the Strict preset using configuration analyzer.

Good to know

  • Tenant allow entries are temporary, with a 30-day maximum.
  • Impersonation protection should list about 5-15 named users, according to the source.
  • Threat Explorer and AIR require MDO Plan 2.

Security check

A

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

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

Alternatives to defender-for-office-365

All alternatives →

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

defender-for-office-365: common questions

What is Microsoft Defender for Office 365 used for?

The source says MDO protects email and collaboration workloads against phishing, malware, spoofing and business email compromise. It includes preset policies, Safe Attachments, Safe Links, Threat Explorer and attack simulation training.

Which Defender for Office 365 plan includes Threat Explorer?

According to the source, Threat Explorer, AIR, attack simulation training and automated investigation are part of MDO Plan 2. Plan 1 covers Safe Links, Safe Attachments and anti-phishing.

Should I use preset policies or custom policies?

The source recommends presets because Microsoft updates them automatically. It says custom policies should be used sparingly because each one becomes a maintenance commitment and a possible source of drift.

How do I install defender-for-office-365?

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

Is defender-for-office-365 free?

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

Is defender-for-office-365 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-for-office-365?

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

defender-for-office-365 Install

Add to stack

Loading.