4,623,259 AI resources indexedWorking toward the world’s largest AI resource index.

8.1.15 Collect Changes to System Administration Scope (sudoers) (Scored)

Collect Changes to System Administration Scope (sudoers)

Installable skillAGPL-3.0-onlyBy cyberstrike-officialUpdated Nov 1, 2026
INTENDED FORClaude CodeCodexOpenClawCursorInstall in a listed agent.

instructions.md

---
name: cis-ubuntu1204-v110-8-1-15-f3d4a3d299fd
description: "Collect Changes to System Administration Scope (sudoers)"
category: cis-os-hardening
version: "1.1.0"
author: cyberstrike-official
tags: [cis, ubuntu, 12.04, linux, logging, auditd, sudoers, scope, privilege-escalation]
cis_id: "8.1.15"
cis_benchmark: "CIS Ubuntu 12.04 LTS Server Benchmark v1.1.0"
tech_stack: [ubuntu, linux]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# 8.1.15 Collect Changes to System Administration Scope (sudoers) (Scored)

## Profile Applicability

- Level 2

## Description

Monitor scope changes for system administrations. If the system has been properly configured to force system administrators to log in as themselves first and then use the `sudo` command to execute privileged commands, it is possible to monitor changes in scope. The file `/etc/sudoers` will be written to when the file or its attributes have changed. The audit records will be tagged with the identifier "scope."

## Rationale

Changes in the `/etc/sudoers` file can indicate that an unauthorized change has been made to scope of system administrator activity.

## Audit Procedure

### Using Command Line

Perform the following to determine if changes to `/etc/sudoers` are recorded.

```bash
grep scope /etc/audit/audit.rules
```

## Expected Result

```
-w /etc/sudoers -p wa -k scope
```

## Remediation

### Using Command Line

Add the following lines to the `/etc/audit/audit.rules` file:

```bash
-w /etc/sudoers -p wa -k scope
# Execute the following command to restart auditd
# pkill -HUP -P 1 auditd
```

## Default Value

By default, changes to system administration scope are not audited.

## References

- CIS Ubuntu 12.04 LTS Server Benchmark v1.1.0

## Profile

Level 2 - Scored

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.