turbot/microsoft365_compliance

Control: 1.3.3 Ensure 'External sharing' of calendars is not available

Description

External calendar sharing allows an administrator to enable the ability for users to share calendars with anyone outside of the organization. Outside users will be sent a URL that can be used to view the calendar.

Attackers often spend time learning about organizations before launching an attack. Publicly available calendars can help attackers understand organizational relationships and determine when specific users may be more vulnerable to an attack, such as when they are traveling.

Remediation

To disable calendar details sharing with external users:

  1. Navigate to Microsoft 365 admin center https://admin.microsoft.com.
  2. Click to expand Settings select Org settings.
  3. In the Services section click Calendar.
  4. Uncheck Let your users share their calendars with people outside of your organization who have Office 365 or Exchange.
  5. Click Save.

To disable calendar details sharing with external users policy, use the Exchange Online PowerShell Module:

  1. Connect to Exchange Online using Connect-ExchangeOnline.
  2. Run the following Exchange Online PowerShell command:
Set-SharingPolicy -Identity "Name of the policy" -Enabled $False

Default Value

Enabled (True).

Usage

Run the control in your terminal:

powerpipe control run microsoft365_compliance.control.cis_v300_1_3_3

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run microsoft365_compliance.control.cis_v300_1_3_3 --share

SQL

This control uses a named query:

microsoft365_calendar_sharing_disabled

Tags