# Cis Ubuntu2004 V300 1 3 1 1

> Ensure latest versions of the apparmor packages are installed

- Skill: `cyberstrikeus/cis-ubuntu2004-v300-1-3-1-1` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-ubuntu2004-v300-1-3-1-1`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-ubuntu2004-v300-1-3-1-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-1-3-1-1

---


# 1.3.1.1 Ensure latest versions of the apparmor packages are installed (Automated)

## Profile

- Level 1 - Server
- Level 1 - Workstation

## Description

AppArmor provides Mandatory Access Controls.

## Rationale

Without a Mandatory Access Control system installed only the default Discretionary Access Control system will be available.

## Audit Procedure

### Command Line

Run the following command to verify that `apparmor` is installed:

```bash
# dpkg-query -s apparmor &>/dev/null && echo "apparmor is installed"
```

Run the following command to verify that `apparmor-utils` is installed:

```bash
# dpkg-query -s apparmor-utils &>/dev/null && echo "apparmor-utils is installed"
```

Run the following command to verify `apparmor` is the latest version:

```bash
# apt list --upgradable 2>&1 | grep -P '^apparmor\b'
```

Run the following command to verify `apparmor-utils` is the latest version:

```bash
# apt list --upgradable 2>&1 | grep -P '^apparmor-utils\b'
```

## Expected Result

- `apparmor is installed` should be returned
- `apparmor-utils is installed` should be returned
- Nothing should be returned for the upgradable checks (packages are up to date)

## Remediation

### Command Line

Run the following command to install the latest versions of `apparmor` and `apparmor-utils`:

```bash
# apt install apparmor apparmor-utils
```

## References

1. NIST SP 800-53 Rev. 5: AC-3

## CIS Controls

| Controls Version | Control                                               | IG 1 | IG 2 | IG 3 |
| ---------------- | ----------------------------------------------------- | ---- | ---- | ---- |
| v8               | 3.3 Configure Data Access Control Lists               | \*   | \*   | \*   |
| v7               | 14.6 Protect Information through Access Control Lists | \*   | \*   | \*   |

MITRE ATT&CK Mappings: T1068, T1068.000, T1565, T1565.001, T1565.003 | TA0003 | M1026

