Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Implement CIS Benchmarks for OpenSSH (section 5.2) the Ubuntu guide. #277

Description

@vpetersson

The CIS Benchmarks are the gold standard for security. The PDF is available in the link above. This is about implementing the following checks:

  • 5.2 SSH Server Configuration.............................................................................................................272
  • 5.2.1 Ensure permissions on /etc/ssh/sshd_config are configured (Scored)............272
  • 5.2.2 Ensure SSH Protocol is set to 2 (Scored) .......................................................................274
  • 5.2.3 Ensure SSH LogLevel is set to INFO (Scored) ..............................................................275
  • 5.2.4 Ensure SSH X11 forwarding is disabled (Scored) ......................................................276
  • 5.2.5 Ensure SSH MaxAuthTries is set to 4 or less (Scored) .............................................277
  • 5.2.6 Ensure SSH IgnoreRhosts is enabled (Scored)............................................................278
  • 5.2.7 Ensure SSH HostbasedAuthentication is disabled (Scored) ..................................279
  • 5.2.8 Ensure SSH root login is disabled (Scored) ..................................................................280
  • 5.2.9 Ensure SSH PermitEmptyPasswords is disabled (Scored).....................................281
  • 5.2.10 Ensure SSH PermitUserEnvironment is disabled (Scored) .................................282
  • 5.2.11 Ensure only approved MAC algorithms are used (Scored)..................................283
  • 5.2.12 Ensure SSH Idle Timeout Interval is configured (Scored) ...................................285
  • 5.2.13 Ensure SSH LoginGraceTime is set to one minute or less (Scored)..................287
  • 5.2.14 Ensure SSH access is limited (Scored) .........................................................................288
  • 5.2.15 Ensure SSH warning banner is configured (Scored) ..............................................290

Some of these checks we already have implemented

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions