Add noexec Option to Removable Media Partitions
An XCCDF Rule
Description
The noexec
mount option prevents the direct execution of binaries
on the mounted filesystem. Preventing the direct execution of binaries from
removable media (such as a USB key) provides a defense against malicious
software that may be present on such untrusted media.
Add the noexec
option to the list of
Options
in the systemd.mount
unit that
controls mounting of
any removable media partitions.
Rationale
Allowing users to execute binaries from removable media such as USB keys exposes the system to potential compromise.
- ID
- xccdf_org.ssgproject.content_rule_mount_option_noexec_removable_partitions
- Severity
- Medium
- References
- Updated