Reference: macOS encryption management

Encryption management policies encrypt drives on endpoints using macOS FileVault. For more information, see Apple Documentation: Use FileVault to encrypt the startup disk on your Mac.

Endpoint requirements

  • macOS 10.13.6 High Sierra or later

Configuration requirements

Generate the Key Encryption Key

Before you create a FileVault policy, you must generate the Key Encryption Key (KEK). Recovery keys are encrypted using this KEK for additional security.

If needed, you can generate a new KEK to replace an existing KEK. If you generate a new KEK, existing keys are re-encrypted using the new KEK.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click Endpoint Encryption > General Settings.
  2. Click Generate Key > Generate.
  3. Click Copy to Clipboard copy-clipboard and save the key in a secure location.
    Important: Save this key in a secure location, outside of Tanium Console, for future use. In a disaster recovery scenario, you must use this key to retrieve recovery keys.
  4. Click Save.

Create a database to store the recovery keys

Recovery keys are used to unlock the drive if a user forgets the PIN or password. Before you create and enforce encryption management policies, you must create a database to store the recovery keys. That database can be hosted on the Tanium Module Server (TMS) or you can host it on your own server (Self hosted). Hosting the database on the TMS requires no additional configuration beyond selecting the TMS hosted option during configuration. For more information about creating a self-hosted database, see Reference: Creating a self-hosted database to store recovery keys.

For more information about managing recovery keys, see Managing recovery keys

Note: If you configure the optional encryption key recovery portal, a user can retrieve their recovery key by signing in to the encryption key recovery portal to retrieve their recovery key using the recovery key ID or their computer name. Users can only retrieve their own recovery keys.

Install the End-User Notifications service and initialize endpoints

Encryption management policies use the End-User Notifications service to display notifications throughout the encryption process. This service must be installed and initialized on endpoints before you enforce encryption management policies. For more information, see Installing Enforce.

If this service is not installed and pushed out to endpoints, the policy fails to enforce. In this scenario, the End-User Notifications service is listed as the enforcement failure reason.

Install and configure Direct Connect

Encryption management policies use Direct Connect to transfer encryption keys securely from the client to the recovery key database during the encryption process. This service must be installed and initialized on endpoints before you enforce encryption management policies. For more information, see Installing Direct Connect.

If this service is not installed and pushed out to endpoints, the policy fails to enforce. In this scenario, the Direct Connect service is listed as the enforcement failure reason.

(Optional) Install and configure the recovery portal

The recovery portal is an optional self-service website that users can access if they forget their PIN or password. This website is typically internet-facing in a DMZ so that users who forget their PIN or password can access it from another device.

Endpoint workflow

After the policy is enforced and pushed out to endpoints, the encryption process takes place in several stages.

Prepare the drive for encryption

After the policy is enforced on an endpoint, a notification displays either at sign out or during the next sign in to instruct the user to enable FileVault encryption. The user can dismiss this message multiple times if your FileVault policy allows it.

Configure the text for this notification in the End User Notification section of the FileVault policy.

Encryption occurs

After the user enables FileVault, encryption begins.

User forgets the password

If a user forgets their password, they can use a recovery key to access the operating system. For more information about the self-service workflow with the encryption key recovery portal, see End user self-service workflow. For more information about managing recovery keys from the Enforce workbench, see Managing recovery keys.

To enter the recovery key into the computer, the user clicks the ? in the password field when prompted for the password. Then the user clicks the arrow beside the text that reads "If you forgot your password, you can reset it using your recovery key." and enters the recovery key.

After the drive is unlocked, the user is prompted to create a new password the next time the user signs in.

Note: If the FileVault policy uses an Institutional Recovery Key, users must start from the macOS Recovery OS (hold Command-R while booting) to enter the recovery key. For more information, see Apple Documentation: How to use institutional recovery keys with Intel-based Macs.

Remove FileVault encryption from an endpoint

  1. Remove the FileVault policy enforcement on the endpoint. For more information, see Remove an enforcement.
  2. Deploy an action to run the Enforce - Decrypt FileVault package on the endpoint. For more information, see Deploying actions and playbooks in Console and Interact.
    Note: This multi-step design is intentional so that encryption is not removed from a drive if an administrator inadvertently removes enforcement of the policy from an endpoint.

Managing recovery keys

Note:
  • For more information about the roles that can view the recovery keys for users on the Endpoint Encryption page in the Enforce workbench, see User role requirements.

  • You can only view and download keys for endpoints for which you have management rights.

  • Enforce does not automatically delete recovery keys. To view deleted recovery keys, select Show Deleted Keys. If needed, you can manually delete a recovery key by clicking Delete Key trash in the row for that key.

  • FileVault keys escrowed from Tanium™ Device Management appear in the Recovery Keys list alongside keys collected by Enforce. You can rotate these keys from the Enforce workbench. For more information, see Rotate a recovery key.

View FileVault recovery keys

View recovery key information, such as computer name, user name, recovery key ID, and last rotation.

From the Main menu, go to Modules > Enforce > Endpoint Encryption > Overview to view health data. Click Recovery Keys to view recovery keys.

Retrieve a single recovery key

  1. From the Main menu, go to Modules > Enforce > Endpoint Encryption > Recovery Keys.
  2. In the row for the endpoint for which you want to save the recovery key, click Copy Key copy-clipboard.
    Tip: Use the Platform filter to show only FileVault keys.
    Example screen capture from Enforce that shows the Platform filter
  3. Save the key to a local file.

Export all recovery keys and the recovery keys access log

You can generate a recovery key access log to audit access to the recovery keys. You can also export endpoint encryption recovery keys to a CSV file to use for disaster recovery purposes. To export recovery keys, you must have the Disk Encryption Recovery Keys - Export permission. This permission is granted only to the Enforce Administrator and Enforce Operator roles by default.

Note:
  • You can download keys only from endpoints for which you have management rights.

  • Generated files are available to download for 10 minutes. After that time, the file must be generated again.

  • You can filter the recovery keys shown on the Recovery Keys page using the Category filter, but this filter is not applied to generated files.

CAUTION: The generated files include sensitive data. Ensure that you store the files in a secure location.
  1. From the Main menu, go to Modules > Enforce > Endpoint Encryption > Recovery Keys.
  2. (Optional) Complete these steps to export the recovery keys access log:
    1. Click Export > Recovery Key Access Log.
    2. Read the warning about the contents of the file and click Generate.
    3. When the file is ready, click Download download_2.0.
  3. (Optional) Complete these steps to export the recovery keys:
    1. Click Export > Recovery Keys.
    2. Read the warning about the contents of the file and click Generate.
    3. When the file is ready, click Download download_2.0.

Rotate a recovery key

  1. From the Enforce menu, click Endpoint Encryption > Recovery Keys.
  2. In the row for the endpoint for which you want to rotate the recovery key, click Rotate Key refresh.
Note:

For FileVault keys escrowed from Tanium Device Management, the Rotate Key refresh