Microsoft Exchange Server
TMA-EXCHANGE-AUDIT-BYPASS
Ensure no accounts are configured to bypass mailbox audit logging
높음레벨 1자동exchange
설명
Accounts with AuditBypassEnabled can access mailboxes without generating audit records. Prints the number of bypass associations (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-MailboxAuditBypassAssociation -ResultSize Unlimited -ErrorAction Stop | Where-Object { $_.AuditBypassEnabled -eq $true }); $bad.Count- 예상 출력
0
조치 방법
조치 방식: 가이드 또는 인프라 패치
For each reported identity, after confirming it is not a required service account: Set-MailboxAuditBypassAssociation -Identity <name> -AuditBypassEnabled $false
속성
- 운영 체제
- 모두
- 태그
- exchangelogging
- 참고 자료
- CIS Microsoft Exchange Server Benchmark - Auditing / Mailbox audit bypass (verify section number for your release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target exchange