Skip to main content
Version: 2.1.1-preview

MT.1062 - Ensure Direct Send is set to be rejected

Overview​

Direct Send SHOULD be configured to Reject in Exchange Online

Rationale: Attackers can exploit direct send to send spam or phishing emails without authentication. Direct Send covers anonymous messages (unauthenticated messages) sent from your own domain to your organization's mailboxes using the tenant MX.

Remediation action:​

  1. Connect to Exchange Online:
Connect-ExchangeOnline
  1. Configure the setting to reject direct send:
Set-OrganizationConfig -RejectDirectSend $true
  1. Verify the policy:
(Get-OrganizationConfig).RejectDirectSend

The result should be True.

Test Metadata​

FieldValue
Test IDMT.1062
SeverityMedium
SuiteMaester
CategoryExchange
PowerShell testTest-MtExoRejectDirectSend
TagsExchange, Maester, MT.1062

Source​

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