6.12 Ensure Samba is not enabled

Information

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.

Solution

Remove or comment out start lines in /etc/init/smbd.conf-#start on (local-filesystems and net-device-up)

See Also

https://workbench.cisecurity.org/files/91

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv6|9.1

Plugin: Unix

Control ID: b77c984f5ff2aae7b74ceb87faf9259c3c72daabaf0b79d5c9c9e4bd8f0743c2