1.1.27 Disable Automounting

Information

autofs allows automatic mounting of devices, typically including CD/DVDs and USB drives.

Rationale:

With automounting enabled anyone with physical access could attach a USB drive or disc and have its contents available in system even if they lacked permissions to mount it themselves.

Impact:

The use of portable hard drives is very common for workstation users. If your organization allows the use of portable storage or media on workstations and physical access controls to workstations is considered adequate there is little value add in turning off automounting.

Solution

Run the following command to mask autofs:

# systemctl --now mask autofs

OR run the following command to remove autofs

# yum remove autofs

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-18(4), CSCv7|8.4, CSCv7|8.5, Rule-ID|SV-204451r603261_rule

Plugin: Unix

Control ID: ffe788e8e3d98707bd67c281b77657a5fdc4bb02f377135d483d35d388be43b1