TMAegisBeta
Thêm quy tắc cho exchange

Microsoft Exchange Server

TMA-EXCHANGE-1.12

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

CaoCấp 1Tự độngexchange

Mô tả

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ách kiểm tra

Phương pháp kiểm tra: Lệnh 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
Đầu ra mong đợi
0

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
exchangetransporttls
Tham chiếu
CIS Microsoft Exchange Server 2019 Benchmark v1.0.1 - 1.12 Ensure 'Internet-facing receive connectors' is set to 'Tls, BasicAuth, BasicAuthRequireTLS'

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target exchange