Failed, failed, failed, in
lastb shows failed logins and last shows sessions. Use both on hr-app-01 to find the account that was guessed, where the guesses came from, and how long the session lasted.
What you’re looking at
lastb shows failed logins and last shows sessions. Use both on hr-app-01 to find the account that was guessed, where the guesses came from, and how long the session lasted.
Your goal: Use failed and successful login records to find the guessed account and how long the intruder stayed.
- 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 you will meet
- IP
- Internet Protocol address, the number that identifies a machine on a network
Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.
Briefing
hr-app-01’s auth.log rotated before anyone looked, but the binary login records survived: /var/log/btmp for failures and /var/log/wtmp for sessions.
lastb reads failures, newest first. last reads sessions, also newest first, with the duration in brackets.
hr-app-01 · SSH brute force
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.
The whole walkthrough
Every step in order, written to be read aloud: 230 words, about 2 min. It gives away every answer, so try the steps first.