TMAegisBeta
Weitere Regeln für linux

Linux distributions

TMA-RHEL10-5.1.6

Ensure sshd Ciphers are configured

MittelStufe 1Automatisiertlinux

Beschreibung

This variable limits the ciphers that SSH can use during communication. Notes: • Some organizations may have stricter requirements for approved ciphers. • Ensure that ciphers used are in compliance with site policy. • The only "strong" ciphers currently FIPS 140-3 compliant are: o aes256-gcm@openssh.com o aes128-gcm@openssh.com o aes256-ctr o aes128-ctr

So wird geprüft

Prüfmethode: Shell-Befehl

shell
alt0() { o=$(bash -c 'sshd -T | grep -Pi -- '"'"'^ciphers\h+\"?([^#\n\r]+,)?((3des|aes(128|192|256))- cbc)\b'"'"'' 2>/dev/null); [ -z "$o" ] || { echo "step1: $o" | head -c 300; return 1; }; }; if alt0; then echo compliant; fi
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Note: • First occurrence of an option takes precedence. • Though ciphers may be configured through the Ciphers option in the /etc/ssh/sshd_config file, it is recommended that the ciphers available to openSSH server are configured through system-wide-crypto-policy • If the recommendations in the subsection "Configure system wide crypto policy" have been followed, this Audit should be in a passing state. Please review that section before following this Remediation Procedure • By default, system-wide-crypto-policy is applied to the openSSH server. If the following defaults don't exist due to modifications or upgrade from a earlier release, the system-wide-crypto-policy may not be included by th…

Eigenschaften

Betriebssysteme
rhel-10
Tags
cis-convertedlinux
Referenz
CIS Red Hat Enterprise Linux 10 Benchmark v1.0.1 - 5.1.6

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target linux