Skip to main content
Version: 2.1.1-preview

DPDP.7.1 - M365 Multi-Geo Data Residency SHALL be configured with India primary region (Rule 16-XB-3).

Overview

2.1.13 (L1) Ensure the connection filter safe list is off

In Microsoft 365 organizations with Exchange Online mailboxes or standalone Exchange Online Protection (EOP) organizations without Exchange Online mailboxes, connection filtering and the default connection filter policy identify good or bad source email servers by IP addresses. The key components of the default connection filter policy are IP Allow List, IP Block List and Safe list. The safe list is a pre-configured allow list that is dynamically updated by Microsoft. The recommended safe list state is: Off or False

Rationale

Without additional verification like mail flow rules, email from sources in the IP Allow List skips spam filtering and sender authentication (SPF, DKIM, DMARC) checks. This method creates a high risk of attackers successfully delivering email to the Inbox that would otherwise be filtered. Messages that are determined to be malware or high confidence phishing are filtered. The safe list is managed dynamically by Microsoft, and administrators do not have visibility into which sender are included. Incoming messages from email servers on the safe list bypass spam filtering.

Impact

This is the default behavior. IP Allow lists may reduce false positives, however, this benefit is outweighed by the importance of a policy which scans all messages regardless of the origin. This supports the principle of zero trust.

Remediation action:

  1. Navigate to Microsoft 365 Defender.
  2. Click to expand Email & collaboration select Policies & rules> Threat policies.
  3. Under Policies select Anti-spam.
  4. Click on the Connection filter policy (Default).
  5. Click Edit connection filter policy.
  6. Uncheck Turn on safe list.
  7. Click Save.
PowerShell
  1. Connect to Exchange Online using Connect-ExchangeOnline.
  2. Run the following PowerShell command:
Set-HostedConnectionFilterPolicy -Identity Default -EnableSafeList $false

Test Metadata

FieldValue
Test IDDPDP.7.1
SeverityUnknown
SuiteDPDP Act 2023
CategoryIndiaDPDP
PowerShell testTest-MtCisConnectionFilterSafeList
TagsDPDP, DPDP.7.1, DPDP2023, IndiaDPDP

Source

  • Pester test: tests/dpdp/Test-MtDpdpBaselines.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisConnectionFilterSafeList.ps1