From Red Hat Enterprise Linux 7 Security Technical Implementation Guide
Part of SRG-OS-000327-GPOS-00127
Associated with: CCI-002234
Misuse of privileged functions, either intentionally or unintentionally by authorized users, or by unauthorized external entities that have compromised information system accounts, is a serious and ongoing concern and can have significant adverse impacts on organizations. Auditing the use of privileged functions is one way to detect such misuse and identify the risk from insider threats and the advanced persistent threat.
Verify the operating system audits the execution of privileged functions.
To find relevant setuid and setgid programs, use the following command once for each local partition [PART]:
# find [PART] -xdev -type f \( -perm -4000 -o -perm -2000 \) 2>/dev/null
Run the following command to verify entries in the audit rules for all programs found with the previous command:
# grep -i "
Configure the operating system to audit the execution of privileged functions.
To find the relevant "setuid"/"setgid" programs, run the following command for each local partition [PART]:
# find [PART] -xdev -type f \( -perm -4000 -o -perm -2000 \) 2>/dev/null
For each "setuid"/"setgid" program on the system, which is not covered by an audit rule for a (sub) directory (such as "/usr/sbin"), add a line of the following form to "/etc/audit/rules.d/audit.rules", where
Lavender hyperlinks in small type off to the right (of CSS
class id
, if you view the page source) point to
globally unique URIs for each document and item. Copy the
link location and paste anywhere you need to talk
unambiguously about these things.
You can obtain data about documents and items in other
formats. Simply provide an HTTP header Accept:
text/turtle
or
Accept: application/rdf+xml
.
Powered by sagemincer