SSH brute forceHackBlue

A spray and a brute force in one log

Two addresses failed logins on sso-gw in the same ten minutes. One hammered one account; the other tried one password on many. Tell them apart and count the accounts sprayed.

  • Terminal mission
  • Intermediate
  • 3 questions
  • 0 of 3 solved

Your goal

Your goalTell a password spray from a brute force in the same log and count the sprayed accounts.

A brute force tries many passwords against one account. A password spray tries one or two common passwords against many accounts, slowly, to stay under lockout thresholds.

Both show up as "Failed password for <user> from <ip>" in auth.log. In these lines the username is field 9 and the address is field 11.

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
IP
Internet Protocol address, the number that identifies a machine on a network

analyst@sso-gw

sso-gw · 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: 294 words, about 2 min. It gives away every answer, so try the steps first.