Ensure Automatic Error Reporting is not enabled
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-ubuntu2004-v300-1-5-5 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis Ubuntu2004 V300 1 5 5?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-ubuntu2004-v300-1-5-5)More formats (shields.io, HTML) on the badges page.
---
name: cis-ubuntu2004-v300-1-5-5
description: "Ensure Automatic Error Reporting is not enabled"
category: cis-storage
version: "3.0.0"
author: cyberstrike-official
tags: [cis, ubuntu, linux, ubuntu-20.04, apport, error-reporting, privacy]
cis_id: "1.5.5"
cis_benchmark: "CIS Ubuntu Linux 20.04 LTS Benchmark v3.0.0"
tech_stack: [ubuntu, linux]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# 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 | | \* | \* |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!