6.2.2 (L1) Ensure mail transport rules do not whitelist specific domains

Information

Mail flow rules (transport rules) in Exchange Online are used to identify and take action on messages that flow through the organization.

Whitelisting domains in transport rules bypasses regular malware and phishing scanning, which can enable an attacker to launch attacks against your users from a safe haven domain.

Note: If an organization identifies a business need for an exception, the domain should only be whitelisted if inbound emails from that domain originate from a specific IP address. These exceptions should be documented and regularly reviewed.

Solution

To remediate using the UI:

- Navigate to Exchange admin center

https://admin.exchange.microsoft.com

..
- Click to expand Mail Flow and then select Rules
- For each rule that sets the spam confidence level to -1 for a specific domain, select the rule and click Delete

To remediate using PowerShell:

- Connect to Exchange online using Connect-ExchangeOnline
- To modify the rule:

Remove-TransportRule {RuleName} <xhtml:ol start="3"> - Verify the rules no longer exists by re-running the audit procedure.

Impact:

Care should be taken before implementation to ensure there is no business need for case-by-case whitelisting. Removing all whitelisted domains could affect incoming mail flow to an organization although modern systems sending legitimate mail should have no issue with this.

See Also

https://workbench.cisecurity.org/benchmarks/20006

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-3, 800-53|SI-8, 800-53|SI-16

Plugin: microsoft_azure

Control ID: f5ab9266b124c6e18c1a784c5867f9c22c592b97f6af40d6e037592cd5c6fe41