STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 23 Apr 2021:

The debug-shell systemd service must be disabled on RHEL 8.

DISA Rule

SV-230532r627750_rule

Vulnerability Number

V-230532

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

RHEL-08-040180

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the system to mask the debug-shell systemd service with the following command:

$ sudo systemctl mask debug-shell.service

Created symlink /etc/systemd/system/debug-shell.service -> /dev/null

Reload the daemon to take effect.

$ sudo systemctl daemon-reload

Check Contents

Verify RHEL 8 is configured to mask the debug-shell systemd service with the following command:

$ sudo systemctl status debug-shell.service

debug-shell.service
Loaded: masked (Reason: Unit debug-shell.service is masked.)
Active: inactive (dead)

If the "debug-shell.service" is loaded and not masked, this is a finding.

Vulnerability Number

V-230532

Documentable

False

Rule Version

RHEL-08-040180

Severity Override Guidance

Verify RHEL 8 is configured to mask the debug-shell systemd service with the following command:

$ sudo systemctl status debug-shell.service

debug-shell.service
Loaded: masked (Reason: Unit debug-shell.service is masked.)
Active: inactive (dead)

If the "debug-shell.service" is loaded and not masked, this is a finding.

Check Content Reference

M

Target Key

2921

Comments