STIGQter STIGQter: STIG Summary: Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide Version: 1 Release: 7 Benchmark Date: 01 Jul 2026:

AlmaLinux OS 9 must audit uses of the "execve" system call.

DISA Rule

SV-269146r1050028_rule

Vulnerability Number

V-269146

Group Title

SRG-OS-000327-GPOS-00127

Rule Version

ALMA-09-007280

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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

Check Contents

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.

Vulnerability Number

V-269146

Documentable

False

Rule Version

ALMA-09-007280

Severity Override Guidance

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.

Check Content Reference

M

Target Key

5664