STIGUI
V-274182CAT II — Medium severitySV-274182r1261388_rule

Amazon Linux 2023 file system automount function must be disabled.

Rule version AZLX-23-002600 · STIG v1 · 2026-08-20

Discussion

Without authenticating devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity.

Peripherals include, but are not limited to, such devices as flash drives, external storage, and printers.

Check

Note: If the "autofs" service is not installed, this requirement is not applicable.

Verify Amazon Linux 2023 disables the file system automount function with the following command:

$ sudo systemctl is-enabled autofs masked

If the returned value is not "masked", "disabled", "Failed to get unit file state for autofs.service for autofs", or "not-found", and is not documented as an operational requirement with the information system security officer, this is a finding.

Fix

Configure Amazon Linux 2023 to disable the ability to automount devices.

The autofs service can be disabled with the following command:

$ sudo systemctl mask --now autofs.service

Identifiers

Group ID
V-274182
Group title
SRG-OS-000378-GPOS-00163
Rule ID
SV-274182r1261388_rule
Check ID
C-78273r1261387_chk
Fix ID
F-78178r1120533_fix