Information
Safe Attachments for SharePoint, OneDrive, and Microsoft Teams scans these services for malicious files.
Rationale:
Safe Attachments for SharePoint, OneDrive, and Microsoft Teams protects your organization 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.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
To enable Safe Attachments for SharePoint, OneDrive, and Microsoft Teams, use the Microsoft 365 Admin Center:
Under Admin centers click Security to open the Microsoft 365 Defender.
Under Email & collaboration select Policies & rules
Click on Global settings
Click the toggle to Turn on Defender for Office 365 for SharePoint, OneDrive, and Microsoft Teams
Click Save
To enable Safe Attachments for SharePoint, OneDrive, and Microsoft Teams, use the Exchange Online PowerShell Module:
Connect using Connect-ExchangeOnline.
Run the following PowerShell command:
Set-AtpPolicyForO365 -EnableATPForSPOTeamsODB $True