CCE-90306-2Platform: macosx10.10 | Date: (C)2015-06-23 (M)2022-10-10 |
Disable File Sharing Services
File Sharing is non-essential and must be disabled. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
Parameter:
enabled/disabled
Technical Mechanism:
File Sharing must be disabled.
To check if Apple File (AFP) Sharing is disabled, run the following command:
sudo /usr/libexec/PlistBuddy -c 'print com.apple.AppleFileServer:Disabled' /var/db/launchd.db/com.apple.launchd/overrides.plist
If the returned value isn't 'true', this is a finding.
To check if SMB File Sharing is disabled, run the following command:
sudo /usr/libexec/PlistBuddy -c 'print com.apple.smbd:Disabled' /var/db/launchd.db/com.apple.launchd/overrides.plist
If the returned value isn't 'true', this is a finding.
CCSS Severity: | CCSS Metrics: |
CCSS Score : | Attack Vector: |
Exploit Score: | Attack Complexity: |
Impact Score: | Privileges Required: |
Severity: | User Interaction: |
Vector: | Scope: |
| Confidentiality: |
| Integrity: |
| Availability: |
| |
References: Resource Id | Reference |
---|
NIST | CM-7 a |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:25083 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:25083 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:31671 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:25083 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:31671 |