進一步了解班尼·查尼(Benny Czarny)所著的《顛覆性的網路安全》一書

瞭解更多資訊
我們利用人工智慧進行網站翻譯,雖然我們力求準確性,但它們可能並不總是 100% 精確。感謝您的理解。

How to Add Malware Scanning to Microsoft 365 Without Changing MX Records

作者: OPSWAT 發布
分享此文章

關鍵要點

  • MX records control where mail arrives, not how attachments get inspected. Tenant-connected scanning adds a separate inspection layer without redirecting mail through a new public destination.
  • API-based, connector, gateway, and journaling architectures each differ in enforcement timing, failure domain, and rollback profile, and those differences matter more than the label.
  • Enforcement timing is the real question. Find out whether a product holds a message until a verdict arrives or remediates after the user may have already accessed it.
  • A phased pilot validates the architecture before tenant-wide rollout. Least-privilege permissions, a representative pilot group, latency measurement, and a documented rollback plan come before full enforcement.
  • MetaDefender™ for Microsoft 365 adds prevention-first, file-in-depth protection without MX changes or hardware. It combines inline inspection for Exchange Online email with API-based inspection for supported Teams workflows, with SharePoint Online, and OneDrive planned to roll out in October 2026, helping reduce the exposure window and reliance on post-delivery remediation.

How Malware Scanning Works Without Changing Microsoft 365 MX Records

A Mail Exchange (MX) record tells external mail servers where to deliver email for a domain, but it does not determine how attachments are inspected once messages enter Microsoft 365. Organizations can therefore add inline inspection through Exchange Online connectors without changing the public mail destination, while API-based workflows inspect files uploaded to Teams, SharePoint Online, and OneDrive.

Because attachment inspection, policy enforcement, quarantine, and remediation operate within the tenant, organizations can introduce an additional security layer while Exchange Online remains the public mail destination. Microsoft Learn explains how connectors can create this controlled message-processing path within the existing mail flow.

  • What stays unchanged: external senders continue delivering email to the existing MX destination, and accepted messages continue through established Exchange Online routing, transport rules, and connectors.
  • How the integration connects: Exchange Online email can be inspected through connector-based inline processing, while Teams, SharePoint Online, and OneDrive use API-based workflows with tenant authorization, defined policy scope, and administrative logging.
  • Where inspection occurs: inline email inspection can hold an attachment until a verdict is available, whereas API-based workflows inspect Teams, SharePoint Online, and OneDrive files after upload. For collaboration workloads, verify whether access is restricted while analysis is in progress.

How API-Based, Connector-Integrated, and Gateway Email Security Compare

Deployment models differ in how they affect mail routing, when they can enforce a verdict, how they behave during service disruption, and how easily they can be rolled back. Those operational characteristics should drive the buying decision.

建築Routing ImpactEnforcement Timing
API-based scanningConnects to Microsoft 365 without becoming the internet-facing mail gateway or requiring a new MX destinationTypically post-delivery or post-upload; remediation timing and access controls vary by product and workload
Connector-integrated inspectionCreates a controlled message-processing path while Microsoft 365 stays the public destinationDepends on connector direction, scope, and behavior when the inspection service is unavailable
JournalingCreates a copy for retention or analysis, without changing the primary delivery pathTypically after the fact; often not an enforcement point before user access
Secure email gatewaySits in front of Microsoft 365 and becomes part of the external mail path, requiring an MX changePre-delivery, but with added routing, availability, and troubleshooting dependencies

Evaluate each option against observed enforcement behavior, ownership of the mail path, the period of potential user exposure, and the effort required to restore normal operations.

Which Attachment Security Controls Strengthen Microsoft 365 Malware Prevention

Safe Attachments detonates email attachments in a virtual environment before delivery. For SharePoint Online, OneDrive, and Teams, however, Microsoft’s built-in virus detection runs asynchronously after upload and uses heuristics to determine which files are scanned.

Multi-engine scanning, file sanitization, predictive analysis, and deeper file analysis address different stages of the file-threat lifecycle and can add inspection depth alongside Microsoft Defender for Office 365.

