Why would an auditor flag this file?
-rwsr-xr-x 1 root root 54096 /usr/local/bin/backup
- It runs with its owner's (root) rights
- Any user is able to overwrite it
- It is hidden from normal directory listings
- It can only be run by the root user
The s in the owner execute slot is the SUID bit, so anyone running it gets root's privileges. Custom SUID binaries widen the attack surface and should be reviewed.
Play Cybersecurity ▸