# Cis Ubuntu2004 V300 1 5 5

> Ensure Automatic Error Reporting is not enabled

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

---


# 1.5.5 Ensure Automatic Error Reporting is not enabled (Automated)

## Profile

- Level 1 - Server
- Level 1 - Workstation

## Description

The Apport Error Reporting Service automatically generates crash reports for debugging.

## Rationale

Apport collects potentially sensitive data, such as core dumps, stack traces, and log files. They can contain passwords, credit card numbers, serial numbers, and other private material.

## Audit Procedure

### Command Line

Run the following command to verify that the Apport Error Reporting Service is not enabled:

```bash
# dpkg-query -s apport &> /dev/null && grep -Psi -- '^\h*enabled\h*=\h*[^0]\b' /etc/default/apport
```

Nothing should be returned.

Run the following command to verify that the apport service is not active:

```bash
# systemctl is-active apport.service | grep '^active'
```

Nothing should be returned.

## Expected Result

No output should be returned for either command, confirming Apport is disabled and the service is not active.

## Remediation

### Command Line

Edit `/etc/default/apport` and add or edit the enabled parameter to equal `0`:

```
enabled=0
```

Run the following commands to stop and mask the apport service:

```bash
# systemctl stop apport.service
# systemctl mask apport.service
```

- OR -

Run the following command to remove the apport package:

```bash
# apt purge apport
```

## Default Value

enabled=1

## CIS Controls

| Controls Version | Control                                                                         | IG 1 | IG 2 | IG 3 |
| ---------------- | ------------------------------------------------------------------------------- | ---- | ---- | ---- |
| v8               | 4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and Software |      | \*   | \*   |
| v7               | 9.2 Ensure Only Approved Ports, Protocols and Services Are Running              |      | \*   | \*   |

