RHEL-06-000271 - The noexec option must be added to removable media partitions.

Information

Allowing users to execute binaries from removable media such as USB keys exposes the system to potential compromise.

Solution

The 'noexec' mount option prevents the direct execution of binaries on the mounted filesystem. Users should not be allowed to execute binaries that exist on partitions mounted from removable media (such as a USB key). The 'noexec' option prevents code from being executed directly from the media itself, and may therefore provide a line of defense against certain types of worms or malicious code. Add the 'noexec' option to the fourth column of '/etc/fstab' for the line which controls mounting of any removable media partitions.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-218023r603264_rule, STIG-ID|RHEL-06-000271, STIG-Legacy|SV-50456, STIG-Legacy|V-38655, Vuln-ID|V-218023

Plugin: Unix

Control ID: 7fb139d6902fc8df941d1f276e9dffcc21a6986045f7d68a9df701a3c090a953