TMAegisベータ
exchange のその他のルール

Microsoft Exchange Server

TMA-EXCHANGE-OWA-HTTPS

Ensure Outlook on the web virtual directories publish only HTTPS URLs

高レベル 1自動exchange

説明

OWA internal/external URLs must use HTTPS so that forms-based logon credentials and session cookies are never sent in clear text. Prints the number of OWA virtual directories with a non-HTTPS URL (expected 0). 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.

チェック方法

監査方法: シェルコマンド

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' }; $bad = @(Get-OwaVirtualDirectory -ADPropertiesOnly -ErrorAction Stop | Where-Object { ("$($_.InternalUrl)" -and "$($_.InternalUrl)" -notlike 'https://*') -or ("$($_.ExternalUrl)" -and "$($_.ExternalUrl)" -notlike 'https://*') }); $bad.Count
期待される出力
0

修正方法

修正方法: ガイダンスまたは IaC パッチ

Set-OwaVirtualDirectory '<server>\owa (Default Web Site)' -InternalUrl https://<fqdn>/owa -ExternalUrl https://<fqdn>/owa and keep 'Require SSL' enabled on the IIS owa application.

プロパティ

オペレーティングシステム
すべて
タグ
exchangeowa
参照
CIS Microsoft Exchange Server Benchmark - Outlook on the web / Virtual directory URLs and SSL (verify section number for your release)

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target exchange