GEN002460 - The system must be checked weekly for unauthorized setgid files, as well as, unauthorized modification to authorized setgid files.

Information

Files with the setgid bit set will allow anyone running these files to be temporarily assigned the group id of the file. While many system files depend on these attributes for proper operation, security problems can result if setgid is assigned to programs that allow reading and writing of files, or shell escapes.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Establish a weekly automated or manual process to generate a list of setgid files on the system and compare it with the prior list. To create a list of setgid files use the following command.
# find / -perm -2000 > setgid-file-list

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-3(5), CAT|II, CCI|CCI-001744, Rule-ID|SV-226582r854420_rule, STIG-ID|GEN002460, STIG-Legacy|SV-804, STIG-Legacy|V-804, Vuln-ID|V-226582

Plugin: Unix

Control ID: 47cd68a75d30f8d602e1c7cd2e0fdbf45e624d9f3b1ea6975bb06fd23ccf6d79