← Learn
Dangerous
mv /etc/passwd /tmp/passwd.bak

linux · bash · Intermediate

Moves the account database out of place, which breaks every lookup of usernames and user ids on the system. Logins fail, services that resolve users stop working, and the file is now readable in a world-writable directory.

Signals to notice

  • Relocates a critical system file
  • Breaks authentication
  • Copy left in a world-writable directory

Think you can spot these under time pressure?

Start Training

More Credential Access