Ir para o conteúdo

Classification of recommendations

This appendix gathers, for the guide as a whole, the recommendations that depart from a direct and unreserved application: those reserved for a support or project intervention, and those to be validated against the context.

Information

Any recommendation that does not appear in the table below is classified as recommended: applicable in most cases, with no reservation beyond the warnings already given in its own section.

Recommendations reserved or to be validated

The following recommendations must not be applied by default without an explicit validation step.

# Recommendation Classification Reason
R3 hidepid=2 option on /proc To be validated Compatibility with monitoring and with services reading /proc must be checked (a gid= exception is possible).
R8 Full locking of the root account (passwd -l) To be validated Rescue mode requires the root password; the emergency procedure (hypervisor console, vault) and support compatibility must be validated beforehand.
R9 sudoers restrictions (root target, explicit arguments) To be validated Depends on the chosen administration model (full sudo for a small team versus fine-grained delegation per command).
R9 sudo noexec and requiretty directives (not retained by default) To be validated (optional) noexec blocks the sub-processes of common commands; requiretty hinders automation without a terminal. To be reserved for targeted rules tested on a mock-up.
R9 Restriction of the /usr/bin/sudo binary to the administrator group (mode 4750) To be validated (optional) An atypical measure, liable to be reset during updates and dependent on maintenance accounts and support procedures.
R13 Network parameters "to be validated against the architecture" (ip_forward, rp_filter, arp_*) To be validated Possible impact in a multi-interface, cluster or asymmetric routing environment.
R15 Advanced boot and kernel hardening (IOMMU, kernel options) Reserved for support/project Possible impact on boot, performance and support; depends on the hardware and the hypervisor.
R16 Password on the GRUB boot loader Reserved for support/project Risk of losing access if forgotten or mistyped; makes recovery more complex.
R25 RequiredRSASize 3072 (OpenSSH 9.1+) To be validated Rejects any existing RSA key of a smaller size; requires a prior inventory of the keys used across the administration workstations.
R28 AllowTcpForwarding no To be validated To be checked against maintenance tools.
R29 Dedicated SSH port < 1024 (ANSSI nuance) To be validated The historical example (22123) is above the threshold recommended by the ANSSI; to be documented as a deliberate choice if kept.
R32 Preferring ECDSA over RSA To be validated Depends on the compatibility of the whole administration estate.
R40 IPv6 coverage of the filtering (ip6tables) To be validated Only needed if IPv6 has not been disabled (R14).
R73 ClamAV To be validated Relevance depends on the resources actually published (file transfer, SMB).
R78 Automatic password rotation after a recorded session To be validated Assumes rotation rights on the target accounts and tolerance from the applications; to be tested on a restricted scope.
R79 External database for CyberElements To be validated An architecture specific to each deployment; flows, accounts and encryption to be defined with Systancia.