Key takeaway: Every Exchange Online mailbox gets baseline filtering from Exchange Online Protection (EOP) automatically. That is real, but it is the floor. The strongest protection comes from configuration: preset security policies, Defender for Office 365 (Safe Links, Safe Attachments, impersonation protection), email authentication (SPF, DKIM, DMARC), outbound controls, tenant allow and block lists used carefully, user reporting, and a response routine. This guide explains what is on by default, what is not, how the policies fit together and in which order they win, how to set them up, how to test, and how to respond when a bad message gets through.

"Built-in spam and malware protection" is true and incomplete. Attackers specifically target tenants that rely only on defaults, because defaults are tuned to avoid false positives, not to stop targeted phishing. Treat the default as a start.

The Layers of Protection

LayerWhat it doesDefault state
Connection filteringBlocks known bad IP addresses; allow and block listsOn
Anti-malwareScans attachments with multiple engines; common attachment types filterOn (Default policy)
Anti-spamContent filtering, bulk detection, spam actionsOn (Default policy, standard settings)
Anti-phishingSpoof intelligence, basic impersonation checksOn (basic); advanced needs Defender for Office 365
Zero-hour auto purge (ZAP)Removes delivered mail later found to be maliciousOn
Outbound spam protectionLimits and blocks compromised accounts sending spam; blocks automatic external forwardingOn
Mail flow rulesYour custom policiesOff until you create them
Safe LinksRewrites and checks URLs at click timeDefender for Office 365 only; configure
Safe AttachmentsDetonates attachments in a sandbox before deliveryDefender for Office 365 only; configure
Email authentication checksSPF, DKIM, DMARC evaluation of inbound mailEvaluated by default; your domains' records are your job
User and admin reportingReport message, submissionsConfigure

Defender for Office 365 comes in Plan 1 and Plan 2. Plan 1 includes Safe Links and Safe Attachments. Plan 2 adds Threat Explorer, automated investigation and response, attack simulation training, and more. Microsoft 365 Business Premium includes Plan 1, and E5 includes Plan 2. Check what your licenses include before you design.

How the Policies Are Evaluated

Microsoft's security policies come from several places, and the order matters:

  1. Strict preset security policy (highest precedence if it applies).
  2. Standard preset security policy.
  3. Custom policies you create (ordered by priority number).
  4. Built-in protection preset (a minimal, always-on baseline for Safe Links and Safe Attachments, available with Defender for Office 365).
  5. Default policies (the base policy in each category).

A user is covered by the first policy in this order that applies to them, and the rest are ignored for that user. This is why a custom anti-spam policy you built months ago can be silently overridden when someone turns on the Standard preset for everyone. When troubleshooting, find which policy actually applies to the user.

The Microsoft Defender portal has an Configuration analyzer (Email & collaboration, Policies & rules, Threat policies, Configuration analyzer) that compares your settings to the Standard and Strict recommendations and lists the gaps.

Step 1: Turn On Preset Security Policies

Presets apply Microsoft's recommended settings in one step.

  1. Open the Microsoft Defender portal, Email & collaboration, Policies & rules, Threat policies, Preset security policies.
  2. Under Standard protection, choose Manage protection settings.
  3. Apply Exchange Online Protection to all recipients (or to groups for the pilot), and, if licensed, Defender for Office 365 protection.
  4. Add sensitive user protection for executives and finance (user impersonation protection) in the Strict preset or a custom policy.
  5. Review and save.

Standard or Strict? Standard fits most organizations. Strict is more aggressive (more mail quarantined, shorter user wait times) and suits high-risk users. A common design is Standard for everyone and Strict for executives, finance, and IT admins. Presets cannot be edited setting by setting; if you need to tune, create a custom policy.

Step 2: Email Authentication for Your Own Domains

Authentication protects your domain from spoofing and improves delivery.

# Check DKIM status and enable Get-DkimSigningConfig | Format-Table Domain, Enabled, Selector1CNAME, Selector2CNAME New-DkimSigningConfig -DomainName contoso.com -Enabled $true # if not yet created Set-DkimSigningConfig -Identity contoso.com -Enabled $true

Our deeper guide: DKIM, SPF, DMARC, and ARC in Exchange Online. Remember that third-party senders (marketing tools, CRMs, ticketing systems) must be added to SPF or sign with DKIM, or DMARC enforcement will reject them.

If your license includes Defender for Office 365:

Test these on a pilot group first, since a click-time scan changes how links look to users.

Step 4: Impersonation and Spoof Protection

Attackers often impersonate a person (the CEO, the finance director) or a domain that looks like yours.

Tune the actions: quarantine for high-confidence impersonation, a safety tip for medium confidence. Add the protected users in the anti-phishing policy under *Phishing threshold & protection*.

Step 5: Outbound Protection

Compromised accounts send spam and phishing, which harms your reputation and gets your domain listed.

Step 6: Allow and Block Lists, Used Carefully

The Tenant Allow/Block List lets you allow or block senders, domains, URLs, and files. Rules of thumb:

Never add your own domain to an allow list. That is a common mistake that lets spoofed mail through.

Step 7: Users, Quarantine, and Reporting

Step 8: Investigate and Respond

When a bad message gets through:

  1. Find it. In Threat Explorer (Plan 2) or Explorer and Real-time detections (Plan 1), search by sender, subject, or URL.
  2. Contain it. Use *Take action* to soft delete or move to quarantine across all mailboxes. For tenants without Explorer, use Content Search with purge (see recovering deleted email).
  3. Check impact. Who clicked, who replied, who opened the attachment. Check Safe Links click data and sign-in logs for those users.
  4. Reset compromised accounts. Reset the password, revoke sessions, review rules and delegates.
  5. Block. Add confirmed bad senders, domains, and URLs to the block list.
  6. Submit the message to Microsoft so filters learn from it.
  7. Review the policy. Why did it pass? Adjust anti-phishing thresholds or impersonation settings.

Run through this with a drill so the team knows who does what.

Testing Your Protection

Message trace and message headers show verdicts. In the header, X-Forefront-Antispam-Report contains SFV (the spam filtering verdict, for example SPM for spam, NSPM for not spam) and CAT (the category, such as PHSH for phishing or MALW for malware), which tell you why a message was treated as it was.

Monitoring and Maintenance

How to Check It Worked

Troubleshooting

SymptomLikely cause
Legitimate mail goes to Junk or quarantineSender lacks SPF/DKIM, preset too strict, or an impersonation rule. Submit as a false positive and check the verdict
Phishing reaches inboxesPolicy not applied to that user, ZAP delay, or an allow entry or mail flow rule bypass. Check which policy applies
Your own mail fails DMARCA third-party sender is not in SPF or not signing with DKIM
Users cannot release quarantineQuarantine policy blocks release for that verdict
Safe Links breaks a siteLink rewriting problem. Add the URL to the policy's do-not-rewrite list, with a reason
Executives get too many warningsImpersonation settings too sensitive. Tune thresholds
Compromised user sending spamRestricted by the outbound policy. Secure the account, then unblock

A Short Decision Guide

Related guides: DKIM, SPF, DMARC, and ARC, access from anywhere, and inbox rules.

Plan features, portal names, and preset behavior change over time, and I have not tested these settings in your tenant. Use pilot groups and Microsoft's current documentation, and keep Microsoft's own security recommendations as the reference. If you want a review of your email security configuration, get in touch.

Exchange Online Protection Defender for Office 365 Anti-Phishing DMARC Email Security