Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Defender for Office 365 hardening

Hardens Microsoft Defender for Office 365 with a check for each step, so phishing and spoofed mail stay out.

What we improved

Fixed the policy precedence error. The original suggested a custom policy "with priority above preset", which Microsoft 365 does not allow: Strict and Standard presets always take precedence over custom policies, so a custom policy only app

Improved by YourAISkill from the original by vinayaklatthe, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Practical MDO hardening guide with correct preset precedence, Enhanced Filtering, TABL discipline and an Exchange Online PowerShell verify command for each step.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Guidance for Microsoft Defender for Office 365 (MDO) — protection for email and collaboration (Teams, SharePoint, OneDrive) against phishing, malware, spoofing, and business email compromise. Covers Plan 1 vs Plan 2 selection, preset security policies (Standard/Strict), Safe Links, Safe Attachments, anti-phishing impersonation protection, configuration analyzer drift detection, Submissions portal triage, Threat Explorer hunting, AIR, and attack simulation training. WHEN: Defender for Office 365, MDO, email security policy, Safe Links, Safe Attachments, anti-phishing, anti-spoofing, impersonation protection, preset security policies, Standard preset, Strict preset, configuration analyzer, phishing protection, attack simulation training, Threat Explorer, Submissions portal, tenant allow block list, BEC, business email compromise, DMARC, MDO Plan 1 vs Plan 2. DO NOT USE for endpoint protection (use defender-for-endpoint) or M365 oversharing (use purview-copilot-oversharing).

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: defender-for-office-365
description: "Hardening and operating Microsoft Defender for Office 365 (MDO), which protects Exchange Online mail, Teams, SharePoint and OneDrive against phishing, malware, spoofing and business email compromise. Covers Plan 1 versus Plan 2, preset security policies (Standard and Strict) and how they override custom policies, Safe Links, Safe Attachments, impersonation protection, SPF, DKIM and DMARC, Enhanced Filtering when a third-party gateway sits in front, Tenant Allow/Block List discipline, configuration analyzer drift checks, user-reported phish and the Submissions page, Threat Explorer, AIR and attack simulation training, with Exchange Online PowerShell checks for each step. Use for MDO plan or preset decisions, email security policy design or review, phishing and BEC hardening, DMARC rollout, or SOC triage of email threats. Not for endpoint protection (Defender for Endpoint) or SharePoint oversharing reviews."
license: MIT
metadata:
  author: vinayaklatthe
  version: "0.1.0"
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by vinayaklatthe. See CHANGES.md. -->

# Microsoft Defender for Office 365

Microsoft Defender for Office 365 (MDO) protects email and collaboration workloads against
phishing, malware, spoofing, and business email compromise. It layers on Exchange Online
Protection (EOP) and adds preset policies, detonation (Safe Attachments), time-of-click URL
protection (Safe Links), impersonation protection, post-delivery detection and hunting
(Real-time detections or Threat Explorer, plus AIR), and attack simulation training.

## When to use
Securing Exchange Online mail flow and Microsoft 365 collaboration (Teams, SharePoint,
OneDrive). Use this skill for plan and preset decisions, control configuration, drift
detection, and SOC operations on email incidents.

**Do not use this skill** for endpoint protection (Defender for Endpoint), broad
cross-workload incident investigation in Defender XDR beyond the email evidence, or
SharePoint oversharing reviews before a Copilot rollout.

Portal names and menu paths in Microsoft's security products change often. If a path
below does not match what you see, use the portal search or the Microsoft Learn link at the end.

## Pick the plan, then the preset

| If you need... | Plan | Notes |
|---|---|---|
| Anti-spam, anti-malware, spoof protection, mail flow rules | **EOP** | Included with every Exchange Online mailbox |
| Safe Links, Safe Attachments (email, plus SharePoint, OneDrive and Teams), impersonation protection and mailbox intelligence, Real-time detections | **MDO Plan 1** | Included in Microsoft 365 Business Premium; otherwise an add-on (for example to E3) |
| Threat Explorer, Threat Trackers, campaign views, AIR, attack simulation training | **MDO Plan 2** | Included in Microsoft 365 E5 and Office 365 E5, or as an add-on |

Plan 1 has **Real-time detections**, a lighter version of **Threat Explorer**, which is Plan 2.
Licensing bundles change; confirm against the current service description before quoting a SKU.
...

From vinayaklatthe's repository, MIT licence.

Related skills

  • Checked

    Codebase quality audit

    Audits a whole code repo for bugs, security holes, slow paths and dead code, ranked in plain English.

    by DietrichGebert 203k
    7/101 credit
  • Checked

    Security and CVE audit

    Runs a security and CVE audit on code in any language and scores it out of 100, with false alarms filtered.

    by opencrabs 1k
    7/101 credit
  • Checked

    OWASP code review

    Reviews code for security flaws using the latest OWASP Top 10 lists, including those for AI and agent apps.

    by agamm 467
    7/101 credit
  • Checked

    Code security hardening

    Hardens code that handles user input, logins and data against the OWASP Top 10, starting from a threat model.

    by addyosmani 122k
    7/101 credit
  • Checked

    Secure web backend code

    Writes and reviews login, access control and input handling for web backends, so common attacks are blocked.

    by Jeffallan 13k
    8/101 credit
  • Checked

    Android intent security

    Audits Android components and incoming intents to fix redirection and unauthorised access holes in your app.

    by android 11k
    8/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added