One SSH key too many
The access team keeps a list of approved SSH keys. Compare it with the authorized_keys files on gw-01 and find the key nobody approved.
- Terminal mission
- Beginner
- 3 questions
- 0 of 3 solved
Your goal
Your goalFind the SSH key nobody approved, whose account it unlocks, and when it was planted.
gw-01 is a jump host. Every key in an authorized_keys file should be on the approved list in /srv/access/approved_keys.txt, which the access team maintains.
You are on a forensic copy of the host as root, so every home directory is readable.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words to know
- SSH
- Secure Shell, the encrypted remote login used on Linux servers
gw-01-copy · Persistence hunting
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Persistence hunting
The whole walkthrough
Every step in order: 300 words, about 2 min. It gives away every answer, so try the steps first.