Differences

This shows you the differences between two versions of the page.

Link to this comparison view

centos7:2:2:12 [2017/05/04 14:49] (current)
Line 1: Line 1:
 +======2.2.12 Ensure Samba is not enabled (Scored)======
 +=====Profile Applicability=====  ​
 +<​code>​
 +Level 1 - Server
 +Level 1 - Workstation ​
 +</​code>​
  
 +=====Description=====
 +The Samba daemon allows system administrators to configure their Linux systems to share file systems and directories with Windows desktops. Samba will advertise the file systems and directories via the Small Message Block (SMB) protocol. Windows desktop users will be able to mount these directories and file systems as letter drives on their systems.
 +
 +=====Rationale=====
 +If there is no need to mount directories and file systems to Windows systems, then this service can be deleted to reduce the potential attack surface.
 +
 +=====Audit===== ​
 +Run the following commands to verify ''​smb''​ is not enabled:
 +<​Code:​bash>​
 +# systemctl is-enabled smb
 +disabled ​
 +</​Code>​
 +Verify result is not "​enabled"​.
 +
 +=====Remediation===== ​
 +Run the following command to disable ''​smb'':​
 +<​Code:​bash>​
 +# systemctl disable smb
 +</​Code>​