TMAegisBeta
Más reglas para exchange

Microsoft Exchange Server

TMA-EXCHANGE-1.12

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

AltaNivel 1Automatizadaexchange

Descripción

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.

Cómo se verifica

Método de auditoría: Comando de shell

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
Salida esperada
0

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

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

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
exchangetransporttls
Referencia
CIS Microsoft Exchange Server 2019 Benchmark v1.0.1 - 1.12 Ensure 'Internet-facing receive connectors' is set to 'Tls, BasicAuth, BasicAuthRequireTLS'

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target exchange