AlmaLinux OS 9 must audit uses of the "execve" system call.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269146 | ALMA-09-007280 | SV-269146r1050028_rule | CCI-002234 | medium |
| Description | ||||
| 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. Satisfies: SRG-OS-000327-GPOS-00127, SRG-OS-000326-GPOS-00126 | ||||
| STIG | Date | |||
| Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide | 2026-02-27 | |||
Related Frameworks
3 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
AC-6(9)
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.1.7
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-002234
1.00
- DISA · V1R6 · disa_xccdf · related
Details
Check Text (C-269146r1050028_chk)
Verify that AlmaLinux OS 9 is configured to audit the execution of the "execve" system call with the following command:
$ auditctl -l | grep execve
-a always,exit -F arch=b32 -S execve -C uid!=euid -F euid=0 -F key=execpriv
-a always,exit -F arch=b64 -S execve -C uid!=euid -F euid=0 -F key=execpriv
-a always,exit -F arch=b32 -S execve -C gid!=egid -F egid=0 -F key=execpriv
-a always,exit -F arch=b64 -S execve -C gid!=egid -F egid=0 -F key=execpriv
If the command does not return all lines, or the lines are commented out, this is a finding.
Fix Text (F-73078r1049198_fix)
Configure AlmaLinux OS 9 to generate audit records upon successful/unsuccessful attempts to use the "sudo" command.
Add the following to the "/etc/audit/rules.d/audit.rules" file:
-a always,exit -F arch=b32 -S execve -C uid!=euid -F euid=0 -k execpriv
-a always,exit -F arch=b64 -S execve -C uid!=euid -F euid=0 -k execpriv
-a always,exit -F arch=b32 -S execve -C gid!=egid -F egid=0 -k execpriv
-a always,exit -F arch=b64 -S execve -C gid!=egid -F egid=0 -k execpriv
Merge the rules into /etc/audit/audit.rules:
$ augenrules --load