GEN002400 - The system must be checked weekly for unauthorized setuid files as well as unauthorized modification to authorized setuid files.

Information

Files with the setuid bit set will allow anyone running these files to be temporarily assigned the UID of the file. While many system files depend on these attributes for proper operation, security problems can result if setuid is assigned to programs allowing 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 suid files on the system and compare it with the prior list.

To create a list of suid files:

# find / -perm -4000 > suid-file-list

NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-3f., 800-53|CM-6b., CAT|II, CCI|CCI-000318, CCI|CCI-000366, Rule-ID|SV-218365r603259_rule, STIG-ID|GEN002400, STIG-Legacy|SV-63421, STIG-Legacy|V-803, Vuln-ID|V-218365

Plugin: Unix

Control ID: 60a44572c010df611ee5bc70a8c6033008417108c518d1f917d3d3fa7adbb784