STIGQter STIGQter: STIG Summary: Amazon Linux 2023 Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 01 Jul 2026:

Amazon Linux 2023 debug-shell systemd service must be disabled.

DISA Rule

SV-274173r1120507_rule

Vulnerability Number

V-274173

Group Title

SRG-OS-000324-GPOS-00125

Rule Version

AZLX-23-002555

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Amazon Linux 2023 to mask the debug-shell systemd service with the following command:

$ sudo systemctl disable --now debug-shell.service
$ sudo systemctl mask --now debug-shell.service

Check Contents

Verify Amazon Linux 2023 is configured to mask the debug-shell systemd service with the following command:

$ sudo systemctl status debug-shell.service
O 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-274173

Documentable

False

Rule Version

AZLX-23-002555

Severity Override Guidance

Verify Amazon Linux 2023 is configured to mask the debug-shell systemd service with the following command:

$ sudo systemctl status debug-shell.service
O 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

5700