Check provider logo

Transport rule does not whitelist any domains

exchange_transport_rules_whitelist_disabled

Severityhigh
Serviceexchange
by Prowler

Microsoft 365 Exchange Online mail flow rules that whitelist specific sender domains by forcing SCL to -1 (skip spam filtering) on matching messages

Risk

Domain-based whitelisting skips anti-spam/phish analysis, allowing spoofed or compromised senders to reach the Inbox. This increases targeted phishing, BEC, and credential theft, enabling unauthorized access and data exfiltration, degrading confidentiality and integrity.

Run this check with Prowler CLI

prowler m365 --checks exchange_transport_rules_whitelist_disabled

Recommendation

Avoid blanket whitelisting. Do not set SCL to -1 based solely on sender domain.

  • Prefer controlled allow mechanisms with review/expiry; keep anti-spam/phish active
  • If exceptions are unavoidable, apply least privilege: add strong conditions (auth results, known source IPs), narrow scope, time-bound, and monitor

Remediation

CLI

Set-TransportRule -Identity <RuleName> -SetSCL 0

Other
  1. Open the Exchange admin center: https://admin.exchange.microsoft.com
  2. Go to Mail flow > Rules
  3. Edit any rule that has: condition "The sender domain is" AND action "Set the spam confidence level (SCL) = Bypass spam filtering"
  4. In Do the following, change "Set the spam confidence level (SCL)" from Bypass spam filtering to 0 (or remove the action)
  5. Click Save

Source Code

Resource Type

NotDefined

References