From c7827cf5b15a761665a4e20fdf2bdf4ea7d0ee11 Mon Sep 17 00:00:00 2001 From: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com> Date: Thu, 9 Feb 2023 13:15:21 -0500 Subject: [PATCH] CIS 6.3.7 (#9767) --- ee/cis/macos-13/cis-policy-queries.yml | 31 ++++++++++++++++ .../macos-13/test/profiles/6.3.7.mobileconfig | 37 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 ee/cis/macos-13/test/profiles/6.3.7.mobileconfig diff --git a/ee/cis/macos-13/cis-policy-queries.yml b/ee/cis/macos-13/cis-policy-queries.yml index cff273ffed..aeb0080e8b 100644 --- a/ee/cis/macos-13/cis-policy-queries.yml +++ b/ee/cis/macos-13/cis-policy-queries.yml @@ -2045,3 +2045,34 @@ spec: purpose: Informational tags: compliance, CIS, CIS_Level1, CIS6.3.6 contributors: artemist-work +--- +apiVersion: v1 +kind: policy +spec: + name: CIS - Ensure Show Full Website Address in Safari Is Enabled (MDM Required) + platforms: macOS + platform: darwin + description: | + Attackers use websites with malicious or unwanted content to exploit the user or the computer. Part of the attack chain is to lure someone to load their content rather than the desired content. In order to reduce the risk in interacting with unwanted content the full website address should always be displayed in Safari. + resolution: | + Graphical Method: + Perform the following steps to set Safari to show full website addresses: + 1. Open Safari + 2. Select Safari from the menu bar + 3. Select Settings + 4. Select Security + 5. Set Show full website address to enabled + Automated method: + Profile Method: + Create or edit a configuration profile with the following information: + 1. The PayloadType string is com.apple.Safari + 2. The key to include is ShowFullURLInSmartSearchField + 3. The key must be set to: + + query: | + SELECT 1 from managed_policies WHERE domain = 'com.apple.Safari' + AND name = 'ShowFullURLInSmartSearchField' + AND value = 1; + purpose: Informational + tags: compliance, CIS, CIS_Level1, CIS6.3.7 + contributors: sharon-fdm \ No newline at end of file diff --git a/ee/cis/macos-13/test/profiles/6.3.7.mobileconfig b/ee/cis/macos-13/test/profiles/6.3.7.mobileconfig new file mode 100644 index 0000000000..9351714af6 --- /dev/null +++ b/ee/cis/macos-13/test/profiles/6.3.7.mobileconfig @@ -0,0 +1,37 @@ + + + + + PayloadContent + + + PayloadDisplayName + test + PayloadType + com.apple.Safari + PayloadIdentifier + com.fleetdm.cis-6.3.7.check + PayloadUUID + A78B534C-0E6D-46C0-97F1-D50178AC5AD0 + ShowFullURLInSmartSearchField + + + + PayloadDescription + test + PayloadDisplayName + Ensure Show Full Website Address in Safari Is Enabled + PayloadIdentifier + com.fleetdm.cis-6.3.7 + PayloadRemovalDisallowed + + PayloadScope + System + PayloadType + Configuration + PayloadUUID + 5A412D8E-5951-42A3-95ED-BD82AD6D3038 + PayloadVersion + 1 + +