Add macOS CIS 2.3.3.11 (Bluetooth Sharing) (#9688)

This adds a test for 2.3.3.11, which verifies that all users have
Bluetooth sharing disabled.

It's not possible to create a profile and it's challenging to write a
script, so testing must be done manually.
As with all sharing tests, the machine will be compliant out of the box.
For QA you should open the sharing preference pane (System Settings >
General > Sharing) and then enable Bluetooth sharing and this test
should fail. Switching bluetooth sharing back off will fix it.
This commit is contained in:
Artemis Tosini 2023-02-06 15:29:47 -05:00 committed by GitHub
parent 7e68e6b167
commit 857e6830d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -388,6 +388,33 @@ spec:
---
apiVersion: v1
kind: policy
spec:
name: CIS - Ensure Bluetooth Sharing Is Disabled
platforms: macOS
platform: darwin
description: |
Bluetooth Sharing allows files to be exchanged with Bluetooth-enabled devices.
Disabling Bluetooth Sharing minimizes the risk of an attacker using Bluetooth
to remotely attack the system.
resolution: |
Graphical Method:
1. Open System Settings
2. Select General
3. Select Sharing
4. Set Bluetooth Sharing to disabled
query: |
SELECT 1 WHERE NOT EXISTS (
SELECT * FROM plist WHERE
path LIKE '/Users/%/Library/Preferences/ByHost/com.apple.Bluetooth.%.plist' AND
key = 'PrefKeyServicesEnabled' AND
value = '1'
);
purpose: Informational
tags: compliance, CIS, CIS_Level1, CIS2.3.3.11
contributors: artemist-work
---
apiVersion: v1
kind: policy
spec:
name: CIS - Ensure Backup Automatically is Enabled If Time Machine Is Enabled (FDA Required)
platforms: macOS