TMAegisBêta
Plus de règles pour f5-bigip

F5 BIG-IP

TMA-F5-BIGIP-4.6

Ensure to set SSH MAC algorithm to hmac-sha2-256

MoyenneNiveau 1Automatiséef5-bigip

Description

To set strong Hashing algorithm PASS requires the sys sshd include statement to contain a MACs line listing hmac-sha2-256. Audited against tmsh output with defaults shown: save the concatenated output of 'tmsh list auth password-policy all-properties', 'tmsh list auth source all-properties', 'tmsh list auth remote-user all-properties', 'tmsh list auth radius all-properties', 'tmsh list sys httpd all-properties', 'tmsh list sys sshd all-properties', 'tmsh list sys global-settings all-properties', 'tmsh list cli global-settings all-properties', 'tmsh list sys ntp', 'tmsh list sys snmp all-properties', 'tmsh list sys syslog' and 'tmsh list net self all-properties'. Patterns are scoped to the named top-level block.

Méthode de vérification

Méthode d'audit: Motif de configuration

Motif
(?ms)^sys sshd \{\n(?:[ \t]+[^\n]*\n)*?[ \t]+include \"[^\"]*\bMACs [^\"\n]*\bhmac-sha2-256\b

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

tmsh modify sys sshd include "MACs hmac-sha2-256" (merge with any existing Ciphers/KexAlgorithms lines in the same include string) tmsh save sys config # CIS guidance: 1-Log in to tmsh by typing the following command:tmsh 2-To modify the sshd configuration, type the following command to start the vi editor:edit /sys sshd all-properties 3-To change the list of ciphers, you can navigate to the line that starts with the include statement, and use the keyword MACs ,and adding the list of desired MACs to the 2-line include statement: include "Ciphers aes128-cbc,aes128-ctr,aes192-ctr,aes256- ctr,arcfour128,arcfour256,arcfour MACs hmac-sha2-256"

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
f5-bigipcrypto
Référence
CIS F5 Networks Benchmark v1.0.0 - 4.6 Ensure to set SSH MAC algorithm to hmac-sha2-256

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target f5-bigip