# Cis Ubuntu2004 V300 6 2 3 1

> Ensure rsyslog service is enabled and active

- Skill: `cyberstrikeus/cis-ubuntu2004-v300-6-2-3-1` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-ubuntu2004-v300-6-2-3-1`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-ubuntu2004-v300-6-2-3-1/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-ubuntu2004-v300-6-2-3-1

---


# 6.2.3.1 Ensure rsyslog service is enabled and active (Automated)

## Profile

- Level 1 - Server
- Level 1 - Workstation

## Description

Once the `rsyslog` package is installed, ensure that the service is enabled.

## Rationale

If the `rsyslog` service is not enabled to start on boot, the system will not capture logging events.

## Audit Procedure

### Command Line

- IF - `rsyslog` is being used for logging on the system:

Run the following command to verify `rsyslog.service` is enabled:

```bash
# systemctl is-enabled rsyslog
```

Run the following command to verify `rsyslog.service` is active:

```bash
# systemctl is-active rsyslog.service
```

## Expected Result

```
enabled
active
```

## Remediation

### Command Line

- IF - `rsyslog` is being used for logging on the system:

Run the following commands to unmask, enable, and start `rsyslog.service`:

```bash
# systemctl unmask rsyslog.service
# systemctl enable rsyslog.service
# systemctl start rsyslog.service
```

## Default Value

Enabled and active by default.

## References

1. NIST SP 800-53 Rev. 5: AU-2, AU-3, AU-12

## CIS Controls

| Controls Version | Control                     | IG 1 | IG 2 | IG 3 |
| ---------------- | --------------------------- | ---- | ---- | ---- |
| v8               | 8.2 Collect Audit Logs      |      |      |      |
| v7               | 6.2 Activate audit logging  |      |      |      |
| v7               | 6.3 Enable Detailed Logging |      |      |      |

### MITRE ATT&CK Mappings

| Techniques / Sub-techniques               | Tactics | Mitigations |
| ----------------------------------------- | ------- | ----------- |
| T1070, T1070.002, T1211, T1562, T1562.001 | TA0005  | M1029       |

