Skip to main content
Version: 2.1.0

MT.1043 - Ensure Spam confidence level (SCL) is configured in mail transport rules with specific domains

Overview​

Spam confidence level (SCL) SHOULD NOT be set to -1 in mail transport rules with specific domains

Rationale: Allow-listing 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.

Remediation action:​

  1. Connect to Exchange Online:
Connect-ExchangeOnline
  1. View your current transport rules:
Get-TransportRule | Select-Object Name, SetScl
  1. For each transport rule that uses SetScl -1, modify it to set SCL to 0 or higher:
Set-TransportRule -Identity "RuleName" -SetSCL 0
  1. Verify the changes:
Get-TransportRule | Where-Object { $_.SetScl -eq -1 }

The result should return no rules.

Test Metadata​

FieldValue
Test IDMT.1043
SeverityMedium
SuiteMaester
CategoryExchange
PowerShell testTest-MtExoSetScl
TagsExchange, Maester, MT.1043

Source​

  • Pester test: tests/Maester/Exchange/Test-ExchangeSetting.Tests.ps1
  • PowerShell source: powershell/public/maester/exchange/Test-MtExoSetScl.ps1