For collaboration workloads, the evaluation should establish when inspection begins, whether access is restricted while a verdict is pending, and whether the service covers content already stored in the tenant. Actual coverage will also depend on rollout scope, service availability, file-processing limits, and policy configuration.

How MetaDefender for Microsoft 365 Adds File Threat Prevention Without MX Changes

This file threat prevention dashboard provides a consolidated view of Microsoft emails and files secured by MetaDefender for Microsoft 365. It can be used to quickly identify activity that requires further investigation and prioritize actions based on severity.

MetaDefender for Microsoft 365 is OPSWAT’s file threat prevention solution for supported Exchange Online, and Teams workflows, with SharePoint Online and OneDrive rolling out before the end of October 2026. It scans, sanitizes, and detonates emails and files moving through Microsoft 365 and protects organizations from known, unknown, and AI-generated threats.

技術 功能說明
Metascan™Multiscanning將電子郵件和檔案並行傳送至多達 17 個反惡意軟體引擎進行檢測,以協助填補檢測漏洞。
深度CDR™技術Provides prevention-first CDR security across 200+ file types by treating every file or attachment as potentially harmful, preemptively removing active content such as scripts, macros, embedded objects, QR-code risks, and out-of-policy elements, then delivering a clean, usable version.
MetaDefender採用基於模擬技術的動態惡意軟體分析,在邊界處偵測零日、隱蔽型及多階段威脅。其「Adaptive 」Sandbox 每台伺服器每天可分析超過 50,000 個檔案或附件,約 10 秒內即可結合威脅情報提供快速判定結果,並將行為與 MITRE ATT&CK 框架對應,以提供分析人員可直接使用的證據。
預測性 Alin AI透過分析檔案與電子郵件的結構及行為相關特徵,在無需仰賴簽名或沙箱觸發的情況下,即可在執行前提供惡意軟體判定結果。預測性 Alin AI 平均僅需 6.67 毫秒即可返回判定結果,假陽性率為 0.03%,偵測效能達 93%。

"No email security control eliminates every threat, but a defensible strategy is to maximize coverage by combining detection with prevention-oriented controls."

Source: 8.3 Billion Phishing Threats in 90 Days

大衛·米切爾
產品副總裁,OPSWAT

Design the proof of concept around representative users, business-critical file types, and password-protected attachments, with success criteria for detection efficacy, routing behavior, processing latency, and rollback established before tenant-wide deployment.

How to Deploy Tenant-Connected Malware Scanning with a Low-Risk Pilot

  • Confirm prerequisites and permissions: review accepted domains, connectors, transport rules, Defender policies, and requested application permissions, then restrict access according to least-privilege principles.
  • Define a representative pilot group: select a limited group covering relevant attachment types, business workflows, and risk levels, with documented duration, stakeholders, and exit criteria.
  • Configure attachment policies before enforcement: define handling for file types, archives, macros, encrypted content, and size limits, beginning in monitoring mode or with narrowly scoped enforcement before tightening controls.
  • Test detection and sanitization safely: use approved benign test files and representative business documents to verify the full sequence from inspection through policy action, notification, and logging.
  • Measure attachment-processing latency: capture baseline and pilot delivery times by file type and size, define acceptable latency thresholds, and track help-desk contacts and false positives.
  • Plan failure behavior and rollback: define fail-open or fail-closed behavior for each policy and document the steps required to disable enforcement, revoke authorization, and confirm that normal mail flow has been restored.

How to Handle Complex and Password-Protected Email Attachments

  • Archives and nested content: recursive inspection, archive depth, and decompression limits matter, and unscannable content shouldn't receive an implicit clean verdict when a processing limit is reached.
  • Macros, scripts, and embedded objects: organizations can block, strip, sanitize, quarantine, or allow content based on sender trust and business need, distinguishing detection from proactively removing risky components.
  • Password-protected attachments: because encrypted content cannot be inspected or sanitized without the password, MetaDefender for Microsoft 365 allows an authorized user to submit it securely. The decrypted file can then pass through inspection, sanitization and, when required, detonation before delivery, without routine administrator intervention.
  • Clear notifications and exceptions: define what users see for delayed, blocked, quarantined, or password-protected attachments, backed by an auditable exception process with ownership and expiration.
  • Reducing false positives: track recurring file types and senders that generate avoidable investigations, and use policy tuning and self-service password submission to eliminate repetitive manual triage.

