Linux log triageHackBlue

Who was really root: auditd and the login UID

Every command ran as uid 0, but auditd keeps the login UID (auid) of whoever started the session. Read the EXECVE records, decode a hex-encoded argument, and name the person.

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

Your goal

Your goalUse auditd’s login ID to name the person behind commands that all ran as root.

Two people have sudo on app-09. auditd is configured to record every command run as root (key root-exec). Someone archived and uploaded something last night.

auid is set at login and survives sudo and su, so it names the human behind uid=0. auditd writes an argument as hex when it contains a space or a special character.

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
UID
user ID number
SSH
Secure Shell, the encrypted remote login used on Linux servers

analyst@app-09

app-09 · 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.