Skip to main content
Version: 3.0.0-preview

CIS.M365.6.1.3 - (L1) Ensure 'AuditBypassEnabled' is not enabled on mailboxes

Overview​

No account is configured to bypass mailbox audit logging.

Audit bypass is meant for service accounts that generate a lot of noise, such as a monitoring or journaling account. Anything such an account does in any mailbox is not logged. An attacker or a malicious administrator with an account on the bypass list can read and change mail with no record in the audit log.

Remove the bypass from every account and reduce the noise in another way, for example by filtering the audit log when you search it.

Note: This test is LongRunning. It reads the audit bypass setting of every mailbox and recipient, which can take a long time in large tenants. Use Invoke-Maester -IncludeLongRunning to run it, or select it by ID.

Remediation action​

  1. Connect to Exchange Online with Connect-ExchangeOnline.
  2. List the accounts with Get-MailboxAuditBypassAssociation -ResultSize Unlimited | Where-Object { $_.AuditBypassEnabled }.
  3. For each account run Set-MailboxAuditBypassAssociation -Identity <account> -AuditBypassEnabled $false.

Test Metadata​

FieldValue
Test IDCIS.M365.6.1.3
SeverityMedium
SuiteCIS
ProductExchange Online
FeatureMailbox auditing
AreaLogging and detection
Resource typeMailbox
User impactLow
Implementation costLow
MITRE ATT&CKT1685.002 Disable or Modify Cloud Log
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 6.1.3
Benchmark levelL1
Benchmark profilesE3 Level 1
Supports controlscis-m365:6.1.3, nist-800-53-r5:AU-12
PowerShell testTest-MtCisMailboxAuditBypass
ServicesExchangeOnline
Long runningYes

Source​