Linux log triageHackBlue

The hour missing from auth.log

auth.log on files-01 jumps from 01:58 to 03:10. The journal and the login records were not touched. Find the gap, the session inside it, and how lines were removed.

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

Your goal

Your goalFind the hour cut out of auth.log and recover what happened inside it from other logs.

During an unrelated review you notice that /var/log/auth.log on files-01 has no entries between roughly 02:00 and 03:00, a busy hour for backups.

journald keeps its own copy of sshd messages, and wtmp (read with last) records logins separately. A responder also collected root’s shell history into /cases/ir-2291.

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

analyst@files-01

files-01 · Linux log triage

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.