2022-12-20 22:25:54 -05:00
2022-12-20 22:15:44 -05:00
2022-12-20 22:15:44 -05:00
2022-12-20 22:15:44 -05:00
2022-12-20 22:25:54 -05:00
2022-12-20 22:25:54 -05:00

Docker SSH Authorized Keys Challenge

This is a simple challenge utilizing docker-compose to setup a ssh client/control environment where the controller is trying to connect into the client to dump a file.

Setup

Running docker-compose up -d --build will setup a default environment.

Users will be setup on the client using the teamX format. Initial user password can be obtained from the container logs of client. All "scoring" public/private keys will be stored under a local keys directory.

Goal

The goal is to give teams access to login to the client container and properly setup a provided public key. Once the key is properly setup a file will appear in the appropriate teams home folder. Since could take up to a minute to show up after completion.

For added complexity, the SSHD_CHALLENGE_DIR exists changing the default AuthorizedKeysFile within SSHD. This adds a further challenge since teams will need to checkout the configuration in /etc/ssh/sshd_config for the correct structure.

Description
No description provided
Readme 40 KiB
Languages
Shell 70.1%
Dockerfile 29.9%