Skip to main content
Version: 3.0.0-preview

CIS.M365.2.1.5 - (L2) Ensure Safe Attachments for SharePoint, OneDrive, and Microsoft Teams is Enabled

Overview​

2.1.5 (L2) Ensure Safe Attachments for SharePoint, OneDrive, and Microsoft Teams is Enabled

Safe Attachments for SharePoint, OneDrive, and Microsoft Teams scans these services for malicious files.

Rationale​

Safe Attachments for SharePoint, OneDrive, and Microsoft Teams protect organizations from inadvertently sharing malicious files. When a malicious file is detected that file is blocked so that no one can open, copy, move, or share it until further actions are taken by the organization's security team.

Impact​

Impact associated with Safe Attachments is minimal, and equivalent to impact associated with anti-virus scanners in an environment.

Remediation action​

To enable Safe Attachments for SharePoint, OneDrive, and Microsoft Teams:

  1. Navigate to Microsoft 365 Defender https://security.microsoft.com
  2. Under Email & collaboration select Policies & rules
  3. Select Threat policies then Safe Attachments
  4. Click on Global settings
  5. Click to Enable Turn on Defender for Office 365 for SharePoint, OneDrive, and Microsoft Teams
  6. Click to Enable Turn on Safe Documents for Office clients
  7. Click to Disable Allow people to click through Protected View even if Safe Documents identified the file as malicious
  8. Click Save.
PowerShell​
  1. Connect to Exchange Online using Connect-ExchangeOnline.
  2. Run the following PowerShell command:
Set-AtpPolicyForO365 -EnableATPForSPOTeamsODB $true -EnableSafeDocs $true -AllowSafeDocsOpen $false

Test Metadata​

FieldValue
Test IDCIS.M365.2.1.5
SeverityMedium
SuiteCIS
ProductDefender
Related productsSharePoint, Teams
FeatureSafe Attachments
AreaEmail and collaboration protection
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1080 Taint Shared Content, T1204.002 Malicious File
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 2.1.5
Benchmark levelL2
Benchmark profilesE5 Level 2
Supports controlscis-m365:2.1.5, nist-800-53-r5:SI-3
PowerShell testTest-MtCisSafeAttachmentsAtpPolicy
ServicesExchangeOnline, Graph, SecurityCompliance
Compatible licensesATP_ENTERPRISE

Source​