TMAegis
Više pravila za exchange

TMA-EXCHANGE-1.12

Ensure 'Internet-facing receive connectors' is set to 'Tls, BasicAuth, BasicAuthRequireTLS'

VisokaNivo 1Automatskaexchange

Opis

This policy setting configures the advertised and accepted authentication mechanisms for the receive connector. The primary function of receive connectors in the transport service is to accept authenticated and encrypted Simple Mail Transfer Protocol (SMTP) connections from other transport services on the local Mailbox server or remote Mailbox servers in the organization. Note: Some available... Prints the number of Receive connectors on this Edge server whose AuthMechanism does not include all of Tls, BasicAuth and BasicAuthRequireTLS (expected 0). All Edge receive connectors are treated as Internet-facing, as in the benchmark remediation. Run on each Edge Transport server. Run from an Exchange Management Shell or after `Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn`; the audit loads the snap-in itself when Get-ExchangeServer is missing and fails if it cannot.

Kako se proverava

Metod provere: Komanda ljuske

shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn -ErrorAction Stop }; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { throw 'Exchange Management Shell cmdlets are not available' }; $req = @('Tls','BasicAuth','BasicAuthRequireTLS'); $bad = @(Get-ReceiveConnector -ErrorAction Stop | Where-Object { $m = @("$($_.AuthMechanism)" -split ',' | ForEach-Object { $_.Trim() }); @($req | Where-Object { $m -notcontains $_ }).Count -gt 0 }); $bad.Count
Očekivani izlaz
0

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

Get-ReceiveConnector | Set-ReceiveConnector -AuthMechanism 'Tls, BasicAuth, BasicAuthRequireTLS'

Svojstva

Operativni sistemi
Bilo koji
Oznake
exchangetransporttls
Referenca
CIS Microsoft Exchange Server 2019 Benchmark v1.0.1 - 1.12 Ensure 'Internet-facing receive connectors' is set to 'Tls, BasicAuth, BasicAuthRequireTLS'

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target exchange