How Third-Party Attachment Security Works with Microsoft Defender for Office 365

Third-party file inspection can operate alongside Microsoft Defender for Office 365 effectively when policy ownership is explicit, control boundaries are understood, and both systems are configured to avoid conflicting actions.

  • Complementary controls: Microsoft continues to provide protection across email, identity, URLs, reputation signals, and Safe Attachments, while multiscanning, sanitization, and advanced file analysis add depth at the file-content layer.
  • Clear scope boundaries: this added layer strengthens file inspection and sanitization, while Microsoft 365 controls continue to cover phishing, BEC, URL protection, identity, endpoint, and broader XDR functions.
  • Avoiding conflicting actions: define which system owns blocking, quarantine, sanitized delivery, and release approval, and test messages that trigger both controls to catch loops or duplicate alerts.
  • Duplicate scanning vs. defense in depth: before removing an overlapping control, confirm whether it brings an engine set, analysis method, or audit function that the remaining control lacks.
  • A unified investigation process: correlate message identifiers, attachment hashes, and inspection results in one console or SIEM workflow so analysts aren't triaging the same incident twice.

What to Evaluate Before Choosing Microsoft 365 Attachment Security

CriterionWhat to Require
Pre-delivery vs. post-deliveryA precise explanation of when a message becomes accessible to users, and what happens if a malicious verdict arrives post exposure
File type & nested format coverageDocumented outcomes for archives, nested objects, macros, malformed files, and password-protected attachments
Data, privacy & residencyWhere attachments and metadata are processed, stored, and logged, including retention and regional residency
Availability & failure modesService-level commitments, retry behavior, and documented fail-open/fail-closed options for different policies
Reporting & audit evidenceSearchable verdicts, file hashes, policy decisions, and SIEM/ticketing integration
Coverage beyond Exchange OnlineWhether the same controls extend to Teams, SharePoint Online, and OneDrive, or stop at email

Request a MetaDefender for Microsoft 365 demonstration to see inline inspection, sanitization, and reporting in action.

常見問題 (FAQ)

We already have Microsoft Defender. How is MetaDefender for Microsoft 365 different?

Microsoft’s built-in defenses provide a great baseline protection, but detection is not prevention. Microsoft’s email security benchmark found that Defender missed 221 high-severity threats per 1,000 protected users from May through July 2026. The results reinforce a core defense-in-depth principle: strong native controls can be complemented with deeper file inspection and sanitization to help reduce residual exposure.

What deployment architectures support inline email malware blocking in Microsoft 365 without changing MX records?

Connector-integrated inspection can block malicious email attachments before delivery without changing the public MX destination. APIs support collaboration workloads such as Teams, SharePoint Online, and OneDrive, where files are inspected after upload.

How do API-based scanning, connectors, and journaling compare for detection coverage and remediation speed?

Connector-integrated inspection can hold or block email before delivery, whereas API-based scanning begins after content reaches the relevant collaboration workload. Journaling creates a separate copy for retention or analysis and is therefore generally unsuitable as a control point for preventing user access.

Can third-party malware scanning work alongside Microsoft Defender for Office 365 without conflicting policies?

Yes, when policy ownership is explicit. Define which system owns blocking, quarantine, and release decisions, and test messages that trigger both controls to catch duplicate alerts or quarantine conflicts before full rollout.

Can email attachments be multiscanned and sanitized before users access them in Microsoft 365?

Yes. When inspection is inline, multiscanning can evaluate an email attachment with multiple anti-malware engines before delivery, while Content Disarm and Reconstruction (CDR) automatically removes potentially active content and rebuilds a usable version of the file. In Teams, SharePoint Online, and OneDrive, API-based inspection begins after the file is uploaded.

How do I test and verify that inbound email attachments are being scanned without disrupting mail flow?

Run a limited pilot with a representative group, approved test files, and monitoring-only or narrowly scoped enforcement first. Measure delivery latency against a baseline and confirm rollback steps work before expanding to the full tenant.

隨時瞭解OPSWAT 的最新資訊!

立即註冊,即可收到公司的最新消息、 故事、活動資訊等。