Privilege auditHackBlue

Audit SUID binaries against a baseline

A SUID binary runs as its owner, usually root. List every SUID file on the host, compare with the build baseline, and explain why each extra one is dangerous.

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

Your goal

Your goalFind the SUID (set-user-ID) programs that are not in the baseline and why each is dangerous.

This server was built from a hardened image whose SUID list is saved in ~/suid-baseline.txt. A quarterly review asks you to confirm nothing has been added since.

find / -perm -4000 -type f lists files with the set-user-ID bit. Errors from unreadable directories are noise, so send them to /dev/null with 2>/dev/null.

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
SUID
set-user-ID, a file permission that runs a program as its owner

analyst@app-07

app-07 · Privilege audit

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