Rule ID
SV-252916r1262349_rule
Version
V2R7
CCIs
Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity.
Note: If the "autofs" service is not installed, this requirement is Not Applicable. Verify the operating system disables the ability to automount devices. Check to see if automounter service is active with the following command: Note: If the autofs service is not installed, this requirement is Not Applicable. $ sudo systemctl status autofs autofs.service - Automounts filesystems on demand Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled) Active: inactive (dead) If the "autofs" status is set to "active", this is a finding.
Configure the operating system to disable the ability to automount devices. Turn off the automount service with the following commands: $ sudo systemctl stop autofs $ sudo systemctl disable autofs